Török Edvin
ef4ed2e180
preliminary INSTREAM support.
...
TODO: the code starts to look ugly, clean up the code.
INSTREAM shouldn't reply fd[]
make jobgroup own the resources (sockets, tempfiles)
allow to notify jobgroup to terminate when remote disconnects
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4681 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
28e89f60ca
fix warnings
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4669 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
cc59cb00db
temp commit
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4668 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
b9a240a272
s/msg/path/
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4660 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
aad69ae60f
add back visit_directory_toplev
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4659 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
5bae92695c
cli_sftw -> cli_ftw, and hide old cli_ftw
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4658 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
66b47dd3ba
cli_ftw/cli_sftw cleanup
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4657 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
35c526fe49
visit_directory_begin/end
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4656 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
3de54fe471
WIP switch to new multiscan code.
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4655 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
55b358f614
fix CL_ENGINE_DB_TIME, time_t may well be 64-bits, so
...
writing only 32-bits will leave upper 32-bits undefined and lead to funny
results, such as VERSION command working first time, but 2nd time not showing
the DB timestamp.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4636 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
58b5cb19a6
fix poll, we add a new fd so we need to iterate on old nfds.
...
Various other work on recursion, unified scan, etc.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4635 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
4a588824db
fix build
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4614 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
ce970052f4
push temporary work
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4613 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
3cf9fec2b0
add missing state
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4607 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
efe3d1250b
finish traversal logic
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4606 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
03aefc7c37
fix build errors
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4605 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
2f6b761c7a
cli_ftw draft
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4604 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
72fb25eaf0
libclamav/str.c: return token count in cli_strtokenize()
...
libclamav/readdb.c: use tokens_count (bb#1331); make the parser more strict
git-svn: trunk@4593
17 years ago
Tomasz Kojm
27e28c610e
libclamav/mpool.c: fix old free() call in cli_mp_hex2ui()
...
git-svn: trunk@4592
17 years ago
Török Edvin
76115c1963
fix malformed .pdb handling (bb #1338 )
...
git-svn: trunk@4591
17 years ago
aCaB
3b2ae9260c
s/esi/esi/
...
git-svn: trunk@4585
17 years ago
Tomasz Kojm
9d91ff71f0
add missing default.h
...
git-svn: trunk@4579
17 years ago
Tomasz Kojm
589d8d8e99
libclamav: add default.h
...
git-svn: trunk@4578
17 years ago
Török Edvin
188914fe8d
reset resource type, otherwise we parse all resources after a string resource as
...
string (including images), which is wrong, because it feeds wrong statistics to
cli_detect_swizz.
git-svn: trunk@4577
17 years ago
Török Edvin
eb86e93563
fix Swizzor detection: if no individual string is suspicious, the result must be
...
clean.
git-svn: trunk@4564
17 years ago
Török Edvin
3b053173ed
fix last commit
...
git-svn: trunk@4554
17 years ago
Török Edvin
02b5f26cab
make regex available in libclamav_internal_utils.la, split others.c instead of
...
using #ifdef CLI_MEMFUNS_ONLY.
git-svn: trunk@4553
17 years ago
Tomasz Kojm
a37a861eec
libclamav: add CL_FLEVEL_DCONF (bb#1313)
...
git-svn: trunk@4550
17 years ago
aCaB
3be4ac3f65
drop useless checks
...
git-svn: trunk@4545
17 years ago
Török Edvin
6f22c5e625
add missing type
...
git-svn: trunk@4540
17 years ago
Török Edvin
f27fab00d4
Improve Trojan.Swizzor.Gen detection: do per file statistics in addition to per string. It is amazing how a much simpler rule can do the same job better.
...
git-svn: trunk@4539
17 years ago
Török Edvin
b84f20d9ab
use a more precise J48 tree (built from more input data), and lower threshold
...
for detection. This detects ~14% more samples.
git-svn: trunk@4512
17 years ago
Török Edvin
42d26ac94c
Heuristic detection of Trojan.Swizzor.Gen (bb #1310 )
...
git-svn: trunk@4511
17 years ago
Tomasz Kojm
41486c4253
libclamav/matcher-ac.c: fix parsing of lsig modifiers
...
git-svn: trunk@4506
17 years ago
Tomasz Kojm
695e6fd402
sync with 0.94.2
...
git-svn: trunk@4484
17 years ago
Tomasz Kojm
be63d0adc5
libclamav/special.c: respect recursion limits in cli_check_jpeg_exploit() (bb#1266)
...
git-svn: trunk@4483
17 years ago
Török Edvin
33d52089fc
fix disable-unrar build: don't refer to libclamunrar_iface.la
...
with enable-unrar builds (default) warn if can't dlopen.
if unrar is disabled, don't warn, just show a debug message.
git-svn: trunk@4464
17 years ago
Tomasz Kojm
c9157be30f
libclamav/readdb.c: fix handling of malformed ldb sigs (bb#1292)
...
git-svn: trunk@4434
17 years ago
aCaB
fd856af471
use char* arithmetic
...
git-svn: trunk@4433
17 years ago
Török Edvin
db43492c79
remove nonexistent symbols from .map file, add dummy functions.
...
git-svn: trunk@4431
17 years ago
Tomasz Kojm
33068e0973
libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead
...
git-svn: trunk@4416
17 years ago
aCaB
160930d433
test completed, --enable-mempool works again - sorry for the trouble
...
git-svn: trunk@4415
17 years ago
aCaB
bf6f78a4dc
this is a test, --enable-mempool deliberately broken
...
git-svn: trunk@4414
17 years ago
Török Edvin
af84980bec
fix distcheck
...
git-svn: trunk@4406
17 years ago
Tomasz Kojm
ab0d2f054d
libclamav, clamd, clamscan: use cl_engine_set() to control AC settings
...
git-svn: trunk@4404
17 years ago
Török Edvin
0c3db7d345
move cli_rarload.
...
TODO: MEMFUNSONLY should be a separate file!
git-svn: trunk@4400
17 years ago
Tomasz Kojm
b8fe70b3a3
libclamav: drop options parameter in cl_engine_new(); replace cl_engine_dup() with cl_engine_addref()
...
git-svn: trunk@4398
17 years ago
Tomasz Kojm
72d0c053da
libclamav/readdb.c: phishing_done() no longer needs to be called outside cl_engine_free()
...
git-svn: trunk@4397
17 years ago
Török Edvin
4b2400fd7c
fix memory leak (bb #1291 )
...
git-svn: trunk@4395
17 years ago
aCaB
f5a4018bd7
dlinit in cl_init
...
git-svn: trunk@4394
17 years ago