Commit graph

176 commits

Author SHA1 Message Date
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
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
aCaB
3b857f1419 win32: fix warns 2009-10-31 19:12:50 +01:00
aCaB
e46b546ce3 relocable hardcoded paths 2009-10-20 19:44:45 +02:00
aCaB
174416b42e win32: add clamconf 2009-10-19 14:14:07 +02:00
Tomasz Kojm
b4561aa201 sigtool: add support for --find-sigs (part of bb#1246) 2009-10-16 10:12:17 +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
081f64735d win32#2 2009-09-24 16:24:07 +02: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
52dd3a6bda Initial support for loading .cbc files from DB. 2009-09-21 20:10:33 +03:00
Török Edvin
a1781898ec inputfile support 2009-09-08 22:25:33 +03:00
Török Edvin
1a486dca3b Add hidden ctx param to APIcalls. 2009-09-04 12:09:17 +03:00
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
Török Edvin
0d71db97eb use optparser. 2009-06-30 18:15:12 +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
fe5a1daab1 shared/getopt.[ch]: fix type conflict on Solaris (introduced in r5060)
git-svn: trunk@5064
2009-05-06 08:39:50 +00:00
Tomasz Kojm
49763a0e7f shared/optparser.[ch]: properly handle large size values (bb#1583)
git-svn: trunk@5058
2009-05-05 13:33:11 +00: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
e64ea25c10 shared/optparser.c: regexes are now case insensitive by default (this can be changed with FLAG_REG_CASE)
git-svn: trunk@5039
2009-04-12 10:10:32 +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
b6de553d58 set timeout to readtimeout after receiving a chunk (bb #1540).
better checks and documentation for MaxQueue (bb #1521).

git-svn: trunk@5023
2009-04-06 09:26:11 +00:00
aCaB
00521af11e remove spurious printf
git-svn: trunk@5022
2009-04-03 14:56:58 +00:00
aCaB
32ec634439 bb#1508
git-svn: trunk@5020
2009-04-03 11:09:00 +00:00
Tomasz Kojm
9a2e768fc5 shared/optparser.c: handle deprecated freshclam's option --log-verbose
git-svn: trunk@5012
2009-04-02 16:49:56 +00:00
Tomasz Kojm
87ad7f9097 shared/optparser.c: make the parser even more tolerant to whitespace
git-svn: trunk@5011
2009-04-02 16:38:10 +00:00
Tomasz Kojm
cebb446ddb shared/optparser.c: remove surrounding whitespace in non-quoted strings (bb#1518)
git-svn: trunk@5007
2009-04-02 12:03:41 +00:00
Tomasz Kojm
215d3b211f shared/optparser.c: fix some descriptions (bb#1526)
git-svn: trunk@5003
2009-04-01 19:09:58 +00:00
aCaB
57aa0269a4 add SkipAuthenticated config option
git-svn: trunk@4986
2009-03-24 13:26:31 +00:00
aCaB
f91853e837 typo
git-svn: trunk@4970
2009-03-22 16:10:40 +00:00
aCaB
2a49102bd3 add option LogInfected for clamav-milter
git-svn: trunk@4964
2009-03-19 18:47:01 +00:00
Tomasz Kojm
00981f7552 minor doc fixes
git-svn: trunk@4961
2009-03-16 18:47:34 +00:00
Tomasz Kojm
4b63a916af update docs
git-svn: trunk@4958
2009-03-16 17:56:03 +00:00
Tomasz Kojm
03527bee64 libclamav: count .pdb entries as signatures
freshclam, sigtool: add support for safebrowsing.cvd (bb#1056)


git-svn: trunk@4901
2009-03-05 19:09:54 +00:00
aCaB
943b2bf0f9 misc clamav milter
git-svn: trunk@4891
2009-03-03 19:42:33 +00:00
Tomasz Kojm
d2ddc54fa7 shared/optparser.c: fix handling of options which are enabled by default (bb#1442)
git-svn: trunk@4881
2009-03-02 16:08:21 +00:00
Török Edvin
43ea567582 Fix colors when terminal background color is not black.
(bb #1438, reported by Dennis Peterson <dennispe*inetnw.com>)

git-svn: trunk@4877
2009-03-01 10:15:32 +00:00
aCaB
745960b02e unify default max stream sizes
git-svn: trunk@4861
2009-02-25 16:44:38 +00:00