Commit Graph

245 Commits

Author SHA1 Message Date
Tomasz Kojm
4bc4581d6e shared/cdiff.c, sigtool/sigtool.c: fix error path double frees (bb#2280, bb#2281) 2010-09-21 16:14:15 +02:00
Tomasz Kojm
4dccd075f9 clamconf: print information about 3rd party databases 2010-09-16 14:37:43 +02:00
Török Edvin
82f711fb28 Use FLAG_REQUIRED.
As suggested by Tomasz.
2010-07-29 21:46:59 +03:00
Török Edvin
1e7ad51763 Fix segfault with --bytecode-mode, make it require an argument.
Thanks to nitrox for reporting.
2010-07-29 21:16:19 +03:00
Török Edvin
9f3afdb874 Add clamscan flag --bytecode-mode.
This allows access to the newly introduced testmode.
2010-07-29 14:07:00 +03:00
Tomasz Kojm
edbba730b3 clamd: add ExtendedDetectionInfo (bb#1228, #1626) 2010-07-06 19:46:55 +02:00
Tomasz Kojm
8478b04a78 sigtool/sigtool.c: add --datadir (bb#2063) 2010-06-08 16:34:59 +02:00
Tomasz Kojm
7b3cc5accb shared/cdiff.c: fix handling of massive XCHGs (bb#2017) 2010-06-08 12:48:54 +02:00
Tomasz Kojm
fc05ee4801 clamscan: add support for loading multiple dbs at command line with -d (bb#2033) 2010-05-28 13:28:46 +02:00
Tomasz Kojm
361b3285b4 freshclam: add new option TestDatabases 2010-05-11 22:44:28 +02:00
Tomasz Kojm
bca0b67921 tools: make sure the libclamav version is high enough (bb#2013) 2010-05-10 17:05:16 +02:00
aCaB
3d7547cf6a add collect hashes options to clamd and clamscan 2010-05-07 23:33:26 +02:00
Tomasz Kojm
247fe3aeb4 clamdscan: respect ExcludePath in --fdpass mode (bb#1923) 2010-05-07 21:14:34 +02:00
Tomasz Kojm
74f0e79e70 shared/output.c: workaround FreeBSD's file locking issue (bb#1918) 2010-05-05 21:30:00 +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
Török Edvin
3d8a490c3f Fix race condition in IDSESSION (bb #1838). 2010-03-31 16:27:48 +03:00
Tomasz Kojm
52a8d9f012 freshclam: fix some issues with --submit-stats (bb#1902)
Thanks to Mark Pizzolato
2010-03-30 15:20:01 +02:00
Török Edvin
12876d3cb6 bytecode timeout 60s. 2010-03-24 18:34:58 +02:00
Török Edvin
b26d43809a Add matchwithread.cbc to unit tests. 2010-03-24 12:46:34 +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
84edf09bba Fix clambc -p. 2010-03-22 14:58:51 +02:00
Török Edvin
50436cbdb1 bytecode api fixes. 2010-03-22 13:41:18 +02:00
Tomasz Kojm
c4910836f3 update manuals 2010-03-19 17:42:25 +01:00
Tomasz Kojm
e30bb4584c freshclam: add support for ExtraDatabase (bb#781) 2010-03-19 14:37:51 +01:00
Török Edvin
aa745db74d Add clamscan commandline to load bytecode in debug mode. 2010-03-12 13:13:08 +02:00
Török Edvin
cdd2f4da40 Add missing initializer. 2010-03-10 14:54:01 +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
Török Edvin
d4c9f766ce fix clambc's printing of source code, and add separate cmdline for it.
Also disable debug by default, --debug can be used to enable.
2010-02-15 17:32:41 +02:00
aCaB
adf27b936e bb#1684 2010-02-09 20:45:32 +01:00
aCaB
e394c51305 bb#1789 - part two 2010-02-04 22:01:05 +01:00
aCaB
ab56ca922e bb#1789 - part one 2010-02-04 17:32:42 +01:00
aCaB
48d39e496d shared/cdiff: use binary mode 2010-02-03 15:19:14 +01:00
Tomasz Kojm
d32e0d9423 freshclam: new option Bytecode 2010-02-02 14:23:40 +01:00
Török Edvin
a35cfe5137 print bytecode metadata. 2010-01-22 16:50:35 +02:00
Török Edvin
be43f951c6 BytecodeSecurity setting. 2010-01-22 16:50:35 +02:00
Tomasz Kojm
0c234f5ffd CL_DB_CVDNOTMP is now the only way to load .cvd/.cld files; prepare
for .info signing
2010-01-20 15:02:13 +01: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
Török Edvin
acb53e3a41 Allow controlling trace level from cmdline. 2009-12-10 15:17:40 +02:00
Tomasz Kojm
a96eead450 sigtool: add --test-sigs (basic functionality) (bb#1246) 2009-12-09 23:32:34 +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
7e8402aca8 sigtool: --decode-sigs; decode .db entries (bb#1246) 2009-11-23 23:18:59 +01:00
Tomasz Kojm
208ceae5c7 clamd, clamscan: add support for OfficialDatabaseOnly/--official-db-only (bb#1743) 2009-11-10 19:30:33 +01:00
Tomasz Kojm
6ecf300eea freshclam: add support for DetectionStatsHostID (bb#1503) 2009-11-06 12:44:19 +01:00
Tomasz Kojm
284e1ee4ba libclamav, freshclam: fix handling of dbs when both daily.cvd and daily.cld
are present in the db directory and ScriptedUpdates are turned off (bb#1739)
2009-11-03 22:54:10 +01:00
aCaB
3b857f1419 win32: fix warns 2009-10-31 19:12:50 +01:00
Tomasz Kojm
9b3e1e8580 clamdscan, libclamav, clamdtop, freshclam, sigtool: fix some error path leaks (bb#1730) 2009-10-27 21:02:00 +01:00
aCaB
72c63093db win32: use unc paths 2009-10-21 04:31:11 +02:00