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
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
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
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
7a95bd5795
tell accept to quit before we start waiting for threads to quit.
...
Show a verbose message that we are waiting for threads to quit.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4649 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b120dc19de
attempt to scan a pipe
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4648 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
f3b50b8761
complain when we don't receive a file
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4647 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
2b68c49038
fix scandash spam
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4646 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
f12488af2b
fix recvln
...
uniform spam
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4645 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
e66fd86ac0
fix FILDES
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4644 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
ada9248441
fix poll_fd
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4643 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
e9896728c9
fix localsocket
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4642 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
2c67cb719b
scanning dash is now always sported, no need to double check
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4641 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
07e8bf35e0
handle "-" on non af_unix
...
handle "-" without fdpass
handle STREAM on af_unix
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4640 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
14ccb41923
fix replies to honor zCMDs
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4639 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
00f0516675
recv fixes
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4638 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
aCaB
a659e39384
restored non-scan commands
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4634 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
056198f16d
shared/optparser.c, clamconf: new clamconf (bb#1215, bb#1316)
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4632 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
07e8d00f49
now handling recursion for remote/fdpass scanning
...
still lots of fixmes
todo: iSESSION
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4631 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
59c2353664
shared/optparser.c: improve cmdline args handling
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4627 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
87066fbc5b
implement internal recursion, to be used when streaming or fdpassing
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4626 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
dc3a1def55
acceptloop/recvloop as in bb #1339
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4624 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
cb95779e9c
remove fd from poll list, before closing it, handle EBADF in select.
...
If select/poll fails for reason other than EINTR, make that error fatal.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4623 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
78e8d83a07
recvln
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4621 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
abd6d2c7cb
unified opts
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4620 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
bfde2577ee
typo -> segfault -> fix
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4619 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
eeeff8665a
blah
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4617 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
01925d6506
give "proper" status line
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4616 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
d100458f04
if FD got reused, clear stale buffered data for old FD
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4615 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
aCaB
1b9fa47d33
poll set management and poll logic
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4612 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
03f214fb72
sgetz - fix logic
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4611 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
4793a83546
sgetz fixes
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4610 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
3ec259a602
preliminary zCMD sport
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4609 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago