Commit Graph

76 Commits

Author SHA1 Message Date
Török Edvin
2e11bcdfd9 performance improvements for URL matching (bb #725, bb #650):
* use a suffix AC-trie and a shift-or FSM to filter
* rewrite the URL regex in C
* use a perfect hash to lookup TLD and ccTLD, instead of a regex
* TODO: suffixes having a common prefix: loop over all of them
	cli_ac_free: multiple virname pointing to same location


git-svn: trunk@3978
2008-07-23 13:51:57 +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
96e05490a9 regenerate pdf/html
git-svn: trunk@3968
2008-07-16 16:40:13 +00:00
Török Edvin
41fc730455 documentation on how to run unit tests
git-svn: trunk@3967
2008-07-16 16:32:27 +00:00
Török Edvin
d1d558c944 use pkg-config to locate check, if available (bb #1093)
make --enable-coverage depends on unit tests being activated
fix a typo in bzip2 configure check
remove temporary log files on make clean


git-svn: trunk@3953
2008-07-15 15:50:50 +00:00
Török Edvin
232c4b7016 add unit tests for binaries
enable unit tests by default (if check is available)
 add --enable-coverage to run gcov/lcov
 add --enable-tests-install to install test files 


git-svn: trunk@3935
2008-07-10 17:08:41 +00:00
Tomasz Kojm
17f74f9f5c sync with 0.93.3
git-svn: trunk@3922
2008-07-08 16:22:31 +00:00
Török Edvin
fd08e02ea3 add Javascript normalizer (not yet enabled)
git-svn: trunk@3917
2008-07-07 19:10:50 +00:00
Tomasz Kojm
ec6429ab20 drop support for external unpackers (bb#1052)
git-svn: trunk@3888
2008-06-10 16:59:19 +00:00
Tomasz Kojm
f7f59c083e sync with 0.93.1
git-svn: trunk@3887
2008-06-09 19:14:55 +00:00
aCaB
4d0faad49c typo in the manpage
git-svn: trunk@3867
2008-05-28 02:37:05 +00:00
Török Edvin
725a296922 build system: add configure checks for FD passing
m4/fdpassing.m4: move all FD passing checks here
clamd/session.[ch], scanner.[ch]:
contrib/clamd_fdscan:
	add rfc2292/bsd4.4 style file descriptor passing support
	this code is from Marc Balmer <marc*msys.ch>, with some portability
	fixes applied


git-svn: trunk@3849
2008-05-09 21:12:28 +00:00
Tomasz Kojm
5fe6e72b1a clamscan: new switches --structured-ssn-format, --structured-ssn-count, --structured-cc-count (bb#959)
git-svn: trunk@3841
2008-05-07 10:51:23 +00:00
Tomasz Kojm
7497489849 add a note about forking daemons (bb#906)
git-svn: trunk@3837
2008-05-05 14:34:08 +00:00
aCaB
a36ba5a386 doc typo
git-svn: trunk@3823
2008-04-29 14:04:58 +00:00
aCaB
2c2f5711b7 milter: doc updated
git-svn: trunk@3822
2008-04-29 12:38:08 +00:00
Tomasz Kojm
26fbf6bddf DLP updates
git-svn: trunk@3798
2008-04-18 17:14:20 +00:00
Tomasz Kojm
d076ad0251 check in 0.93 patches
git-svn: trunk@3788
2008-04-14 20:13:05 +00:00
Török Edvin
e5b0783922 -lcheck needs to be conditional, use @LCHECK@.
Regenerate Makefiles.


git-svn: trunk@3774
2008-04-08 12:57:55 +00:00
Tomasz Kojm
6f6fc585f5 bb#907
git-svn: trunk@3752
2008-04-02 21:40:00 +00:00
Tomasz Kojm
e5611f929c update documentation
git-svn: trunk@3730
2008-03-20 21:15:14 +00:00
Tomasz Kojm
50b8f5d66b various updates
git-svn: trunk@3721
2008-03-18 15:40:41 +00:00
Tomasz Kojm
61b40ee32e update docs
git-svn: trunk@3689
2008-03-03 19:11:41 +00:00
aCaB
4fd3c0442d document limits
git-svn: trunk@3638
2008-02-15 12:16:11 +00:00
Török Edvin
282417339c quote macro arguments, group AC_C_* macros (bb #452),
thanks to Markus Elfring <Markus.Elfring*web.de>
move ld --version-script check after compiler checks
run autoreconf (new libtool)



git-svn: trunk@3598
2008-02-08 12:38:09 +00:00
Török Edvin
3064a5428c generic text normalizer (bb #241)
update automake files: automake complained that they were too old


git-svn: trunk@3583
2008-02-04 21:25:31 +00:00
Török Edvin
f12c2e6825 ignore invalid URLs containing double dots, optimization: cut URL after hostname
git-svn: trunk@3569
2008-01-31 16:05:20 +00:00
Török Edvin
6053d09a36 allow to specify libgmp location, by using --with-libgmp-prefix,
by default current prefix is also searched
allow to specify libb2 location, by using --with-bz2-prefix,
	by default current prefix is also searched
locating gmp and bz2 works by default on OpenBSD (bb #301)
move local m4 macros to m4/
import lib-link.m4 and dependent files
quoting for autoconf macros (bb #452)


git-svn: trunk@3566
2008-01-31 12:07:57 +00:00
Török Edvin
4c56bffa3b build system modernization: (based on suggestion from
Markus Elfring <Markus.Elfring*web.de> in bb #452)
	* use AC_CONFIG_HEADER, since AM_CONFIG_HEADER is obsolete
	* put configure files into auxiliary directory
	* fix main declaration in FD_SETSIZE test
	* check for failure on fopen in FD_SETSIZE test
	* move version from AM_INIT_AUTOMAKE to AC_INIT, old form was obsolete
	* eliminate automake warnings, update Makefile.am
	* rename .splitted to .split (requested by aCaB)


git-svn: trunk@3563
2008-01-30 21:06:36 +00:00
Török Edvin
402539e136 minor changes to documentation
git-svn: trunk@3557
2008-01-29 15:27:37 +00:00
Török Edvin
091b19c3a3 more documentation update
git-svn: trunk@3555
2008-01-28 22:03:41 +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
Török Edvin
0d615f7caf update documentation. Part I, more to come. (bb #554).
git-svn: trunk@3508
2008-01-18 15:28:05 +00:00
Török Edvin
a0e5e84425 avoid bringing in checks for languages we don't use (decreases configure size by 300Kb+).
git-svn: trunk@3484
2008-01-06 16:58:25 +00:00
Török Edvin
80cf63099c add support for version scripts when using Sun's ld on Solaris.
use $GREP to grep binary files, needed for autoit to build on Solaris.
add support for both GNU and Sun ld version scripts.
add version script maps to libclamunrar, libclamunrar_iface. Enumerate all symbols, Sun's ld doesn't support cl_* (only *).
cli_decodesig needs a dummy definition on Solaris.


git-svn: trunk@3474
2007-12-31 12:46:26 +00:00
Tomasz Kojm
d8b95725a1 new option CompressLocalDatabase
git-svn: trunk@3455
2007-12-22 21:30:38 +00:00
Török Edvin
2fe76d5051 merged from not_for_0.92_tempbranch.
remove "all domain scan" feature from phishcheck
	(--no-phishing-restrictedscan). Nobody is using it.
	Don't care why an url is clean, just state it is clean.
	Various cleanups resulting from this.
	Prepare to introduce selective turn on of sub-features.


git-svn: trunk@3417
2007-12-14 11:44:56 +00:00
aCaB
8ec38f70a0 changelog + reverted automake10
git-svn: trunk@3414
2007-12-13 21:49:38 +00:00
aCaB
f377e052cd Merging the post0.92 stuff
Please don't commit anything till I'm finished

A full changelog will come up later

Thanks


git-svn: trunk@3410
2007-12-13 19:45:38 +00:00
Tomasz Kojm
b4b07cd11f update docs
git-svn: trunk@3398
2007-12-12 23:16:20 +00:00
Tomasz Kojm
5ca7fd1813 re-include RAR code
git-svn: trunk@3396
2007-12-12 21:46:34 +00:00
aCaB
813864ce6b (hopefully) all the stuff lost
git-svn-id: file:///var/lib/svn/clamav-devel/branches/not_for_0.92_tempbranch@3388 77e5149b-7576-45b1-b177-96237e5ba77b
2007-12-10 22:17:06 +00:00
Tomasz Kojm
067ecc29a3 temporarily remove the RAR code
git-svn: trunk@3371
2007-12-06 14:48:48 +00:00
Török Edvin
88c90922be revert change from trunk and move to branch.
git-svn: trunk@3370
2007-11-14 21:33:07 +00:00
Török Edvin
a4e6ac4d78 remove "all domain scan" feature from phishcheck (--no-phishing-restrictedscan). Nobody is using it.
Don't care why an url is clean, just state it is clean.
Various cleanups resulting from this.
Prepare to introduce selective turn on of sub-features.


git-svn: trunk@3369
2007-11-14 20:53:42 +00:00
Tomasz Kojm
6ce302428f by default don't build and link with libclamunrar;
use --enable-unrar to build with RAR support



git-svn: trunk@3324
2007-10-26 18:45:20 +00:00
Nigel Horne
1a2b28a9cc Improved SPF checking for phish false positives
git-svn: trunk@3312
2007-10-24 09:08:28 +00:00
Trog
2fda4dc0ea * libclamunrar: move unrar to a separate library, under an unrar license.
* libclamav/unarj: further bounds checking


git-svn: trunk@3310
2007-10-23 12:04:53 +00:00
Tomasz Kojm
1caa6393bb update docs
git-svn: trunk@3291
2007-10-09 15:38:52 +00:00
Tomasz Kojm
d8f8e62a46 update html docs
git-svn: trunk@3282
2007-10-08 19:22:34 +00:00