Commit Graph

128 Commits

Author SHA1 Message Date
Török Edvin
c19477ec23 Reduce bytecodetimeout to 5s instead of 60.
In case of buggy bytecode limits the amount of resources consumed.
2011-01-20 16:12:11 +02:00
aCaB
14294b605d bb#2400 2011-01-19 12:17:34 +01:00
aCaB
bfa37fb5ee bb#2129 2010-12-21 17:04:51 +01:00
Török Edvin
b907e8cf8c clamd: bump default MaxConnectionQueueLength to 200 2010-12-20 16:36:10 +02:00
Tomasz Kojm
f88c178806 mention db.XY.ipv6.clamav.net 2010-11-25 12:21:47 +01:00
Tomasz Kojm
3507891f00 freshclam: get detection stats directly from clamd (bb#2312) 2010-11-05 15:32:51 +01:00
Tomasz Kojm
6bee45b345 clamd: add new option OLE2BlockMacros (requested by Mike) 2010-10-29 19:04:23 +02:00
Tomasz Kojm
b9d1c33999 freshclam: DatabaseCustomURL: add support for If-Modified-Since and signature counter 2010-10-29 17:55:54 +02:00
Tomasz Kojm
edbba730b3 clamd: add ExtendedDetectionInfo (bb#1228, #1626) 2010-07-06 19:46:55 +02:00
aCaB
3ba2039640 add clamav-milter.conf manpage 2010-05-12 19:11:25 +02:00
Tomasz Kojm
361b3285b4 freshclam: add new option TestDatabases 2010-05-11 22:44:28 +02:00
aCaB
33a62ad1e2 clamav-milter: don't logg() past fork(), add notes 2010-05-03 10:37:31 +02:00
aCaB
cc957a9ad8 add VirusAction to clamav-milter - bb#1867 2010-05-02 19:14:15 +02:00
Tomasz Kojm
81c1e5f52e libclamav: fix some limit settings (bb#1973) 2010-04-27 16:35:38 +02:00
Török Edvin
909407e70b Regenerate build system after clamconf change. 2010-04-19 17:14:57 +03:00
Török Edvin
3eba8ddc53 bb #1890. 2010-03-31 11:03:31 +03:00
Török Edvin
12876d3cb6 bytecode timeout 60s. 2010-03-24 18:34:58 +02:00
Török Edvin
bdd9aeaeeb Use a watchdog thread. Also make timeout be ms instead of us. 2010-03-23 16:33:41 +02:00
Török Edvin
b63681a52b Introduce BytecodeTimeout. 2010-03-22 17:16:07 +02:00
Török Edvin
9c92344b09 Only load signed bytecode by default. 2010-03-10 15:58:42 +02:00
Török Edvin
606fd6d0f1 Allow "None" bytecode security setting only in --enable-debug mode. 2010-03-10 14:30:31 +02:00
Tomasz Kojm
010d625dd5 update docs (thx to aCaB&Luca!) 2010-02-26 14:31:22 +01:00
aCaB
adf27b936e bb#1684 2010-02-09 20:45:32 +01:00
aCaB
e8f6878cd7 bb#1789 - final 2010-02-04 22:19:28 +01:00
Tomasz Kojm
d32e0d9423 freshclam: new option Bytecode 2010-02-02 14:23:40 +01:00
Török Edvin
57cb0075d9 regenerate build files.
using automake 1.11.1
2010-01-26 10:10:56 +02:00
Török Edvin
be43f951c6 BytecodeSecurity setting. 2010-01-22 16:50:35 +02:00
Török Edvin
5b5e4e6ef0 Merge branch 'bytecode'
* bytecode: (99 commits)
  Update to autoconf 2.65, and libtool 2.2.6b.
  Disable LLVM's make check for now.
  Output trace messages to stderr, to ensure its flushed.
  Support for bytecode lines >8k.
  Print llvm's version too when printing clambc's.
  Fix global initializer bitcasts.
  Allow controlling trace level from cmdline.
  Refactor trace API, so that trace printing happens in clambc.
  Add support for null constant.
  Trace formatting fixes.
  Add support for tracing (if bytecode compiled with support).
  Drop extra {} and "".
  Fix compiler version check for C++: autoconf needs [] to be escaped.
  change bytecode format to allow structs with more than 16 fields.
  Fix after merge: update to fmap API.
  Support for scanning files created by bytecode.
  read optional debug metadata.
  Sync headers with clamav bytecode compiler.
  Print better error message when wrong function is called.
  Update to new LLVM API.
  ...

Conflicts:
	Makefile.am
	Makefile.in
	configure
	configure.in
	libclamav/Makefile.am
	libclamav/Makefile.in
	libclamav/pe.h
2009-12-11 18:21:04 +02:00
aCaB
7ab261a02b properly check for lm 2009-12-07 19:52:36 +01:00
Török Edvin
46e2863c4c Merge branch 'master' into bytecode
* master: (182 commits)
  libclamav/qsort.c: fix CMP1 macro (bb#1769)
  handle floating chars
  libclamav/readdb.c: make sure static sigs with floating chars go into AC
  sigtool: --decode-sigs: handle alternatives
  sigtool: --decode-sigs: handle .ldb sigs
  inflateinit spam
  sigtool: --decode-sigs: handle .ndb sigs
  fix sig printing
  Set limit to 255 so that warning is shown if maxthreads*maxrec would exceed it.
  Enable more than 256 FD support on Solaris (bb #1764).
  fix memleaks
  sigtool: --decode-sigs; decode .db entries (bb#1246)
  fsk sxs, gimme back my dll hell!
  Fix Solaris build: cli_hex2ui has to be added to libclamav.map
  Don't error on unused functions.
  sigtool: basic sig decoding
  sigtool/sigtool.c: handle .ign2 files (bb#1625)
  libclamav/qsort.c: don't call med3 when using internal cmp
  win32: fix globbing
  unify DUPMAX def
  ...

Conflicts:
	.gitignore
	Makefile.am
	configure
	libclamav/Makefile.in
	libclamav/clamav.h
	libclamav/disasm.c
	libclamav/libclamav.map
	libclamav/matcher.c
	libclamav/others.c
	libclamav/pe.c
	libclamav/pe.h
	libclamav/readdb.c
2009-12-03 11:25:24 +02:00
Tomasz Kojm
208ceae5c7 clamd, clamscan: add support for OfficialDatabaseOnly/--official-db-only (bb#1743) 2009-11-10 19:30:33 +01:00
Török Edvin
72a03f9bd5 Merge branch 'master' into bytecode
* master: (60 commits)
  Fix build when git is not installed and using BSD make.
  Only use -fno-strict-aliasing for gcc-4.3+, to avoid bugs with older compilers (bb #1581).
  libclamav/matcher-bm.c: fix cli_bm_freeoff() (bb#1710)
  bb#1708
  implove poolsize.pl
  win32: s/C_WINDOWS/_WIN32/ in clamd, shared
  libclamav/matcher-ac.c: fix matching of logical sigs (bb#1707)
  libclamav/readdb.c: fix handling of broken .ldb sigs (bb#1701)
  libclamav: new signature blacklisting format (bb#1625)
  killclamd must always succeed (except when there's a stuck clamd).
  Fix typo.
  Better error message when clamd gets killed
  merge win32 patches from sherpya
  remove bogus debug printf
  libclamav/matcher-ac.c: add support for line marker (L) (matches CR, CRLF and boundaries)
  fix EOL in platform.h
  sis.c: fix size check
  fix several problems introduced by the win32 commits
  fix in cli_is_abspath
  win32#3
  ...

Conflicts:
	.gitignore
	Makefile.am
	configure
	configure.in
	libclamav/readdb.c
2009-10-02 10:08:44 +03:00
aCaB
b955dae487 Add option ReportHostname 2009-09-24 01:16:02 +02:00
Tomasz Kojm
adc16eb592 clamd: add support for DazukoFS (bb#1691)
Patch from John Ogness <dazukocode*ogness.net>
2009-09-21 22:06:49 +02:00
Török Edvin
2c4c464098 Regenerate the buildfiles. 2009-08-31 15:52:44 +03:00
Török Edvin
d13f148a9c Regenerate build stuff. 2009-08-25 19:06:35 +03:00
Török Edvin
731d647a7a Regenerate build system files. 2009-08-24 19:39:51 +03:00
aCaB
295f1d1f8b build system upgrade - bb#1528 2009-08-21 00:57:55 +02:00
Tomasz Kojm
6a4dd9dc6b clamd, clamscan, libclamav: drop support for MailFollowURLs (bb#1677) 2009-08-06 22:29:13 +02:00
aCaB
bd3d39858f Merge branch '7z' 2009-08-06 01:00:28 +02:00
Tomasz Kojm
2086dc5cab clamd, clamscan: add support for CrossFilesystems/--cross-fs (bb#1607) 2009-08-05 16:27:48 +02:00
aCaB
f333d0bccb introduce new lzma 2009-08-05 16:20:29 +02:00
Török Edvin
997a1efeb2 Draft of bytecode loader. 2009-06-26 16:30:46 +03:00
aCaB
d54c33f893 drop QuarantineReject
git-svn: trunk@5055
2009-04-24 13:21:56 +00:00
aCaB
4fa55e70fb documentation update for LogInfected
git-svn: trunk@5042
2009-04-16 14:20:29 +00:00
aCaB
3521624b37 bb#1549
git-svn: trunk@5041
2009-04-15 16:56:17 +00:00
Tomasz Kojm
c72fcfd539 etc/clamd.conf: remove deprecated ArchiveLimitMemoryUsage (bb#1551)
git-svn: trunk@5028
2009-04-07 10:32:51 +00:00
Török Edvin
da3e0e4036 fix documentation, fix warnings.
git-svn: trunk@5025
2009-04-06 10:26:15 +00:00
Török Edvin
7d444fd93b add documentation for MaxQueue (and other missing options) to clamd.conf (bb #1521).
Make clamconf generated config file a bit more like the one in etc/clamd.conf.

git-svn: trunk@5024
2009-04-06 09:26:19 +00:00
Török Edvin
4b93f2b633 check for mallinfo availability (bb #1445).
git-svn: trunk@5001
2009-04-01 17:51:44 +00:00