Tomasz Kojm
4a01b4efe9
libclamav: prefix all engine detections with "Heuristics." (bb#1808)
...
(also change Phishing.Heuristics.* -> Heuristics.Phishing.*)
16 years ago
Tomasz Kojm
6c26e99c59
libclamav: check file sizes for MD5 sigs in all cases
16 years ago
aCaB
be4bf7f4ab
win32
16 years ago
aCaB
49ee0318fc
fix scanbuff callers
16 years ago
Tomasz Kojm
006f5fe642
libclamav: in bm_offmode only load sigs with non-floating absolute
...
and relative offsets into BM matcher (load other ones into AC) and
use per-file computed offset table to pick up best shifts (not
enabled by default, bb#1300)
16 years ago
Tomasz Kojm
33872a43de
libclamav: improve handling of signature offsets
16 years ago
Tomasz Kojm
bdd4b77c18
0.95.1
...
git-svn: trunk@5032
16 years ago
Török Edvin
467bb4e0d7
add script to whitelist gdb entries (bb #1482 ).
...
git-svn: trunk@5016
16 years ago
Török Edvin
816d66a876
local.gdb whitelisting of safebrowsing entries (bb #1482 ).
...
git-svn: trunk@5015
16 years ago
Török Edvin
f2b71eb961
extract URLs from mail body (bb #1482 ).
...
git-svn: trunk@5014
16 years ago
Török Edvin
b02aff65f5
add comments, no functionality change.
...
git-svn: trunk@4954
16 years ago
Török Edvin
6f60f808d9
document URL blacklisting, and whitelisting (bb #1458 ).
...
git-svn: trunk@4953
16 years ago
Török Edvin
d38d251d6d
fix warnings
...
git-svn: trunk@4930
16 years ago
Török Edvin
a3d029b938
make use of hostkey prefix entries
...
git-svn: trunk@4929
16 years ago
Török Edvin
47a6df9966
micro-optimization. (thanks Nigel!)
...
git-svn: trunk@4918
16 years ago
Török Edvin
e828353b83
allow for hash prefixes.
...
git-svn: trunk@4916
16 years ago
Török Edvin
a9c304e350
update name
...
git-svn: trunk@4915
16 years ago
Török Edvin
12d07440c4
comply with safebrowsing naming guidelines.
...
git-svn: trunk@4912
16 years ago
Török Edvin
a1c9ad2cf3
fix distcheck.
...
git-svn: trunk@4836
17 years ago
Török Edvin
7e32c99e10
improve URL handling
...
git-svn: trunk@4831
17 years ago
Török Edvin
4e46d65d39
use sha256 instead of md5 in phishcheck.
...
move sha256 to libclamav.
add more tests.
git-svn: trunk@4822
17 years ago
Tomasz Kojm
47d40feb7a
libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
...
git-svn: trunk@4650
17 years ago
Török Edvin
08402afa4c
fix more compiler warnings (bb #273 )
...
git-svn: trunk@4353
17 years ago
Török Edvin
b9b477842d
fix compiler warnings, more to come (bb #273 )
...
git-svn: trunk@4346
17 years ago
Török Edvin
6a21552ef2
have configure define NDEBUG unless we use --enable-debug, instead of having
...
to #ifndef CL_DEBUG #define NDEBUG #endif in each .c file that uses assert.
If you want assertions enabled you'll need to use --enable-debug to configure,
as until now, no change there.
git-svn: trunk@4343
17 years ago
aCaB
e21657dfc9
a faster and more compact allocator
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4286 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
0d9dbdef21
some leaks fixed
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4280 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
b36e9f8a1a
mempool for regex_list/phishcheck
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4277 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b94e66c486
HIGLY EXPERIMENTAL memory pool for libclamav
...
The goal is to put an end to memory wasted due to stupid allocators and fragmentation
In the long run mpool libraries will be replaced with better code. For now there just good enough.
This branch is currently under development and totally broken.
If it will ever compile, it'll probably result in random crashes or at least (slightly) higher load times.
The code is also terrible, just don't look.
Do not use except for testing.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4266 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
d6d8d45031
fix URL parsing, since we now parse the full URL
...
git-svn: trunk@4248
17 years ago
Török Edvin
ff9845c02b
--phishing-ssl and --phishing-cloak should work even if the host is not in the .pdb (bb #1211 )
...
git-svn: trunk@4220
17 years ago
Török Edvin
dc36f0d70c
strip spaces from URL before checking that it is a URL
...
git-svn: trunk@4215
17 years ago
Török Edvin
7d4b5f164a
use clistrdup/free instead of blobs (bb #828 )
...
git-svn: trunk@4203
17 years ago
Török Edvin
81040d73db
bb #1160
...
git-svn: trunk@4183
17 years ago
Török Edvin
3baee5029c
convert a checked fixture into an unchecked fixture,
...
it is sufficient if that setup code is run once, this speeds up the tests.
fix some helgrind warnings
(the phishcheck struct is going to be freed anyway, so writing
something to it doesn't help anyway)
git-svn: trunk@4180
17 years ago
Török Edvin
7959343dc7
allow make distcheck to succeed (bb #1142 )
...
fix some more warnings
filter -Werror in clamav-milter.c
git-svn: trunk@4141
17 years ago
Török Edvin
5cd3f734a9
add lots of warnings flags to 'make distcheck',
...
and turn some warnings into errors (bb #1092 )
git-svn: trunk@4129
17 years ago
Tomasz Kojm
3b7d319553
fix NULL dereference when running with a limited db
...
git-svn: trunk@4103
17 years ago
Török Edvin
dfc0c031cb
if there is a version.h.static use that instead of output from svnversion
...
Makefile portability fixes
fix assert failure
add lcov to top level makefile
cleanup after lcov when you run make clean (bb #1112 )
fix parsing of [^.] character class
fix parsing of [r-t]
fix handling of @ for URL hashes
fix handling of &# inside URLs
drop some dead code
more unit tests for str
portability fixes
git-svn: trunk@4078
17 years ago
Török Edvin
063ddd53f8
optimization: use the filter to avoid cli_bm_scanbuff calls
...
bugfix: SO_search returns -1 when it doesn't find a match,
code was assuming it returns 0.
git-svn: trunk@4061
17 years ago
Török Edvin
1126559f77
flag for U: lines, format is one of:
...
U:MD5
U1:MD5
U2:MD5
add unit test for md5 url match
git-svn: trunk@4053
17 years ago
Török Edvin
063bfe5e00
rename hashes -> md5_hashes
...
git-svn: trunk@4052
17 years ago
Török Edvin
b3b6f0e436
fix valgrind warning
...
git-svn: trunk@4051
17 years ago
Török Edvin
b43205cb6a
implement md5 URL match
...
git-svn: trunk@4050
17 years ago
Török Edvin
b611b5ff71
initial support for matching URLs against MD5 hashes
...
git-svn: trunk@4049
17 years ago
Török Edvin
d66b881218
add missing header
...
git-svn: trunk@4041
17 years ago
Török Edvin
7f0d1148d6
clamd, clamscan, libclamav: new option HeuristicScanPrecedence (bb #649 )
...
docs/: update docs for HeuristicScanPrecedence and ScanPartialMessages
unit_tests/: add test for HeuristicScanPrecedence
git-svn: trunk@4037
17 years ago
Török Edvin
2b9e5d2971
drop a redundant check from phishcheck.
...
enable debug output in unit tests, they are dumped to
unit_tests/test-stderr.log.
git-svn: trunk@4028
17 years ago
Török Edvin
35609fe5a0
param to isalnum() has to be unsigned
...
git-svn: trunk@3996
17 years ago
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
17 years ago