Commit Graph

123 Commits

Author SHA1 Message Date
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
Tomasz Kojm
6a4dd9dc6b clamd, clamscan, libclamav: drop support for MailFollowURLs (bb#1677) 2009-08-06 22:29:13 +02:00
aCaB
bd3d39858f Merge branch '7z' 2009-08-06 01:00:28 +02:00
Tomasz Kojm
2086dc5cab clamd, clamscan: add support for CrossFilesystems/--cross-fs (bb#1607) 2009-08-05 16:27:48 +02:00
aCaB
f333d0bccb introduce new lzma 2009-08-05 16:20:29 +02:00
Tomasz Kojm
19c788af04 clamscan, clamd, libclamav: load cvd files on-the-fly (without unpacking them to /tmp) by default 2009-07-28 20:36:38 +02:00
Tomasz Kojm
09dc3ecb56 clamscan: honour value of 0 in --max-* options (bb#1650) 2009-07-15 19:25:41 +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
Tomasz Kojm
655bc62709 clamscan/manager.c: check rlim_cur instead of rlim_max
git-svn: trunk@5006
2009-04-02 10:46:32 +00:00
Tomasz Kojm
8daa97dec4 clamscan/manager.c: freshdbdir() was never called (bb#1511)
git-svn: trunk@5004
2009-04-01 20:03:50 +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
Tomasz Kojm
2accc66fef libclamav, clamd, clamscan: replace cl_engine_(set|get) with cl_engine_set_(num|str) and cl_engine_get_(num|str)
git-svn: trunk@4933
2009-03-12 15:21:36 +00:00
aCaB
5da3127b5e extend clamscan summary (bb#1206)
git-svn: trunk@4910
2009-03-07 18:16:20 +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
Tomasz Kojm
52b40b1ef5 clamscan/manager.c: make error reporting compatible with clamd and previous versions of clamscan
git-svn: trunk@4883
2009-03-02 16:39:25 +00:00
Tomasz Kojm
6670464f91 update help pages
git-svn: trunk@4855
2009-02-24 16:12:56 +00:00
Török Edvin
8db0a3463d clamdtop moved to toplevel + manpage.
git-svn: trunk@4846
2009-02-23 12:35:34 +00:00
Tomasz Kojm
086eab5c26 update old copyright headers
git-svn: trunk@4775
2009-02-13 10:55:45 +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
Tomasz Kojm
c783516d30 clamscan/manager.c: fix use of uninitialized value in exclude-pua (bb#1373)
git-svn: trunk@4651
2009-01-27 10:23:12 +00:00
Tomasz Kojm
47d40feb7a libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
git-svn: trunk@4650
2009-01-26 19:47:02 +00:00
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
2009-01-20 17:46:58 +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
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
aCaB
3be4ac3f65 drop useless checks
git-svn: trunk@4545
2008-12-07 15:12:07 +00:00
Tomasz Kojm
33068e0973 libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead
git-svn: trunk@4416
2008-11-14 22:23:39 +00:00
Tomasz Kojm
ab0d2f054d libclamav, clamd, clamscan: use cl_engine_set() to control AC settings
git-svn: trunk@4404
2008-11-13 19:06:42 +00:00
Tomasz Kojm
b8fe70b3a3 libclamav: drop options parameter in cl_engine_new(); replace cl_engine_dup() with cl_engine_addref()
git-svn: trunk@4398
2008-11-13 15:55:35 +00:00
Tomasz Kojm
2d84c70a37 * libclamav: introduce new API calls for engine management (THIS REVISION IS
NOT BACKWARD COMPATIBLE): cl_init(), cl_engine_new(),
	      cl_engine_set/get(), cl_engine_compile(), cl_engine_dup(),
	      cl_engine_free(); make minor modifications to other calls;
	      move cl_engine to others.h; integrate limits into cl_engine
 * clamd, clamscan: use new API; drop hardcoded default limits and depend on
		    those set by libclamav
 * clamav-milter, unit_tests: TODO, **don't compile in this rev**



git-svn: trunk@4385
2008-11-12 16:41:18 +00:00
Tomasz Kojm
370892d044 clamscan, clamd: use the new API; drop the hardcoded default limits and use the ones set in cl_engine_new()
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4384 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-12 16:19:43 +00:00
aCaB
094104a7ac preliminary dlopen support for libclamunrar - this is mostly libtool stuff
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4360 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-09 18:23:04 +00:00
Tomasz Kojm
1464e7a169 clamscan/manager.c: fix double-slash when scanning the root dir (bb#1263)
git-svn: trunk@4342
2008-11-05 19:50:28 +00:00
Tomasz Kojm
04fa4e9d01 shared/options.c: handle obsolete options in cmdline parser (bb#1213)
git-svn: trunk@4236
2008-10-07 20:18:21 +00:00
Török Edvin
ae685a75c1 link to libclamunrar_iface explicitly to
allow non-rpath builds to work. (bb #1203)
Thanks to James Ralston <ralston*pobox.com>

git-svn: trunk@4224
2008-10-03 17:11:59 +00:00
Tomasz Kojm
c1c9d9f928 clamdscan: add support for --reload (bb#1098)
git-svn: trunk@4185
2008-09-18 08:17:47 +00:00
Török Edvin
15d67313c4 allow 'make check' to work even if check is not installed
by skipping checks that require it. (bb #1157)
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.

git-svn: trunk@4172
2008-09-11 11:02:12 +00:00
aCaB
6d48ea885a update libtool - bb#1162
git-svn: trunk@4170
2008-09-10 16:09:20 +00:00
Török Edvin
2d75763208 revert last commit, it breaks bzip2 detection in /usr/local
git-svn: trunk@4163
2008-09-02 11:52:53 +00:00
Török Edvin
8179270b95 if pkg-config cannot find check look in standard places for check
(such as /usr/local/lib)

git-svn: trunk@4162
2008-09-02 08:40:27 +00:00
Tomasz Kojm
3f9918e1de libclamav/dlp.c: limit number of false positive alerts
clamd, clamscan: don't scan for stripped SSNs by default


git-svn: trunk@4153
2008-08-29 23:33:12 +00:00
Tomasz Kojm
57e1a05eda credit card detection fixes
git-svn: trunk@4150
2008-08-29 10:32:33 +00:00
Török Edvin
4a40b66cf0 replace AC_FUNC_MMAP: check only for MAP_PRIVATE and not MAP_FIXED (bb #1140) HP-UX: zlib in non-standard path, LIBS got set to -lz, but -L was missing, just restore LIBS and don't touch it
git-svn: trunk@4145
2008-08-26 12:45:20 +00:00
Tomasz Kojm
6670d61d4b drop support for Cygwin (due to broken ClamAV builds)
git-svn: trunk@4143
2008-08-25 21:59:33 +00:00