Török Edvin
5dddbcb787
fix electric-fence return code checking (bb #1385 ).
...
git-svn: trunk@4851
16 years ago
Török Edvin
d4e1cb474f
fix match with root regex (bb #1421 ).
...
git-svn: trunk@4848
16 years ago
Török Edvin
8db0a3463d
clamdtop moved to toplevel + manpage.
...
git-svn: trunk@4846
16 years ago
Török Edvin
73ba72eb7d
Fix timeout/run-out-of-fd bug in unit-tests (bb #1412 )
...
git-svn: trunk@4841
16 years ago
Török Edvin
a1c9ad2cf3
fix distcheck.
...
git-svn: trunk@4836
16 years ago
Török Edvin
7e32c99e10
improve URL handling
...
git-svn: trunk@4831
16 years ago
Török Edvin
4d26118b95
In single INSTREAM mode, remove FD from polled set (BB #1410 )
...
Fix testcase, INSTREAM should say UNKNOWN COMMAND in old mode and close conn, sending
anything after it will likely result in a broken pipe.(BB #1407 )
git-svn: trunk@4826
16 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
16 years ago
Török Edvin
770701eb44
disable test on BSD
...
git-svn: trunk@4817
17 years ago
Török Edvin
b82eea8de0
signals may not wake a poll(), so make sure thread wakes up (BB #1400 ).
...
git-svn: trunk@4816
17 years ago
Török Edvin
904c4258c6
add missing header
...
git-svn: trunk@4814
17 years ago
Török Edvin
1d60f70d03
git-* commands are gone, use 'git svn'.
...
correct include position for fdpassing.h
git-svn: trunk@4813
17 years ago
Török Edvin
537292a773
Reject new commands sent as new-style commands to avoid confusion.
...
This means that IDSESSION/INSTREAM must be sent as nIDSESSION\n or zIDSESSION\0,
ditto for INSTREAM.
Adjust testcases accordingly.
Old commands are still accepted when sent without delimiter.
git-svn: trunk@4811
17 years ago
Török Edvin
e114b109c4
fix use of uninitialized value.
...
add test for STREAM.
fix missing closing pragmas.
git-svn: trunk@4810
17 years ago
Török Edvin
b337768f27
another warning
...
git-svn: trunk@4809
17 years ago
Török Edvin
fb6fe4f5d1
Introduce '$' in logg, it is active when logg_verbose=2, i.e. when Debug yes.
...
Fix leak reported by valgrind.
git-svn: trunk@4806
17 years ago
Török Edvin
c5355aedbd
make sending ancillary data at wrong time a protocol error.
...
change testcase accordingly.
git-svn: trunk@4805
17 years ago
Török Edvin
5f6edb222c
ReadTimeout handling, and introduce CommandReadTimeout.
...
git-svn: trunk@4803
17 years ago
Török Edvin
456e31a3cb
fix typo.
...
add another stress test.
Don't leak file descriptors.
Fix IDSESSION delimiter handling.
git-svn: trunk@4800
17 years ago
Török Edvin
0378a9ab77
introduce timeouts for send(), this is needed for IDSESSION to work reliably,
...
since a buggy client implementation may get stuck in send(), and then clamd
gets stuck in send() -> deadlock. To avoid this we need nonblocking sockets, and
(low) timeouts on send.
Add more tests for clamd protocol, including a stress test for IDSESSION.
git-svn: trunk@4798
17 years ago
Török Edvin
ec86878226
test for FILDES
...
git-svn: trunk@4797
17 years ago
Török Edvin
4e24a36173
add more unit tests.
...
Make handling of old-style commands compatible with old clamd: if they have a \n
that will delimit the command.
If multiscan of a single file encounters errors, don't reply OK too.
git-svn: trunk@4796
17 years ago
Török Edvin
6870ebe176
mdprintf was also taking %f and %l, and they have different size than int.
...
Make the ARGLEN get the correct vaarg types, otherwise it was popping off the
stack an item of the wrong size!
git-svn: trunk@4784
17 years ago
Török Edvin
f011ae3e39
increase timeout when run under valgrind/efence/duma
...
git-svn: trunk@4780
17 years ago
Török Edvin
ce6614cc7b
more suppressions
...
git-svn: trunk@4779
17 years ago
Török Edvin
666cef6e66
add suppression for progexit set in signal handler
...
git-svn: trunk@4778
17 years ago
Török Edvin
8cad8e8323
fix distcheck errors
...
git-svn: trunk@4764
17 years ago
Török Edvin
05a213b850
add another missing file
...
git-svn: trunk@4763
17 years ago
Török Edvin
357f2f4e04
add missing file
...
git-svn: trunk@4760
17 years ago
Török Edvin
3e2b50465b
add some unit tests for the new clamd protocol
...
git-svn: trunk@4757
17 years ago
Török Edvin
004f8386ce
output "stream" instead of "fd[]" for INSTREAM.
...
Add INSTREAM command test.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4753 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
d66eff0ace
initial version of clamd proto tests
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4752 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
c5a47c1922
add some more suppressions
...
git-svn: trunk@4750
17 years ago
Tomasz Kojm
871177cdd9
return codes cleanup (bb#1159)
...
git-svn: trunk@4749
17 years ago
Török Edvin
97ff73f97a
add some minimal tests for new clamd/clamdscan features
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4747 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
95f258668c
add some more suppressions
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4744 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
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
Tomasz Kojm
6a7914299f
fix some options
...
git-svn: trunk@4582
17 years ago
Tomasz Kojm
589d8d8e99
libclamav: add default.h
...
git-svn: trunk@4578
17 years ago
Török Edvin
7d081def01
disable valgrind tests by default due to false positives from system libraries.
...
They can be activated by using make check VG=1. (bb #1307 , bb #1308 , bb #1311 ).
git-svn: trunk@4555
17 years ago
aCaB
3be4ac3f65
drop useless checks
...
git-svn: trunk@4545
17 years ago
Török Edvin
400decda4d
run reload test twice
...
git-svn: trunk@4436
17 years ago
Török Edvin
1523c229e4
add more valgrind suppressions (bb #1283 )
...
git-svn: trunk@4430
17 years ago
Török Edvin
9814b8125a
search in /usr/local/lib for efence
...
git-svn: trunk@4425
17 years ago
Török Edvin
5c97242d80
add more valgrind suppressions (bb #1283 , #1286 , #1294 )
...
git-svn: trunk@4423
17 years ago
Török Edvin
3278d23094
use dlsearch instead of search, should improve search for electric-fence
...
git-svn: trunk@4419
17 years ago
Török Edvin
b1deacbc62
fix paths
...
git-svn: trunk@4401
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