February 18, 2009
View fb6fe4f

Introduce '$' in logg, it is active when logg_verbose=2, i.e. when Debug yes. Fix leak reported by valgrind.

Török Edvin authored on 2009/02/18 00:59:36
February 17, 2009
View b25fdae

fix valgrind warning about locking order

Török Edvin authored on 2009/02/17 03:27:13
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
January 27, 2009
View 47d40fe

libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)

Tomasz Kojm authored on 2009/01/27 04:47:02
November 13, 2008
View 15adbc8

update unit tests to new API. Initialization order changed, make sure stats_tls_key is initialized.

Török Edvin authored on 2008/11/13 03:02:33
November 8, 2008
View 08402af

fix more compiler warnings (bb #273)

Török Edvin authored on 2008/11/08 03:49:47
November 7, 2008
View 5a1034b

fix more compiler warnings (bb #273).

Török Edvin authored on 2008/11/07 07:49:53
November 6, 2008
View b9b4778

fix compiler warnings, more to come (bb #273)

Török Edvin authored on 2008/11/06 23:27:43
View deb3031

mempool statistics support

Török Edvin authored on 2008/11/06 23:27:27
November 4, 2008
View 764f76c

* clamd/thrmgr.c (thrmgr_printstats, IDLE_TASK): add comments * contrib/clamdtop/TODO: more TODO items

Török Edvin authored on 2008/11/04 18:13:24
View 64cb380

fix whitespace

Török Edvin authored on 2008/11/04 18:13:18
View 6bdb35e

use mdprintf instead of fdopen on socket (bb #1270) (thanks to Gianluigi Tiesi <sherpya*netfarm.it>)

Török Edvin authored on 2008/11/04 17:58:44
View aa22174

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

Török Edvin authored on 2008/11/04 04:27:20