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
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
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
17 years ago
Tomasz Kojm
15850fc6d4
simplify the code; don't free 'engine'
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4380 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
c45c4c3db0
add cl_engine_(set|get)
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4378 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
724b2bf770
Move cl_engine from clamav.h to others.h; move cl_limits to cl_engine;
...
New API calls:
int cl_init(unsigned int options);
struct cl_engine *cl_engine_new(unsigned int options);
int cl_engine_compile(struct cl_engine *engine);
struct cl_engine *cl_engine_dup(struct cl_engine *engine);
int cl_engine_free(struct cl_engine *engine);
more to come..
WARNING: THE BRANCH IS CURRENTLY BROKEN AND SHOULD NOT BE USED
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newapi@4370 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
ac1b219cf1
libclamav, clamd: always return correct db version in VERSION (bb#1168)
...
git-svn: trunk@4332
17 years ago
aCaB
a5746c2512
TODO:
...
- make regex* and hash* behave properly (either include or exclude from the pool entirely)
- cleanup the ifdefs and make a single macro
- fixup the proto for dconf (re-enables make check in mpool-mode)
- check the possibility to entirely wipe frees from error paths in mpool-mode
(this totally simplifies the code)
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4271 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
885c2bf5b9
builds with and without mpools (#define USE_MPOOL) but it's still very broked
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4269 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b94e66c486
HIGLY EXPERIMENTAL memory pool for libclamav
...
The goal is to put an end to memory wasted due to stupid allocators and fragmentation
In the long run mpool libraries will be replaced with better code. For now there just good enough.
This branch is currently under development and totally broken.
If it will ever compile, it'll probably result in random crashes or at least (slightly) higher load times.
The code is also terrible, just don't look.
Do not use except for testing.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4266 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
e863785852
enable ScanPDF by default (bb#1179)
...
git-svn: trunk@4189
17 years ago
Tomasz Kojm
b023c36d4b
libclamav: add support for loading specific PUA categories (bb#939)
...
clamd: new options ExcludePUA and IncludePUA
clamscan: new switches --exclude-pua and --include-pua
git-svn: trunk@4046
17 years ago
Török Edvin
7f0d1148d6
clamd, clamscan, libclamav: new option HeuristicScanPrecedence (bb #649 )
...
docs/: update docs for HeuristicScanPrecedence and ScanPartialMessages
unit_tests/: add test for HeuristicScanPrecedence
git-svn: trunk@4037
17 years ago
Török Edvin
4270f93bcc
(bb #913 , #916 )
...
17 years ago
Tomasz Kojm
6f2f04916d
libclamav, clamd: prune old lockdb code
...
git-svn: trunk@3955
17 years ago
Tomasz Kojm
b5513f8ddf
libclamav: add ".UNOFFICIAL" suffix to 3rd party signatures (bb#1061)
...
git-svn: trunk@3903
17 years ago
Tomasz Kojm
d59d41b9c8
don't return CL_EMAX* error codes to applications (bb#1001)
...
git-svn: trunk@3815
17 years ago
Tomasz Kojm
26fbf6bddf
DLP updates
...
git-svn: trunk@3798
17 years ago
Tomasz Kojm
a6e388001a
integrate the DLP code from Marty Roesch
...
git-svn: trunk@3795
17 years ago
Tomasz Kojm
2023340a41
update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
...
git-svn: trunk@3749
17 years ago
aCaB
fd747ed8cc
fsyncs removed - bb#844
...
git-svn: trunk@3728
17 years ago
Tomasz Kojm
50b8f5d66b
various updates
...
git-svn: trunk@3721
17 years ago
Tomasz Kojm
ed9753e99d
add support for signature whitelisting with daily.ign/local.ign (bb#779)
...
git-svn: trunk@3601
18 years ago
aCaB
bf45cebea6
structs redesigned
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3550 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Tomasz Kojm
056d95dc5a
add (initial) support for direct loading of CVD files
...
git-svn: trunk@3435
18 years ago
Tomasz Kojm
2b4598190c
use B-M to handle .hdb and .fp databases and other minor changes
...
git-svn: trunk@3425
18 years ago
Tomasz Kojm
7021b54569
improved filetype detection code
...
git-svn: trunk@3421
18 years ago
aCaB
813864ce6b
(hopefully) all the stuff lost
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/not_for_0.92_tempbranch@3388 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Török Edvin
88c90922be
revert change from trunk and move to branch.
...
git-svn: trunk@3370
18 years ago
Török Edvin
a4e6ac4d78
remove "all domain scan" feature from phishcheck (--no-phishing-restrictedscan). Nobody is using it.
...
Don't care why an url is clean, just state it is clean.
Various cleanups resulting from this.
Prepare to introduce selective turn on of sub-features.
git-svn: trunk@3369
18 years ago
Török Edvin
2e3e071963
make CL_SCAN_STDOPT consistent with clamscan/clamd's defaults.
...
git-svn: trunk@3264
18 years ago
Tomasz Kojm
09eab32afc
move hardware acceleration code to contrib/hwaccel/hwaccel.patch
...
git-svn: trunk@3209
18 years ago
Tomasz Kojm
a7ac59781d
various cleanups; fix bb#577 (move cli_* out of clamav.h)
...
git-svn: trunk@3196
18 years ago
Tomasz Kojm
70edb0851e
add support for PUA databases
...
git-svn: trunk@3169
18 years ago
Trog
9d96e4b608
add ARJ and SFX-ARJ support
...
git-svn: trunk@3138
18 years ago
Tomasz Kojm
692bda6847
prepare for enabling phishing code in non-experimental builds
...
git-svn: trunk@3042
18 years ago
Tomasz Kojm
0a3d409413
use BM matcher to handle .mdb sigs
...
git-svn: trunk@3040
18 years ago
Tomasz Kojm
bb34cb31fe
update some copyrights and stick to GPL v2
...
git-svn: trunk@3003
18 years ago
Tomasz Kojm
bedc58dee1
make some cleanups and add support for nibble matching
...
git-svn: trunk@2992
18 years ago
Török Edvin
07d93fdc7d
Remove CL_EXPERIMENTAL wrapper regarding phishcode from cfgparser, and clamd/clamscan.
...
Enable url-based (phishcheck.c) phishing scan in STD DB_OPTS.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/temp_dconf_phishenable@2987 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Tomasz Kojm
e53322b11c
improve backward compatibility (bb#393)
...
git-svn: trunk@2923
18 years ago
Tomasz Kojm
c5107e70f5
add switches for pdf
...
git-svn: trunk@2841
19 years ago
Sven Strickroth
a99111f050
remove old CVS-stuff and make the repository look more like SVN
...
git-svn: trunk@2755
19 years ago
Tomasz Kojm
6fd2fb4799
s/CL_SCAN_ALGO/CL_SCAN_ALGORITHMIC/g
...
git-svn: trunk@2672
19 years ago
Tomasz Kojm
0883760581
use 'unsigned char' for cli_ac_patt.altc
...
git-svn: trunk@2642
19 years ago
Tomasz Kojm
06646acf80
add dbdir locking mechanism (closes bb#113, #143 )
...
git-svn: trunk@2620
19 years ago
Tomasz Kojm
b9115f1d76
add CL_BREAK
...
git-svn: trunk@2612
19 years ago
Tomasz Kojm
19b3e18271
phishing patch from Edwin (closes bb#157, #174 , #222 , #224 )
...
git-svn: trunk@2607
19 years ago
Tomasz Kojm
bc93eda059
dynamic configuration support
...
git-svn: trunk@2603
19 years ago