aCaB
4a9f787366
fully parse results in fake multi mode
...
misc fixes
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4699 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
fd468937fc
keep MODE_WAITREPLY in select still, so if garbage is sent we can close.
...
Though when poll says that socket is closed, we shouldn't try closing again
if we're in WAIT_REPLY mode (since we alraedy closed it from another thread).
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4698 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
07ac8bb23a
also remove socket from tracked sockets after switching mode to WAITREPLY.
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4697 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
869d03832d
add proto debug messages to LogVerbose temporarely
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4696 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
33019f0a18
properly initalize fd_buf slot, even when reusing slot.
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4695 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
ea2799a262
minor fixes
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4694 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
f687013351
IDSESSION + INSTREAM sport
...
tidy
(smthng still fuxxxd up)
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4693 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
8f74b8e4ee
handle multiple commands and ancillary data in one packet
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4692 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
f022339bfc
initialize all fields
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4691 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
8eac8d3e88
fix FILDES infloop
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4690 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
d00d2c3727
calling dspresult
...
this is all skrewed up atm
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4689 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
d888e42724
dspresult
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4688 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
86c97e7e26
shared/optparser.c, clamconf: handle clamav-milter.conf in --generate-config
...
git-svn: trunk@4687
17 years ago
Tomasz Kojm
b89efa061f
etc/clamav-milter.conf: fix typos
...
git-svn: trunk@4686
17 years ago
Török Edvin
060c6715bb
introduce MODE_WAITREPLY.
...
MULTISCAN now quits if client quits
(TODO: CONTSCAN/SCAN should have a group too!)
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4685 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
8d66a87ed4
really fix multiscan
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4684 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
4c59bda1ef
symlink flags for cli_ftw
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4683 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
2ea8946280
don't execute commands if client disconnected.
...
fix MULTISCAN
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4682 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
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
428efe72d4
close connection when we see invalid command in IDSESSIOn
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4680 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
54c1f41b34
unify replies: add ids on all replies from IDSESSION.
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4679 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
89bebd3428
fix duplicate symbol error when linking with LTO.
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4678 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
befa580a23
initial idsession implementation
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4677 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
3bf21904ad
straight reload
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4676 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
1d9da95b82
typo
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4675 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
ac30aff8ea
properly close disconnected sockets
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4674 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
98dcb91ef0
reject invalid commands
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4673 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
937c8ec187
preliminary ID support, only on engine messages, not clamd messages
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4672 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
79b43cf868
preliminary IDSESSION support, no IDs yet
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4671 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
afff80efb9
libclamav, shared: minor cleanups; fix handling of long file names (bb#1349)
...
git-svn: trunk@4670
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
ed2b37c685
another temp commit
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4667 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b1442ed1df
unify client_scan
...
restore summary spam
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4666 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
32390e3161
shared/optparser.c: improve handling of short switches (bb#1374)
...
git-svn: trunk@4665
17 years ago
Tomasz Kojm
1d8a56d491
shared/optparser.c, clamconf/clamconf.c: add --generate-config
...
git-svn: trunk@4664
17 years ago
aCaB
6630b2a91c
Preliminary ftw adoption
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4663 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
1971c3e5f8
fix ChangeLog, automatic update script added too many entries.
...
git-svn: trunk@4662
17 years ago
Török Edvin
3a094ba07e
raise scanscript limit
...
git-svn: trunk@4661
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
aCaB
b59eb33a01
on streaming, don't bind to a specific ip
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4654 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
c5944b5420
add missing include
...
git-svn: trunk@4653
17 years ago
Török Edvin
7b57a8338e
add dsig unit test
...
git-svn: trunk@4652
17 years ago
Tomasz Kojm
c783516d30
clamscan/manager.c: fix use of uninitialized value in exclude-pua (bb#1373)
...
git-svn: trunk@4651
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