Commit Graph

148 Commits (bfd89d7c8400af2dd410ccf14490d31e73597bc3)

Author SHA1 Message Date
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
Török Edvin 76f21b4a30 introduce RR of connections. 17 years ago
Török Edvin fdbaba8d49 always allocate a jobgroup, that way on shutdown we are sure 17 years ago
Török Edvin e066e3cb47 unify thresholds 17 years ago
Török Edvin e001f2838e Use 2 queues: one for single, one for bulk messages. 17 years ago
Török Edvin 4cc08c8c1c init chunksize 17 years ago
Török Edvin 4ca3fc953f close FD when we refuse to process command. 17 years ago
Török Edvin fd468937fc keep MODE_WAITREPLY in select still, so if garbage is sent we can close. 17 years ago
Török Edvin 07ac8bb23a also remove socket from tracked sockets after switching mode to WAITREPLY. 17 years ago
Török Edvin 869d03832d add proto debug messages to LogVerbose temporarely 17 years ago
Török Edvin 33019f0a18 properly initalize fd_buf slot, even when reusing slot. 17 years ago
Török Edvin 8f74b8e4ee handle multiple commands and ancillary data in one packet 17 years ago
Török Edvin f022339bfc initialize all fields 17 years ago
Török Edvin 8eac8d3e88 fix FILDES infloop 17 years ago
Török Edvin 060c6715bb introduce MODE_WAITREPLY. 17 years ago
Török Edvin 8d66a87ed4 really fix multiscan 17 years ago
Török Edvin 4c59bda1ef symlink flags for cli_ftw 17 years ago
Török Edvin 2ea8946280 don't execute commands if client disconnected. 17 years ago
Török Edvin ef4ed2e180 preliminary INSTREAM support. 17 years ago
Török Edvin 428efe72d4 close connection when we see invalid command in IDSESSIOn 17 years ago