February 18, 2009
View 5f6edb2

ReadTimeout handling, and introduce CommandReadTimeout.

Török Edvin authored on 2009/02/18 00:59:21
February 17, 2009
View 0378a9a

introduce timeouts for send(), this is needed for IDSESSION to work reliably, since a buggy client implementation may get stuck in send(), and then clamd gets stuck in send() -> deadlock. To avoid this we need nonblocking sockets, and (low) timeouts on send. Add more tests for clamd protocol, including a stress test for IDSESSION.

Török Edvin authored on 2009/02/17 03:27:08
February 13, 2009
View 086eab5

update old copyright headers

Tomasz Kojm authored on 2009/02/13 19:55:45
View 949c6fe

merge from clamd-proto branch: handle multiple %v parameters introduce poll_fds that also does the read into a buffer introduce thrmgr_group* commands for keeping track of groups of commands (multiscan, IDSESSION) introduce 2 queues in thrmgr, multiscan queues get lower priority. Commands are processed from both queues in a 4:1 ratio to avoid starvation. unify reply code: conn_reply* unify scanner code into scan_callback that is called from cli_ftw multiscan doesn't need stat() now if readdir() provides dt_type redesign clamd main loop: there is now an accept thread, and a recv()/dispatch thread, +MaxThreads worker (scanner) threads. introduce limiting on commands when worker threads are contended. introduce IDSESSION, a replacement for the old SESSION command, that allows asyncronous (scan) commands and scan replies introduce INSTREAM that allows sending the data to scan on same connection (vs STREAM that requires another port) introduce zCOMMANDS

Török Edvin authored on 2009/02/13 01:51:09
December 18, 2008
View 064b4a0

initial version of the unified option parser (bb#1215)

Tomasz Kojm authored on 2008/12/18 06:42:54
November 15, 2008
View 33068e0

libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead

Tomasz Kojm authored on 2008/11/15 07:23:39
November 13, 2008
View 370892d

clamscan, clamd: use the new API; drop the hardcoded default limits and use the ones set in cl_engine_new()

Tomasz Kojm authored on 2008/11/13 01:19:43
November 4, 2008
View aa22174

new command STATS new top-like tool using ncurses: clamdtop

Török Edvin authored on 2008/11/04 04:27:20
October 24, 2008
View 7174d94

fix leak on rare error path (bb #1254)

Török Edvin authored on 2008/10/24 04:35:46
August 26, 2008
View 6670d61

drop support for Cygwin (due to broken ClamAV builds)

Tomasz Kojm authored on 2008/08/26 06:59:33
July 19, 2008
View f45d19a

clamd: add support for ExcludePath (bb#675)

Tomasz Kojm authored on 2008/07/19 01:31:02
June 3, 2008
View 47b6885

clamd/scanner.c: log IP addresses of remote clients (bb#966)

Tomasz Kojm authored on 2008/06/03 02:17:16
May 30, 2008
View a9d3aa1

libclamunrar_iface, clamd, freshclam: merge win32 patches from NJH (bb#802)

Tomasz Kojm authored on 2008/05/30 19:27:24
May 10, 2008
View 725a296

build system: add configure checks for FD passing m4/fdpassing.m4: move all FD passing checks here clamd/session.[ch], scanner.[ch]: contrib/clamd_fdscan: add rfc2292/bsd4.4 style file descriptor passing support this code is from Marc Balmer <marc*msys.ch>, with some portability fixes applied

Török Edvin authored on 2008/05/10 06:12:28
February 13, 2008
View d6df9ff

use pthread_cond_* instead of usleep() in MULTISCAN (bb #758) enable entconv by default others.c: fix compiler warning regex_list.c: remove unused code, because a better solution is scheduled for 0.94 (bb #725)

Török Edvin authored on 2008/02/13 19:57:33