Török Edvin
f67635129a
c4w/sigui: don't create another watcher on shutdown.
2011-01-20 11:06:18 +02:00
Török Edvin
fa174afe66
c4w: sigui: fix dup lines in freshclam.conf (bb #2374 ).
2011-01-20 10:57:02 +02:00
Török Edvin
f2a274670b
c4w: s/database.clamav.net/db.local.win.clamav.net/
2011-01-20 10:31:24 +02:00
aCaB
d1885535af
fix record check on dns query (win32 compat)
2011-01-20 03:30:08 +01:00
aCaB
74dfa7c89f
c4w: init logg early, dont crash on unload if logg is not initted - bb#2468 again
2011-01-19 17:23:26 +01:00
aCaB
a183ba35af
c4w: bb#2468 - actually kill the bloody monitor...
2011-01-18 15:59:05 +01:00
aCaB
6636be1e9d
fix win32 build
2011-01-18 15:57:09 +01:00
Tomasz Kojm
d5fde2eb61
sigtool: add new options --sha1 and --sha256
2011-01-18 15:00:37 +01:00
aCaB
d6e380fcbd
regen win32
2011-01-14 23:53:47 +01:00
aCaB
0dbc437202
c4w: reverse verbose logic
2011-01-10 21:52:12 +01:00
aCaB
ad4926c2d4
c4w: error paths reworked in freshclamwrap (bb#2440)
2011-01-01 18:27:49 +01:00
aCaB
b81ed28582
c4w: mkdir *-p* ($tmpdir)
2010-12-29 16:20:21 +01:00
aCaB
232819819c
c4w: mkdir($tmpdir)
2010-12-29 11:56:18 +01:00
aCaB
be2651819f
unconditionally compile sha1.c
2010-12-28 22:08:45 +01:00
aCaB
cf85afda8d
c4w: use uncpaths for res fnames - bb#2370
2010-12-23 19:30:04 +01:00
aCaB
8aacea51ac
c4w: tag clam detections
2010-12-17 02:25:23 +01:00
aCaB
69e6d4bc54
c4w: make freshclamwrap stfu if verbose_off is present
2010-12-15 12:16:17 +01:00
aCaB
eefbe50d6b
fix typo
2010-12-14 19:44:12 +01:00
aCaB
0016218114
c4w: tune freshclamwrap spam
2010-12-14 19:28:45 +01:00
aCaB
1a4019015a
c4w: tune glue spam
2010-12-14 19:28:32 +01:00
Török Edvin
f675a85da0
c4w: allow verbose logging to be turned off
...
Just create a file 'clamav_log_verbose_off' in the clamav directory to turn it
off.
Then only startup and error messages will be logged.
2010-12-13 19:42:20 +02:00
Török Edvin
f2d1cf0017
Fix typo
2010-12-10 11:26:46 +02:00
Török Edvin
eebe17b22a
c4w: preserve limit settings over reload (bb #2419 ).
...
We didn't loose the callbacks over a reload, but we did loose the limit
settings.
2010-12-10 11:10:00 +02:00
Török Edvin
faea131e7a
c4w: retry del_instance.
...
Caller can't wait for the proper scanner threads to finish for some reason.
Retry the del_instance once after 1 scanner thread finished (not necesarely the
one we got called for though).
If we still fail to delete Caller will retry after 2 seconds, and if we still
fail just go on and Uninit us (of course we'll fail there too, but its shutdown
anyway).
Also terminate monitor thread prior to freeing engine, because if engine can't
be freed we'd never even try to stop monitor thread.
2010-12-08 11:47:35 +02:00
Török Edvin
593e71c041
c4w: log how much time we took without the callbacks too.
2010-12-08 11:23:58 +02:00
Török Edvin
1f87ea8f8b
c4w: new error codes.
...
CL_ELOCK, CL_EBUSY, CL_ESTATE.
2010-12-08 11:23:43 +02:00
Török Edvin
4ecaf32cc7
c4w: log the correct amount of time for prescan_cb
2010-12-07 23:49:42 +02:00
Török Edvin
5bdde179bc
c4w: Don't use logg() on shutdown.
...
pthread_mutex_lock may hang.
Also check whether Uninitialize is still active (or was not called at all) on
process detach, and log it.
2010-12-06 13:06:24 +02:00
aCaB
452b15084b
c4w: add missing rc files
2010-11-21 18:17:46 +01:00
aCaB
381f4f8342
c4w: add res
2010-11-21 18:07:50 +01:00
aCaB
99120b01ee
c4w: trim spurious chars away
2010-11-21 17:16:04 +01:00
aCaB
2c6b97387f
unbump win32 ver
2010-11-19 17:11:32 +01:00
aCaB
1c3a58427d
c4w: truncate update.log when it grows > 10MB
2010-11-16 15:57:37 +01:00
aCaB
003047a75f
c4w: cycle clamav.log
2010-11-16 12:08:33 +01:00
Török Edvin
b93481dd06
sigui: only enable Verify and Install when there are signatures.
2010-11-15 23:26:33 +02:00
Török Edvin
81744e61b8
sigui: reload on delete too.
2010-11-15 23:22:59 +02:00
Török Edvin
d4773c6169
Update sigui docs on DB reload.
...
It can now directly communicate with the engine to queue a reload.
2010-11-15 23:14:20 +02:00
Török Edvin
35d3692a77
Initialize pointer.
2010-11-12 20:55:04 +02:00
Török Edvin
d75f955ab4
sigui: use SIGKILL (bb #2376 )
...
in wx SIGTERM means finding window and sending message, freshclam has no window.
2010-11-12 17:26:32 +02:00
aCaB
3709a4cefa
c4w: fix monitor
2010-11-12 15:32:36 +01:00
Török Edvin
48075ec297
sigui: reload communication with c4w
2010-11-12 15:42:16 +02:00
aCaB
89c788837e
c4w: reset the right handle
2010-11-12 02:29:29 +01:00
aCaB
3295244553
c4w: handle status report and force reload from sigui
2010-11-12 01:51:26 +01:00
aCaB
d4afcf98fb
c4w: add limit api
2010-11-11 17:20:47 +01:00
Török Edvin
1f1b13183b
c4w: log libclamav errors.
2010-11-10 14:21:51 +02:00
Török Edvin
56b95528ad
introduce logg_noflush: flush only on warnings and errors
...
c4w: no need to flush on each debug message, just flush on errors/warnings.
2010-11-09 22:41:48 +02:00
Török Edvin
d9641dd3b8
c4w: fix cl_load flags.
...
& CL_DB_OFFICIAL_ONLY was probably meant to be | CL_DB_OFFICIAL_ONLY.
But we want to load all sigs, so just drop that flag.
Also print memusage to log.
2010-11-09 19:02:53 +02:00
aCaB
bc7db351e4
c4w: error path engine leak
2010-11-09 15:15:53 +01:00
Török Edvin
613a67af3b
Updated embedded copy of LLVM to version 2.8 (bb #2327 ).
...
This fixes code generation for CPUs without CMOV, so we can reenable JIT for
these.
Dropped ARM since it was not used (so now it is used on X86 and PPC), and
tests/. So python is no longer required to run 'make check'.
By default the embedded copy is used, if you want to use system's LLVM 2.8 lib
then use ./configure --enable-llvm --with-system-llvm=/path/to/llvm-config.
2010-11-06 15:51:13 +02:00
Török Edvin
8fda300323
win32 llvm-config.h, and .def
2010-11-06 15:50:58 +02:00