Commit Graph

70 Commits

Author SHA1 Message Date
Tomasz Kojm
e863785852 enable ScanPDF by default (bb#1179)
git-svn: trunk@4189
2008-09-18 09:45:47 +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
7959343dc7 allow make distcheck to succeed (bb #1142)
fix some more warnings
  filter -Werror in clamav-milter.c

git-svn: trunk@4141
2008-08-25 14:18:48 +00:00
Tomasz Kojm
04be06be87 shared/misc.c: fix double "-exp"
git-svn: trunk@4133
2008-08-23 20:24:04 +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
Tomasz Kojm
d706617ce5 shared/tar.c: fix invalid close on error path - bb#1141
git-svn: trunk@4125
2008-08-21 11:29:57 +00:00
Török Edvin
add738d28c portability fixes
if there is a version.h.static use that instead of output from svnversion
use get_version(), tools outside libclamav shouldn't rely on libclamav version
exception: clamconf itself needs both, and the milter shows both

git-svn: trunk@4076
2008-08-04 10:38:24 +00:00
Török Edvin
04f9bedf4b use SVN revision in version info
TODO: replace every remaining use of VERSION with cl_retver()

git-svn: trunk@4070
2008-08-03 21:52:11 +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
Török Edvin
4270f93bcc (bb #913, #916)
* fix scan of partial messages
* allow for tempfiles to be cleaned up based on age
* new clamd.conf option ScanPartialMessages
* sample cleanup script
* clamd/thrmgr.c: fix item_count


git-svn: trunk@4031
2008-07-30 13:54:34 +00:00
Tomasz Kojm
0129373ed0 add REG_NOSUB
git-svn: trunk@3976
2008-07-18 18:48:10 +00:00
Tomasz Kojm
f45d19ac4b clamd: add support for ExcludePath (bb#675)
git-svn: trunk@3971
2008-07-18 16:31:02 +00:00
Tomasz Kojm
32c0c32eee handle memory errors in OPT_COMPSIZE
git-svn: trunk@3889
2008-06-12 20:40:45 +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
Török Edvin
808c3684ab avoid mixing declaration and code. Thanks Nigel!
git-svn: trunk@3834
2008-05-04 17:28:15 +00:00
Török Edvin
a609276cb3 prevent uninitialized use of hostent structure (bb #1003).
git-svn: trunk@3830
2008-05-02 18:09:16 +00:00
Tomasz Kojm
26fbf6bddf DLP updates
git-svn: trunk@3798
2008-04-18 17:14:20 +00:00
Tomasz Kojm
e48e62017a freshdbdir() fixes
git-svn: trunk@3656
2008-02-19 14:37:04 +00:00
aCaB
a5d91be788 limits: defaults and conf files
git-svn: trunk@3624
2008-02-13 02:06:19 +00:00
aCaB
e7a322eae4 newlimits merge
git-svn: trunk@3614
2008-02-11 17:38:21 +00:00
Tomasz Kojm
c91956eace fix return value of daemonize() under Windows&OS/2 (thx NJH)
git-svn: trunk@3606
2008-02-11 10:27:51 +00:00
aCaB
2455584143 sync to trunk
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-08 17:50:44 +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
Török Edvin
9e751804a2 introduce cli_ctime() that uses ctime_r() when
available, and falls back to locking with a mutex around
		ctime(). (ensures we are using the same mutex always).
use cli_ctime() instead of the thread-unsafe ctime().
		This fixes stability problems.


git-svn: trunk@3578
2008-02-03 19:23:20 +00:00
Tomasz Kojm
1cdb6cfbac s/HAVE_GMP/HAVE_LIBGMP
git-svn: trunk@3567
2008-01-31 12:16:31 +00:00
Tomasz Kojm
a3fe2c5ba1 make the parser more sensitive to syntax errors (bb#238)
git-svn: trunk@3561
2008-01-30 20:04:02 +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
Tomasz Kojm
bcbe6ad713 reduce the number of error messages (bb#478)
git-svn: trunk@3530
2008-01-23 12:12:25 +00:00
Tomasz Kojm
587d344b1f add error reporting to daemonize() (bb#729)
git-svn: trunk@3526
2008-01-22 17:47:15 +00:00
Tomasz Kojm
0aa3ba0660 respect custom dbdir settings in print_version() (bb#699)
git-svn: trunk@3521
2008-01-22 10:42:30 +00:00
Tomasz Kojm
206865af0a don't pass --rsrc flag to ditto (bb#380)
git-svn: trunk@3494
2008-01-10 18:01:16 +00:00
Tomasz Kojm
2a36337713 remove dependendcy on libclamav (bb#750), patch from Edwin
git-svn: trunk@3492
2008-01-10 13:57:05 +00:00
Tomasz Kojm
68a364d4e2 fix error path leak
git-svn: trunk@3487
2008-01-09 11:17:17 +00:00
Tomasz Kojm
cb9d09c2a3 add support for .cld files (bb#745)
git-svn: trunk@3480
2008-01-03 12:10:53 +00:00
Tomasz Kojm
d8b95725a1 new option CompressLocalDatabase
git-svn: trunk@3455
2007-12-22 21:30:38 +00:00
Tomasz Kojm
9d193ff26c add support for .cld containers
git-svn: trunk@3444
2007-12-19 22:06:32 +00:00
Tomasz Kojm
07e7e14562 minimalistic tar archiver for sigtool and freshclam
git-svn: trunk@3443
2007-12-19 16:01:11 +00:00
Török Edvin
dfc10927e9 pass mode to open with O_CREAT.
Avoids build failure with -D_FORTIFY_SOURCE=2 on gcc4.3 with glibc 2.7.


git-svn: trunk@3385
2007-12-09 21:43:10 +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
d1c685b881 move RSASSA-PSS code to shared/cdiff.c
git-svn: trunk@3305
2007-10-18 19:49:28 +00:00
Tomasz Kojm
73b243dc40 fix some warnings
git-svn: trunk@3278
2007-10-08 14:43:32 +00:00
Tomasz Kojm
1b38f50dea add support for LogFileMaxSize and LogTime
git-svn: trunk@3277
2007-10-08 13:07:57 +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
e6fe106ee3 enable FixStaleSocket by default
git-svn: trunk@3272
2007-10-05 23:23:43 +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
Tomasz Kojm
70edb0851e add support for PUA databases
git-svn: trunk@3169
2007-08-13 18:10:35 +00:00
Tomasz Kojm
692bda6847 prepare for enabling phishing code in non-experimental builds
git-svn: trunk@3042
2007-05-01 16:08:57 +00:00