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
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
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
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
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
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
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
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
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
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
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
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
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
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
89028fc309
drop some unused code
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4603 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
218296c255
fix STREAM
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4602 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
6eea8d4f3a
fix progexit handling. Now clamd should be able to handle most commands.
...
Except SESSION is probably broken now
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4601 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
4f5a740806
fix accept logic
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4600 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
0dc9d54110
implement common accept+recv loop
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4599 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
d2417fbf93
recvloop. This doesn't compile yet.
...
But perhaps it is more portable to use a single select for accept/recv, then
do accept on listen sockets, and recv on open sockets.
This should be more portable than select on a pipe.
We can also do the operation with one mutex less.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4598 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
3a14515741
accept thread continued
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4597 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
b080923b5a
new poll implementation start
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4596 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
fe4e3f8cad
first version of poll_recv_fds
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4595 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
a68d5e2fb2
shared/optparser.c, clamdscan: use the new option parser (bb#1215)
...
git-svn: trunk@4581
17 years ago
Tomasz Kojm
ed331476cc
drop unneded optfree()
...
git-svn: trunk@4572
17 years ago
Tomasz Kojm
064b4a0c99
initial version of the unified option parser (bb#1215)
...
git-svn: trunk@4565
17 years ago
aCaB
3be4ac3f65
drop useless checks
...
git-svn: trunk@4545
17 years ago
aCaB
cd04ff0694
cfgparser hacks backported from branches/milter-v2.0
...
git-svn: trunk@4489
17 years ago
aCaB
c6385428e2
Squashed commit of the following:
...
commit 0ddbd1a7117e207b8aa87079568a056691d5eb32
Author: acab <acab@1337ness.(none)>
Date: Thu Nov 27 17:18:04 2008 +0100
to be committed
commit 51f8010a275717b8a56a3ab22d49755899819518
Author: acab <acab@1337ness.(none)>
Date: Thu Nov 27 15:18:40 2008 +0100
mangle body
commit cd38463f4739f4a7778b6bf294cfb2166024656e
Author: acab <acab@1337ness.(none)>
Date: Thu Nov 27 14:43:39 2008 +0100
parse clamd result
commit 7b8a39495e59ac745342455f8e9aab09951d1041
Author: acab <acab@1337ness.(none)>
Date: Thu Nov 27 03:19:45 2008 +0100
handle calloc shifts
commit a58b732af99f9e3f18d2327e977432f1117028ee
Author: acab <acab@1337ness.(none)>
Date: Thu Nov 27 02:07:19 2008 +0100
spam added, local is b0rked
commit 22604b4b037cfdbc92d6b29986652e2f004bd1f3
Author: acab <acab@albe.digitalfuture.it>
Date: Wed Nov 26 19:44:59 2008 +0100
free/close stuff
commit 33a02aed984981d3e80ca4930a482f702624f08f
Author: aCaB <acab@digitalfuture.it>
Date: Wed Nov 26 03:11:29 2008 +0100
skeleton ready
commit 4630d9902ee74b6137abf6526c6a9ad3e41fc597
Author: aCaB <acab@digitalfuture.it>
Date: Tue Nov 25 22:59:41 2008 +0100
need to rebase
commit 083f5f98aecfce2763870f20ae97643d5683613a
Author: aCaB <acab@digitalfuture.it>
Date: Tue Nov 25 22:45:11 2008 +0100
in body()
commit 08f040f67de1264810953415c0a47c95ec9acff0
Author: aCaB <acab@digitalfuture.it>
Date: Tue Nov 25 19:51:15 2008 +0100
clamfi
commit bc08fe8f72580b8be81791a7c03ec38952781af7
Author: aCaB <acab@digitalfuture.it>
Date: Tue Nov 25 16:47:17 2008 +0100
adding milter
commit 34dcebd9294a059f2c45ec9d1817bdb75f423cb3
Author: aCaB <acab@digitalfuture.it>
Date: Tue Nov 25 00:35:11 2008 +0100
netcode works, fix to cfgparser
commit 3cc0997d907e817954328c60e43cdcca0667d6f3
Author: aCaB <acab@digitalfuture.it>
Date: Mon Nov 24 23:46:05 2008 +0100
socket probe
commit 0c3bbd6d03f8df931cb114b07150cd0b7dcd0aff
Author: aCaB <acab@digitalfuture.it>
Date: Mon Nov 24 19:02:06 2008 +0100
nonblock started
commit a1193ff0de0d0a3d9212d833110236b1329c1f2e
Author: aCaB <acab@digitalfuture.it>
Date: Mon Nov 24 11:17:41 2008 +0100
legacy options
commit 90519c59ff8a4f44fceaf84e8c40116254c73045
Author: aCaB <acab@digitalfuture.it>
Date: Sun Nov 23 19:41:26 2008 +0100
sockets pool
commit 897b0c5f82503530ba3fbb2fcc3a9c007488e90a
Author: aCaB <acab@digitalfuture.it>
Date: Sun Nov 23 01:02:59 2008 +0100
Logging done
commit 4cf3a218756271c74782a1649f728e1c6e977ae5
Author: aCaB <acab@digitalfuture.it>
Date: Sat Nov 22 23:31:34 2008 +0100
Config done
commit 93b271579f680286c697476c00d8eec7effb2fc4
Author: aCaB <acab@digitalfuture.it>
Date: Sat Nov 22 22:50:42 2008 +0100
Sanitise config file options
commit bf5e81b8561b258daaef134894761fa80d44f5b1
Author: aCaB <acab@digitalfuture.it>
Date: Sat Nov 22 20:25:06 2008 +0100
cfgparser hacks to allow for milter own conf
commit 8924e93b2567a1f378c2177b4011b67631b49cc1
Author: aCaB <acab@digitalfuture.it>
Date: Sat Nov 22 19:03:45 2008 +0100
command line parser
commit d2180e370f75948b6ce12f89979bda9e92ccd5f8
Author: aCaB <acab@digitalfuture.it>
Date: Sat Nov 22 16:36:37 2008 +0100
restart from scratch
commit 249d6cdbddbea622c949753aafbf48e526e0ef4d
Author: aCaB <acab@digitalfuture.it>
Date: Sun Nov 16 19:39:12 2008 +0100
more diversion
commit b948990103867b59c749da88d6384128c1e5e6d3
Author: aCaB <acab@digitalfuture.it>
Date: Sun Nov 16 17:31:42 2008 +0100
milter separation (milter)
commit 6dc259a5d4f8f6e4428953055510382160ef8df4
Author: aCaB <acab@digitalfuture.it>
Date: Sun Nov 16 17:23:14 2008 +0100
milter separation
git-svn-id: file:///var/lib/svn/clamav-devel/branches/milter-v2.0@4486 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
c6677c9418
LogFileUnlock was not working correctly (bb#1304)
...
git-svn: trunk@4471
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
Tomasz Kojm
ab0d2f054d
libclamav, clamd, clamscan: use cl_engine_set() to control AC settings
...
git-svn: trunk@4404
17 years ago