Commit Graph

157 Commits

Author SHA1 Message Date
aCaB
14294b605d bb#2400 2011-01-19 12:17:34 +01:00
Tomasz Kojm
8c57a6c1b7 clamscan: add new options --follow-(dir|file)-symlinks (bb#1870) 2010-12-28 18:24:51 +01:00
aCaB
4f1cdbdddd error path leaks and similar stuff 2010-12-17 14:26:33 +01:00
Tomasz Kojm
88700e89bf clamscan/manager.c: return errors for stdin scan failures (bb#2317) 2010-10-08 15:39:55 +02:00
aCaB
088f5ced24 Revert "fail win32 build for testing purposes, will be reverted ASAP"
This reverts commit adb7189782.
2010-08-06 15:48:56 +02:00
aCaB
adb7189782 fail win32 build for testing purposes, will be reverted ASAP 2010-08-06 15:40:05 +02: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
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
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
Török Edvin
7daebb4c9e bb #2010. 2010-05-07 17:22:04 +03:00
Török Edvin
909407e70b Regenerate build system after clamconf change. 2010-04-19 17:14:57 +03:00
Tomasz Kojm
50b0bd804f document bytecode timeout 2010-03-24 18:24:12 +01:00
Török Edvin
b63681a52b Introduce BytecodeTimeout. 2010-03-22 17:16:07 +02:00
Tomasz Kojm
c4910836f3 update manuals 2010-03-19 17:42:25 +01:00
Török Edvin
aa745db74d Add clamscan commandline to load bytecode in debug mode. 2010-03-12 13:13:08 +02:00
Tomasz Kojm
8770404a47 clamscan: properly report errors from libclamav; simplify error codes 2010-02-04 21:33:03 +01:00
Török Edvin
57cb0075d9 regenerate build files.
using automake 1.11.1
2010-01-26 10:10:56 +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
aCaB
003b5feec4 remove debug printf 2010-01-19 14:24:17 +01:00
aCaB
986dcea666 bb#1788 2010-01-19 11:27:33 +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
aCaB
7ab261a02b properly check for lm 2009-12-07 19:52:36 +01:00
Tomasz Kojm
9da619b44e clamscan: properly describe --include/exclude (bb#1765) 2009-12-04 14:20:12 +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
aCaB
6e246c11ee win32 safe_open() wrappage 2009-10-21 17:51:33 +02:00
aCaB
b8f3f028b2 always pass a NULL *tz to gettimeofday 2009-10-12 23:38:38 +02: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
4cd80898e6 win32#3 2009-09-24 19:31:30 +02:00
aCaB
58481352d5 win32 paths handling 2009-09-24 19:07:39 +02:00
aCaB
081f64735d win32#2 2009-09-24 16:24:07 +02:00
aCaB
be4bf7f4ab win32 2009-09-24 16:08:52 +02:00
Török Edvin
52dd3a6bda Initial support for loading .cbc files from DB. 2009-09-21 20:10:33 +03: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
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
aCaB
c4afd0b458 update ignore files 2009-06-29 11:27:46 +02:00
Török Edvin
997a1efeb2 Draft of bytecode loader. 2009-06-26 16:30:46 +03: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
Török Edvin
4b93f2b633 check for mallinfo availability (bb #1445).
git-svn: trunk@5001
2009-04-01 17:51:44 +00:00