Török Edvin
2c4c464098
Regenerate the buildfiles.
2009-08-31 15:52:44 +03:00
Török Edvin
d13f148a9c
Regenerate build stuff.
2009-08-25 19:06:35 +03:00
Török Edvin
731d647a7a
Regenerate build system files.
2009-08-24 19:39:51 +03:00
aCaB
295f1d1f8b
build system upgrade - bb#1528
2009-08-21 00:57:55 +02:00
aCaB
f333d0bccb
introduce new lzma
2009-08-05 16:20:29 +02:00
Tomasz Kojm
51bbedb132
libclamav, clamd: handle file exclusion in cli_ftw() (bb#1656)
2009-07-31 21:28:55 +02:00
aCaB
c4afd0b458
update ignore files
2009-06-29 11:27:46 +02:00
Török Edvin
997a1efeb2
Draft of bytecode loader.
2009-06-26 16:30:46 +03:00
Tomasz Kojm
c2b6681b79
clamscan, clamdscan: add support for --file-list/-f
...
git-svn: trunk@5069
2009-05-21 13:43:05 +00:00
Török Edvin
4b93f2b633
check for mallinfo availability (bb #1445 ).
...
git-svn: trunk@5001
2009-04-01 17:51:44 +00:00
Török Edvin
b070a1d264
fix build on platforms where pthread in not part of libc (bb #1470 ).
...
git-svn: trunk@4946
2009-03-14 14:31:49 +00:00
aCaB
22446430c1
unify error reporting
...
git-svn: trunk@4909
2009-03-07 15:32:16 +00:00
aCaB
f592af6c21
do not break out on access and IO errors
...
git-svn: trunk@4908
2009-03-07 15:32:09 +00:00
aCaB
5b1eee09f3
refactor error handlers in clamdscan
...
git-svn: trunk@4907
2009-03-07 01:55:07 +00:00
aCaB
5348fa8d28
bb#1443
...
please don't touch the build stuff for a coupel of hours so i can easily revert this commit
git-svn: trunk@4884
2009-03-02 16:39:54 +00:00
aCaB
5ad17a134e
clamdscan side of bb#1429
...
git-svn: trunk@4872
2009-02-28 08:11:04 +00:00
Tomasz Kojm
6670464f91
update help pages
...
git-svn: trunk@4855
2009-02-24 16:12:56 +00:00
Török Edvin
a1598d7ccb
trim extra leading and trailing slashes (bb #1423 ).
...
git-svn: trunk@4852
2009-02-24 13:21:27 +00:00
aCaB
39667b9f50
handle warning_skipped_link
...
git-svn: trunk@4849
2009-02-23 18:26:19 +00:00
Török Edvin
8db0a3463d
clamdtop moved to toplevel + manpage.
...
git-svn: trunk@4846
2009-02-23 12:35:34 +00:00
aCaB
408be01ffe
add --stream
...
git-svn: trunk@4801
2009-02-17 00:08:17 +00:00
Török Edvin
bfd89d7c84
fix Solaris build
...
git-svn: trunk@4776
2009-02-13 11:05:14 +00:00
Tomasz Kojm
086eab5c26
update old copyright headers
...
git-svn: trunk@4775
2009-02-13 10:55:45 +00:00
Török Edvin
7a997ac950
move TCP socket creation to shared/
...
git-svn: trunk@4769
2009-02-12 21:14:51 +00:00
Török Edvin
ab1ed22fbf
fix merge mistake
...
git-svn: trunk@4759
2009-02-12 17:31:09 +00:00
aCaB
7609af89f2
merge from clamd-proto branch:
...
handle multiple %v parameters
introduce poll_fds that also does the read into a buffer
introduce thrmgr_group* commands for keeping track of groups of commands
(multiscan, IDSESSION)
introduce 2 queues in thrmgr, multiscan queues get lower priority. Commands
are processed from both queues in a 4:1 ratio to avoid starvation.
unify reply code: conn_reply*
unify scanner code into scan_callback that is called from cli_ftw
multiscan doesn't need stat() now if readdir() provides dt_type
redesign clamd main loop: there is now an accept thread, and a
recv()/dispatch thread, +MaxThreads worker (scanner) threads.
introduce limiting on commands when worker threads are contended.
introduce IDSESSION, a replacement for the old SESSION command, that allows
asyncronous (scan) commands and scan replies
introduce INSTREAM that allows sending the data to scan on same connection
(vs STREAM that requires another port)
introduce zCOMMANDS
git-svn: trunk@4756
2009-02-12 17:11:27 +00:00
aCaB
ee6702abf5
unify actions
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4751 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-12 15:14:12 +00:00
Török Edvin
0115f12ffc
fix some more warnings
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4746 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-12 10:16:16 +00:00
aCaB
f17400cf3c
docs updated
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4740 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-11 16:40:05 +00:00
aCaB
6a779d4469
add beenthere
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4739 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-11 15:36:14 +00:00
Tomasz Kojm
140237e4bf
#ifdef HAVE_UNISTD_H
...
git-svn: trunk@4738
2009-02-11 14:40:57 +00:00
aCaB
b7990b9ca1
don't stat
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4735 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-11 12:17:20 +00:00
aCaB
2097428fa7
fix the math
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4729 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-10 14:24:06 +00:00
Török Edvin
ff989b7d75
deadbeef code was not completely reverted from clamdscan.
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4726 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-09 19:00:05 +00:00
aCaB
d923741467
typo
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4722 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-09 17:27:27 +00:00
aCaB
83c52f7eb5
error paths and other fixes
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4719 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-09 16:23:38 +00:00
Török Edvin
e640277428
fix INSTREAM/IDSESSION.
...
Introduced a chunksize marker.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4717 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-09 15:24:48 +00:00
aCaB
c72f64c85c
mask sigpipe
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4708 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-08 16:46:26 +00:00
aCaB
533fa89515
do not infloop
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4707 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-08 15:45:38 +00:00
Török Edvin
4ca3fc953f
close FD when we refuse to process command.
...
Print errno in clamdscan.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4706 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-08 15:08:24 +00:00
aCaB
9877f2d823
honour StreamMaxLen
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4705 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-08 15:06:10 +00:00
aCaB
284982ca3e
another open
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4704 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-08 14:54:50 +00:00
aCaB
acd4d7aa78
typo
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4703 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-08 14:50:53 +00:00
aCaB
228d7e1929
open fix
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4702 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-08 14:49:20 +00:00
aCaB
fadd3046fc
fixes
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4701 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-08 14:43:17 +00:00
aCaB
6ef6ea829d
handle end of session
...
handle EOF on dspresult
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4700 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-07 17:53:33 +00:00
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
2009-02-07 17:32:04 +00:00
aCaB
ea2799a262
minor fixes
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4694 77e5149b-7576-45b1-b177-96237e5ba77b
2009-02-07 12:36:22 +00:00
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
2009-02-07 00:59:58 +00:00
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
2009-02-06 17:25:05 +00:00