Commit Graph

266 Commits (46450085a96675c02b14f33551e7af6457f186ca)

Author SHA1 Message Date
Török Edvin a414efbf5e revert previous commit, it is the wrong fix. 17 years ago
Török Edvin a1f0c01189 Fix wrong use of strerror_r: it doesn't have to use/fill the buffer, 17 years ago
Török Edvin 4d26118b95 In single INSTREAM mode, remove FD from polled set (BB #1410) 17 years ago
Török Edvin b82eea8de0 signals may not wake a poll(), so make sure thread wakes up (BB #1400). 17 years ago
Török Edvin 537292a773 Reject new commands sent as new-style commands to avoid confusion. 17 years ago
Török Edvin e114b109c4 fix use of uninitialized value. 17 years ago
Török Edvin ef49ed625f fix compiler warning 17 years ago
Török Edvin 625377ab50 add missing parameter 17 years ago
Török Edvin fb6fe4f5d1 Introduce '$' in logg, it is active when logg_verbose=2, i.e. when Debug yes. 17 years ago
Török Edvin c5355aedbd make sending ancillary data at wrong time a protocol error. 17 years ago
Török Edvin af309677da sendtimeout 17 years ago
Török Edvin 5f6edb222c ReadTimeout handling, and introduce CommandReadTimeout. 17 years ago
Török Edvin 456e31a3cb fix typo. 17 years ago
Török Edvin b25fdae488 fix valgrind warning about locking order 17 years ago
Török Edvin 0378a9ab77 introduce timeouts for send(), this is needed for IDSESSION to work reliably, 17 years ago
Török Edvin 4e24a36173 add more unit tests. 17 years ago
Török Edvin b3b8212f7f make clamdtop use IDSESSION, and enable VERSION/STATS inside IDSESSION. 17 years ago
Török Edvin 80681b50c7 Initialize mutex. 17 years ago
Török Edvin 36784cad4b fix nFILDES command 17 years ago
Török Edvin bfd89d7c84 fix Solaris build 17 years ago
Tomasz Kojm 086eab5c26 update old copyright headers 17 years ago
Török Edvin 034994bd9c fdpassing is now in others.c instead of session.c, move 17 years ago
Török Edvin 9ac109f338 add missing include 17 years ago
Török Edvin 4fd2ccf0ea fix distcheck 17 years ago
Török Edvin 7a997ac950 move TCP socket creation to shared/ 17 years ago
Török Edvin 6e3256f492 Unify error paths. 17 years ago
Török Edvin 4cc952e322 add check for msg.controllen, apparently Mac OS X sets it to 0, 17 years ago
Török Edvin 949c6fe54f merge from clamd-proto branch: 17 years ago
Török Edvin 004f8386ce output "stream" instead of "fd[]" for INSTREAM. 17 years ago
Török Edvin 9f0a28adcb actually use the flags we calculated! 17 years ago
Török Edvin 0115f12ffc fix some more warnings 17 years ago
Török Edvin 10ab5e32f4 fix some compiler warnings 17 years ago
Török Edvin 9ef7e0bdae fix memory leaks 17 years ago
Török Edvin d0f6ecae1c Never close a file descriptor that is monitored using 17 years ago
Török Edvin f243f00fc5 fix some races reported by valgrind 17 years ago
Török Edvin ae083d79ff downgrade message 17 years ago
Török Edvin bac978a8f8 move the break to the proper place, so we don't parse same command twice! 17 years ago
Török Edvin 730d97fb2b inv cmd 17 years ago
Török Edvin 0c8c3a5463 fix use-after-free 17 years ago
Török Edvin 699bfc282c dumpname(filename) is going to be dispatched, don't allow a later error path to 17 years ago
Török Edvin 91cafbe095 break loop 17 years ago
Török Edvin 3f26090eb7 clamdscan doesn't give us any deadbeef any more, so don't look for it. 17 years ago
Tomasz Kojm 00eab4092f clamd/others.c: handle multiple %v parameters 17 years ago
Török Edvin c73edc125e Reject invalid minport/maxport in clamd.conf, instead of silently replacing them 17 years ago
aCaB 544e7fd814 allow clamd to be stopped and backgrounded 17 years ago
Török Edvin 30e36bfb5c fix build 17 years ago
Török Edvin 4f266591a0 fix INSTREAM when not in IDSESSION mode 17 years ago
Török Edvin e640277428 fix INSTREAM/IDSESSION. 17 years ago
Török Edvin 467ac26c95 fix INSTREAM end handling 17 years ago
Török Edvin 0cac67ab4c fix use-after-free 17 years ago