Commit graph

17 commits

Author SHA1 Message Date
Shawn Webb
e07b295d95 Remove existing stats gathering framework from clamd
Conflicts:
	clamd/clamd.c
2014-01-28 10:46:47 -05:00
Tomasz Kojm
de1271a10c clamd: initial support for on-access scanner using fanotify (bb#2236)
only works in notification mode (no access blocking) right now
2011-11-16 16:00:13 +01:00
Tomasz Kojm
9b7a8c3f4b remove some dazuko/clamuko code - to be replaced with fanotify 2011-11-04 18:32:50 +01:00
Tomasz Kojm
bc3b9efc5b clamd: add new option ClamukoExcludeUID (bb#2260) 2011-02-28 21:49:11 +01:00
Tomasz Kojm
49f8de2207 clamd: add new commands DETSTATS and DETSTATSCLEAR (part of bb#2312) 2010-11-03 13:41:06 +01:00
Török Edvin
e4a0f2c94f fix compiler warnings (bb #1872, bb #1934, bb #1935) 2010-04-13 16:19:47 +03:00
aCaB
288b945f57 clamd-win32 - where is my mind? 2010-01-30 03:17:52 +01:00
aCaB
5eca45b5e7 clamd-win32 - WIP#3 2010-01-29 18:57:50 +01:00
Török Edvin
7660b7cb35 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!).

git-svn: trunk@5061
2009-05-06 07:56:28 +00:00
Török Edvin
5f6edb222c ReadTimeout handling, and introduce CommandReadTimeout.
git-svn: trunk@4803
2009-02-17 15:59:21 +00:00
Török Edvin
80681b50c7 Initialize mutex.
Fix poll_fd to properly lock/unlock mutex.
This fixes the STREAM command.

git-svn: trunk@4787
2009-02-14 09:14:04 +00:00
Tomasz Kojm
086eab5c26 update old copyright headers
git-svn: trunk@4775
2009-02-13 10:55:45 +00:00
Török Edvin
949c6fe54f 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

git-svn: trunk@4755
2009-02-12 16:51:09 +00:00
Tomasz Kojm
064b4a0c99 initial version of the unified option parser (bb#1215)
git-svn: trunk@4565
2008-12-17 21:42:54 +00:00
Tomasz Kojm
bb34cb31fe update some copyrights and stick to GPL v2
git-svn: trunk@3003
2007-03-31 20:31:04 +00:00
aCaB
f22f13d980 partial fix for signal immunity in clamd
more to come...
(closes bb#320)



git-svn: trunk@2836
2007-02-22 11:52:48 +00:00
Sven Strickroth
a99111f050 remove old CVS-stuff and make the repository look more like SVN
git-svn: trunk@2755
2007-02-17 19:02:20 +00:00
Renamed from clamav-devel/clamd/others.h (Browse further)