Tomasz Kojm
aef5cf19cf
docs/clamdoc.tex, docs/man/clamd.8.in: document nCOMMANDS (bb#1278)
...
git-svn: trunk@4348
17 years ago
Török Edvin
25a643cd4b
make ChangeLog entries more readable
...
git-svn: trunk@4347
17 years ago
Török Edvin
b9b477842d
fix compiler warnings, more to come (bb #273 )
...
git-svn: trunk@4346
17 years ago
Török Edvin
233732d76d
reconnect if connection is broken
...
use recv/send instead of fdopen on socket
git-svn: trunk@4345
17 years ago
Török Edvin
deb3031222
mempool statistics support
...
git-svn: trunk@4344
17 years ago
Török Edvin
6a21552ef2
have configure define NDEBUG unless we use --enable-debug, instead of having
...
to #ifndef CL_DEBUG #define NDEBUG #endif in each .c file that uses assert.
If you want assertions enabled you'll need to use --enable-debug to configure,
as until now, no change there.
git-svn: trunk@4343
17 years ago
Tomasz Kojm
1464e7a169
clamscan/manager.c: fix double-slash when scanning the root dir (bb#1263)
...
git-svn: trunk@4342
17 years ago
Tomasz Kojm
baacbd1676
unit_tests/virusaction-test.sh: ignore pathnames (bb#1274)
...
git-svn: trunk@4341
17 years ago
Török Edvin
26ffcfa20c
use ANONYMOUS_MAP from clamav-config.h instead of MAP_ANONYMOUS, fix mp_flush
...
call mp_flush from readdb
git-svn: trunk@4340
17 years ago
Török Edvin
c9a3e685b4
* libclamav/mpool.c (mp_destroy): need to use sizeof(*mp) because mp is a pointer here!!
...
git-svn: trunk@4339
17 years ago
aCaB
38e881e3c0
mpool cli_mp_hex2ui
...
git-svn: trunk@4337
17 years ago
Török Edvin
e9f6bb39e5
add more TODO notes, thanks nitrox for the feedback!
...
git-svn: trunk@4336
17 years ago
Török Edvin
af09ef0446
add TODO note about reconnecting
...
git-svn: trunk@4335
17 years ago
Tomasz Kojm
a305a2616a
libclamav/matcher-ac.c: micro-optimization (bb#843), thanks to Edwin
...
git-svn: trunk@4334
17 years ago
aCaB
d6e1ef1611
mempool deuglification
...
git-svn: trunk@4333
17 years ago
Tomasz Kojm
ac1b219cf1
libclamav, clamd: always return correct db version in VERSION (bb#1168)
...
git-svn: trunk@4332
17 years ago
Török Edvin
8ff2ee26ec
fix bar calculation: releasable is part of free
...
mention mempool in TODO
git-svn: trunk@4331
17 years ago
Török Edvin
ad0fd7287a
* libclamav/matcher-ac.c (cli_ac_addsig): need to use mpool allocated memory for ->str
...
* libclamav/mpool.c (mp_malloc, cli_mp_hex2str, check_all): introduce hex2str wrapper
* libclamav/mpool.h (mp_t, cli_mp_hex2str): introduce hex2str wrapper
* libclamav/regex_list.c (add_hash): need to use mpool allocated memory for arg to bm_addpatt
git-svn: trunk@4330
17 years ago
Török Edvin
7866b37c6b
mpool debugging
...
s/USE_MEMPOOL/USE_MPOOL/
git-svn: trunk@4329
17 years ago
Török Edvin
764f76c841
* clamd/thrmgr.c (thrmgr_printstats, IDLE_TASK): add comments
...
* contrib/clamdtop/TODO: more TODO items
git-svn: trunk@4328
17 years ago
Török Edvin
64cb380717
fix whitespace
...
git-svn: trunk@4327
17 years ago
Török Edvin
ee7ac1fc63
fix mixed statements (bb #1269 )
...
git-svn: trunk@4326
17 years ago
Török Edvin
6bdb35ea6a
use mdprintf instead of fdopen on socket (bb #1270 ) (thanks to Gianluigi Tiesi <sherpya*netfarm.it>)
...
git-svn: trunk@4325
17 years ago
Török Edvin
aa22174b30
new command STATS
...
new top-like tool using ncurses: clamdtop
it shows what clamd is currently scanning (and since how long),
including which file(s) multiscan is working on currently,
how many items it has in the queue (and since how long they are waiting),
how many active/idle threads it has,
memory usage statistics,
can monitor local or remote clamd
git-svn: trunk@4324
17 years ago
Török Edvin
563582a1ec
fix unit tests when mpool is activated
...
git-svn: trunk@4323
17 years ago
aCaB
7a81091e7f
update changelog
...
git-svn: trunk@4322
17 years ago
aCaB
946bd26646
merge mempool branch
...
git-svn: trunk@4320
17 years ago
Tomasz Kojm
388215773d
0.94.1
...
git-svn: trunk@4316
17 years ago
Tomasz Kojm
91b8682af8
downgrade some error messages
...
git-svn: trunk@4315
17 years ago
Tomasz Kojm
6c0d168478
libclamav/readdb.c: daily.ign was overwriting local.ign (bb#1265)
...
git-svn: trunk@4314
17 years ago
Tomasz Kojm
5e035bdf9b
update flevel/revision
...
git-svn: trunk@4313
17 years ago
Tomasz Kojm
a6b4b6af38
update doc
...
git-svn: trunk@4312
17 years ago
aCaB
ddc9e6c347
bb#1239
...
git-svn: trunk@4311
17 years ago
Török Edvin
03ec876ec6
suppress more valgrind race warnings
...
git-svn: trunk@4310
17 years ago
Török Edvin
4fbb076eb0
fix flags
...
git-svn: trunk@4309
17 years ago
Török Edvin
a35d4b4e80
fix test
...
git-svn: trunk@4308
17 years ago
Török Edvin
e30a2c406b
be nice to non-GNU compilers, and use memcmp/abort instead of __builtin_*
...
git-svn: trunk@4307
17 years ago
Török Edvin
d4c8adb3c0
Try to make a difference between failing to link the bzip2 testcase and the testcase failing (bb #1240 )
...
git-svn: trunk@4306
17 years ago
Török Edvin
c828f71a7a
fix message: it is enough to use a lower optimization level
...
git-svn: trunk@4305
17 years ago
Török Edvin
371c0b812c
we need a config file for freshclam just to test -V, use a minimal one.
...
git-svn: trunk@4304
17 years ago
Török Edvin
fd9379f9e5
fix make distcheck on gcc < 4.3 (bb #1259 )
...
git-svn: trunk@4303
17 years ago
Török Edvin
a20faa3fc3
add testcase for gcc bug 37573, affecting gcc 4.1.2 at -O3 too (bb #1258 )
...
git-svn: trunk@4302
17 years ago
aCaB
0281fb4d9c
32 and 64 bit pools
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4301 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
948644e619
tuned granularity - amd64 only (for now) - VIRT 114 / RES 95
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4300 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
1133ea32d9
fix more valgrind warnings
...
git-svn: trunk@4299
17 years ago
Török Edvin
a0ff88e4af
suppress another valgrind warning on Fedora
...
git-svn: trunk@4298
17 years ago
Tomasz Kojm
285d0b33ca
freshclam: add new config option DetectionStatsCountry
...
git-svn: trunk@4297
17 years ago
Tomasz Kojm
2fb80ebc7c
freshclam: re-enable --submit-stats (bb#1235)
...
git-svn: trunk@4296
17 years ago
Török Edvin
02157f0821
suppress valgrind warnings for old libc.
...
The warning is in __strcpy_chk, but I don't want to suppress a useful warnings in recent libcs,
and there is no way to specify both a function and object in a suppression, so I
suppressed all warnings from libc-2.5 when called from mbox/message.c
git-svn: trunk@4295
17 years ago
Török Edvin
a11bc7f397
fix typo in test script
...
git-svn: trunk@4294
17 years ago