May 6, 2009
View 7660b7c

Fix 60 byte/STREAM command memory leak on FreeBSD. (bb #1567, thanks to Jay Deiman <jay*splitstreams.com> and Chris Mikkelson <cmikk*qwest.net> for tracking down the leak!).

Török Edvin authored on 2009/05/06 16:56:28
April 23, 2009
View 75ce59c

errno is not thread-safe on AIX by default, ask for thread-safe version. (bb #1480) Default stack size on AIX is too small, define BIGSTACK by default. (bb #1481).

Török Edvin authored on 2009/04/23 22:55:22
April 2, 2009
View 4b93f2b

check for mallinfo availability (bb #1445).

Török Edvin authored on 2009/04/02 02:51:44
View 9390411

Automatically fix MaxQueue settings (bb #1521). Also use rlim_cur instead of rlim_max, because that is what the kernel enforces.

Török Edvin authored on 2009/04/02 02:19:06
March 16, 2009
View 59deef7

print N/A if libc memory usage is not available (bb #1445).

Török Edvin authored on 2009/03/16 21:29:25
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