February 25, 2009
View 14896ad

force alignment of ancillary data buffer (bb #1425).

Török Edvin authored on 2009/02/25 05:18:53
February 19, 2009
View a414efb

revert previous commit, it is the wrong fix.

Török Edvin authored on 2009/02/19 04:11:21
View a1f0c01

Fix wrong use of strerror_r: it doesn't have to use/fill the buffer, it can return a pointer to a static location, as described in the manpage. This can happen on a Linux system with a foreign locale, where the LANG=C messages are returned this way. (BB #1403)

Török Edvin authored on 2009/02/19 04:08:15
February 18, 2009
View e114b10

fix use of uninitialized value. add test for STREAM. fix missing closing pragmas.

Török Edvin authored on 2009/02/18 02:35:31
View ef49ed6

fix compiler warning

Török Edvin authored on 2009/02/18 01:05:49
View 625377a

add missing parameter

Török Edvin authored on 2009/02/18 01:02:26
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
View 5f6edb2

ReadTimeout handling, and introduce CommandReadTimeout.

Török Edvin authored on 2009/02/18 00:59:21
February 14, 2009
View 80681b5

Initialize mutex. Fix poll_fd to properly lock/unlock mutex. This fixes the STREAM command.

Török Edvin authored on 2009/02/14 18:14:04
February 13, 2009
View bfd89d7

fix Solaris build

Török Edvin authored on 2009/02/13 20:05:14
View 086eab5

update old copyright headers

Tomasz Kojm authored on 2009/02/13 19:55:45
View 034994b

fdpassing is now in others.c instead of session.c, move the defines.

Török Edvin authored on 2009/02/13 17:41:59
View 4cc952e

add check for msg.controllen, apparently Mac OS X sets it to 0, but CMSG_FIRSTHDR is not NULL!

Török Edvin authored on 2009/02/13 02:47:36
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