Commit graph

176 commits

Author SHA1 Message Date
Török Edvin
8db0a3463d clamdtop moved to toplevel + manpage.
git-svn: trunk@4846
2009-02-23 12:35:34 +00:00
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
2009-02-17 15:59:36 +00:00
Török Edvin
af309677da sendtimeout
git-svn: trunk@4804
2009-02-17 15:59:26 +00:00
Török Edvin
5f6edb222c ReadTimeout handling, and introduce CommandReadTimeout.
git-svn: trunk@4803
2009-02-17 15:59:21 +00:00
aCaB
408be01ffe add --stream
git-svn: trunk@4801
2009-02-17 00:08:17 +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
949c6fe54f 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@4755
2009-02-12 16:51:09 +00:00
Tomasz Kojm
86c97e7e26 shared/optparser.c, clamconf: handle clamav-milter.conf in --generate-config
git-svn: trunk@4687
2009-02-06 14:43:30 +00:00
Tomasz Kojm
32390e3161 shared/optparser.c: improve handling of short switches (bb#1374)
git-svn: trunk@4665
2009-01-30 07:49:04 +00:00
Tomasz Kojm
1d8a56d491 shared/optparser.c, clamconf/clamconf.c: add --generate-config
git-svn: trunk@4664
2009-01-29 19:03:59 +00:00
Tomasz Kojm
a128eb8063 clamconf: handle --version/-V
git-svn: trunk@4630
2009-01-22 14:38:16 +00:00
Tomasz Kojm
0d06ef19f8 shared/optparser.c, clamconf: new clamconf (bb#1215, bb#1316)
git-svn: trunk@4628
2009-01-22 14:19:47 +00:00
Tomasz Kojm
19c17946cc shared/optparser.c: improve cmdline args handling
git-svn: trunk@4625
2009-01-19 19:41:27 +00:00
Tomasz Kojm
b61db429fc shared, clamconf: drop old stuff; replace getopt.[ch] with my_getopt
git-svn: trunk@4589
2009-01-02 17:04:11 +00:00
Tomasz Kojm
278dc6b3d9 shared/optparser.c, clamav-milter: use the new option parser (bb#1215)
git-svn: trunk@4588
2009-01-02 15:30:17 +00:00
Tomasz Kojm
d6af38e75e shared/optparser.c, sigtool: use the new option parser (bb#1215)
git-svn: trunk@4587
2009-01-02 11:54:08 +00:00
Tomasz Kojm
e8b54ef3fa shared/optparser.c: fix typo (bb#1336)
git-svn: trunk@4584
2008-12-31 14:28:02 +00:00
Tomasz Kojm
8392ae8070 shared/optparser.c: cosmetics; add FLAG_REQUIRED
git-svn: trunk@4583
2008-12-31 12:26:30 +00:00
Tomasz Kojm
a68d5e2fb2 shared/optparser.c, clamdscan: use the new option parser (bb#1215)
git-svn: trunk@4581
2008-12-30 21:16:02 +00:00
Tomasz Kojm
269d520dfb shared/optparser.c, clamscan: use the new option parser
git-svn: trunk@4580
2008-12-30 10:33:43 +00:00
Tomasz Kojm
7eca74fef9 shared/optparser.c: extend MATCH_BOOL regex (bb#1324)
git-svn: trunk@4576
2008-12-22 21:22:17 +00:00
Tomasz Kojm
229491b7b4 shared/optparser.c: handle --user/-u in freshclam (bb#1323)
git-svn: trunk@4575
2008-12-22 21:05:53 +00:00
Tomasz Kojm
1f95badf6a shared/optparser.c: fix small memleak
git-svn: trunk@4574
2008-12-22 15:01:59 +00:00
Tomasz Kojm
3f7802c93e shared/optparser.c, freshclam: use the new option parser (bb#1215)
git-svn: trunk@4573
2008-12-18 19:42:53 +00:00
Tomasz Kojm
e1c57af20c fix parentheses
git-svn: trunk@4571
2008-12-18 14:24:43 +00:00
Tomasz Kojm
064b4a0c99 initial version of the unified option parser (bb#1215)
git-svn: trunk@4565
2008-12-17 21:42:54 +00:00