Commit Graph

61 Commits

Author SHA1 Message Date
Tomasz Kojm
6a4dd9dc6b clamd, clamscan, libclamav: drop support for MailFollowURLs (bb#1677) 2009-08-06 22:29:13 +02:00
Tomasz Kojm
2086dc5cab clamd, clamscan: add support for CrossFilesystems/--cross-fs (bb#1607) 2009-08-05 16:27:48 +02:00
Tomasz Kojm
19c788af04 clamscan, clamd, libclamav: load cvd files on-the-fly (without unpacking them to /tmp) by default 2009-07-28 20:36:38 +02:00
Tomasz Kojm
09dc3ecb56 clamscan: honour value of 0 in --max-* options (bb#1650) 2009-07-15 19:25:41 +02:00
Tomasz Kojm
c2b6681b79 clamscan, clamdscan: add support for --file-list/-f
git-svn: trunk@5069
2009-05-21 13:43:05 +00:00
Tomasz Kojm
655bc62709 clamscan/manager.c: check rlim_cur instead of rlim_max
git-svn: trunk@5006
2009-04-02 10:46:32 +00:00
Tomasz Kojm
8daa97dec4 clamscan/manager.c: freshdbdir() was never called (bb#1511)
git-svn: trunk@5004
2009-04-01 20:03:50 +00:00
Tomasz Kojm
2accc66fef libclamav, clamd, clamscan: replace cl_engine_(set|get) with cl_engine_set_(num|str) and cl_engine_get_(num|str)
git-svn: trunk@4933
2009-03-12 15:21:36 +00:00
aCaB
5da3127b5e extend clamscan summary (bb#1206)
git-svn: trunk@4910
2009-03-07 18:16:20 +00:00
Tomasz Kojm
52b40b1ef5 clamscan/manager.c: make error reporting compatible with clamd and previous versions of clamscan
git-svn: trunk@4883
2009-03-02 16:39:25 +00:00
Tomasz Kojm
086eab5c26 update old copyright headers
git-svn: trunk@4775
2009-02-13 10:55:45 +00:00
aCaB
7609af89f2 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@4756
2009-02-12 17:11:27 +00:00
aCaB
ee6702abf5 unify actions
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4751 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-12 15:14:12 +00:00
Tomasz Kojm
c783516d30 clamscan/manager.c: fix use of uninitialized value in exclude-pua (bb#1373)
git-svn: trunk@4651
2009-01-27 10:23:12 +00:00
aCaB
59c2353664 shared/optparser.c: improve cmdline args handling
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4627 77e5149b-7576-45b1-b177-96237e5ba77b
2009-01-20 17:46:58 +00:00
Tomasz Kojm
19c17946cc shared/optparser.c: improve cmdline args handling
git-svn: trunk@4625
2009-01-19 19:41:27 +00:00
Tomasz Kojm
269d520dfb shared/optparser.c, clamscan: use the new option parser
git-svn: trunk@4580
2008-12-30 10:33:43 +00:00
Tomasz Kojm
33068e0973 libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead
git-svn: trunk@4416
2008-11-14 22:23:39 +00:00
Tomasz Kojm
ab0d2f054d libclamav, clamd, clamscan: use cl_engine_set() to control AC settings
git-svn: trunk@4404
2008-11-13 19:06:42 +00:00
Tomasz Kojm
b8fe70b3a3 libclamav: drop options parameter in cl_engine_new(); replace cl_engine_dup() with cl_engine_addref()
git-svn: trunk@4398
2008-11-13 15:55:35 +00:00
Tomasz Kojm
370892d044 clamscan, clamd: use the new API; drop the hardcoded default limits and use the ones set in cl_engine_new()
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4384 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-12 16:19:43 +00:00
Tomasz Kojm
1464e7a169 clamscan/manager.c: fix double-slash when scanning the root dir (bb#1263)
git-svn: trunk@4342
2008-11-05 19:50:28 +00:00
Tomasz Kojm
3f9918e1de libclamav/dlp.c: limit number of false positive alerts
clamd, clamscan: don't scan for stripped SSNs by default


git-svn: trunk@4153
2008-08-29 23:33:12 +00:00
Tomasz Kojm
57e1a05eda credit card detection fixes
git-svn: trunk@4150
2008-08-29 10:32:33 +00:00
Tomasz Kojm
6670d61d4b drop support for Cygwin (due to broken ClamAV builds)
git-svn: trunk@4143
2008-08-25 21:59:33 +00:00
Török Edvin
5cd3f734a9 add lots of warnings flags to 'make distcheck',
and turn some warnings into errors (bb #1092)

git-svn: trunk@4129
2008-08-21 20:21:43 +00:00
aCaB
05f92e6455 add proto for cli_initengine
git-svn: trunk@4107
2008-08-12 11:26:18 +00:00
Tomasz Kojm
b023c36d4b libclamav: add support for loading specific PUA categories (bb#939)
clamd: new options ExcludePUA and IncludePUA
clamscan: new switches --exclude-pua and --include-pua



git-svn: trunk@4046
2008-07-31 16:26:50 +00:00
Török Edvin
7f0d1148d6 clamd, clamscan, libclamav: new option HeuristicScanPrecedence (bb #649)
docs/: update docs for HeuristicScanPrecedence and ScanPartialMessages
unit_tests/: add test for HeuristicScanPrecedence


git-svn: trunk@4037
2008-07-31 10:51:46 +00:00
Tomasz Kojm
9a03413e9b clamscan, clamav-milter: catch and ignore SIGXFSZ; display warning if system limits are too restrictive (bb#994)
git-svn: trunk@4033
2008-07-30 15:20:30 +00:00
Tomasz Kojm
ec6429ab20 drop support for external unpackers (bb#1052)
git-svn: trunk@3888
2008-06-10 16:59:19 +00:00
Tomasz Kojm
72ce4b70eb improve handling of PDF, CAB, RTF, OLE2 and HTML files (sync with branch/0.93)
git-svn: trunk@3862
2008-05-27 16:30:47 +00:00
Tomasz Kojm
5fe6e72b1a clamscan: new switches --structured-ssn-format, --structured-ssn-count, --structured-cc-count (bb#959)
git-svn: trunk@3841
2008-05-07 10:51:23 +00:00
Tomasz Kojm
4b668b724f print information about clean files when the RAR code is not compiled-in (bb#999)
git-svn: trunk@3813
2008-04-28 12:58:13 +00:00
Tomasz Kojm
26fbf6bddf DLP updates
git-svn: trunk@3798
2008-04-18 17:14:20 +00:00
Tomasz Kojm
a6e388001a integrate the DLP code from Marty Roesch
git-svn: trunk@3795
2008-04-16 18:47:42 +00:00
Tomasz Kojm
6ae82a4893 honour --unrar when libclamunrar is not compiled in
git-svn: trunk@3685
2008-02-28 20:06:54 +00:00
aCaB
381391504a limit set typoed in clamscan
git-svn: trunk@3634
2008-02-14 18:53:01 +00:00
aCaB
a5d91be788 limits: defaults and conf files
git-svn: trunk@3624
2008-02-13 02:06:19 +00:00
aCaB
281c7642fb config
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3592 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-07 02:00:21 +00:00
aCaB
d91ab809a2 initial rewrite of limits
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3591 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-06 21:19:10 +00:00
Tomasz Kojm
5a3aeff49f fix handling of special characters in mprintf/logg (bb#360)
git-svn: trunk@3533
2008-01-23 16:38:36 +00:00
Török Edvin
2fe76d5051 merged from not_for_0.92_tempbranch.
remove "all domain scan" feature from phishcheck
	(--no-phishing-restrictedscan). Nobody is using it.
	Don't care why an url is clean, just state it is clean.
	Various cleanups resulting from this.
	Prepare to introduce selective turn on of sub-features.


git-svn: trunk@3417
2007-12-14 11:44:56 +00:00
aCaB
813864ce6b (hopefully) all the stuff lost
git-svn-id: file:///var/lib/svn/clamav-devel/branches/not_for_0.92_tempbranch@3388 77e5149b-7576-45b1-b177-96237e5ba77b
2007-12-10 22:17:06 +00:00
Török Edvin
88c90922be revert change from trunk and move to branch.
git-svn: trunk@3370
2007-11-14 21:33:07 +00:00
Török Edvin
a4e6ac4d78 remove "all domain scan" feature from phishcheck (--no-phishing-restrictedscan). Nobody is using it.
Don't care why an url is clean, just state it is clean.
Various cleanups resulting from this.
Prepare to introduce selective turn on of sub-features.


git-svn: trunk@3369
2007-11-14 20:53:42 +00:00
Tomasz Kojm
3d53538b51 add cli_ac_setdepth(), --dev-ac-depth, DevACOnly, DevACDepth
git-svn: trunk@3365
2007-11-08 15:17:08 +00:00
Tomasz Kojm
6eef8704ef check both st_dev and st_ino in move_infected()
git-svn: trunk@3280
2007-10-08 16:11:29 +00:00
Tomasz Kojm
38fe8af4ff better error checking/reporting (bb#657)
git-svn: trunk@3273
2007-10-05 23:48:44 +00:00
Tomasz Kojm
09eab32afc move hardware acceleration code to contrib/hwaccel/hwaccel.patch
git-svn: trunk@3209
2007-09-07 14:22:10 +00:00