Commit graph

109 commits

Author SHA1 Message Date
Joel Esler
00fb0d9118 Fixed broken links.
Across the whole of the product.
2014-09-02 11:29:35 -04:00
Shawn Webb
6df13d049e Finish phase 1 of silencing compiler warnings 2014-07-11 09:30:58 -04:00
Shawn Webb
78ee2250ae Call cl_initialize_crypto() in cl_init() 2014-07-03 22:14:40 -04:00
Shawn Webb
60d8d2c352 Move all the crypto API to clamav.h 2014-07-01 19:38:01 -04:00
Shawn Webb
f9afc3092f Cleanup OpenSSL on program exit 2014-05-09 17:14:21 -04:00
Shawn Webb
bbab63daec Initialize OpenSSL within the application, not within libclamav 2014-05-09 16:19:00 -04:00
Shawn Webb
e22e387abb Fix specifying an anonymous HostID. Fix grabbing the HostID on FreeBSD. 2014-03-18 13:12:26 -04:00
Shawn Webb
d4a7c3a022 Properly initialize the crypto interfaces on Windows platforms 2014-03-07 14:09:46 -05:00
Shawn Webb
387021619b Turn stats into an opt-in feature rather than an opt-out feature for the 0.98.2 release 2014-03-07 13:09:37 -05:00
Shawn Webb
b842e8bf75 Migrate ClamAV's crypto routines over to OpenSSL. 2014-02-12 17:55:38 -05:00
Shawn Webb
b2e7c931d0 Use OpenSSL for hashing. 2014-02-08 00:31:12 -05:00
Shawn Webb
0c58ddd290 Fix some bugs 2014-02-06 12:17:00 -05:00
Shawn Webb
2e4613432e Don't free the options list too early 2014-02-05 09:41:53 -05:00
Shawn Webb
4e1236c802 Add option for configuring the timeout for stats submissions 2014-02-03 17:23:26 -05:00
Shawn Webb
e8a1a9056c Add ability to disable stats 2014-01-29 13:48:33 -05:00
Shawn Webb
e07b295d95 Remove existing stats gathering framework from clamd
Conflicts:
	clamd/clamd.c
2014-01-28 10:46:47 -05:00
Shawn Webb
73aba89d82 Add support for setting the HostID in clamd
Conflicts:
	clamd/clamd.c
2014-01-28 10:45:02 -05:00
Shawn Webb
e580b6a2a3 Free lsockets when clamd exits 2014-01-28 09:43:33 -05:00
Shawn Webb
f0e1c2e657 Fix Valgrind. Fix listening on all interfaces on Linux. 2014-01-27 14:55:36 -05:00
Shawn Webb
8c241c57a8 Add IPv6 support to clamd. 2014-01-27 14:55:10 -05:00
Shawn Webb
14a7c47b30 Retab clamd.c 2014-01-27 14:55:01 -05:00
Shawn Webb
34e9acb098 Add option to disable the cache. Add a new bitfield in the engine struct that will govern options relating to engine internals. 2013-11-15 19:15:20 +00:00
David Raynor
3cab931d78 Add ForceToDisk option for clamd and force-to-disk arg for clamscan 2013-11-08 17:10:43 -05:00
Shawn Webb
d9b6b8c757 bb#8993 - Rename the STAT macro to CLAMSTAT to avoid name conflicts on AIX 2013-09-25 16:23:10 -04:00
Shawn Webb
757cf211fb bb6093 - check return value of fcntl 2013-02-28 19:42:41 -05:00
Shawn Webb
5cc4cb86c7 bb5638 - Add ability to completely disable PE authenticode verification. 2012-11-30 09:57:25 -05:00
Shawn webb
42ccf9c20e BB#5659 - 4.0.0.8955 Consumer - Created a 1GB+ Clamav.log by running continious full scans for 10 hours. Add LogRotate config variable. 2012-08-20 10:53:25 -04:00
Shawn webb
a2a004df25 BB#3737 - Value too large for specified data type
Create compile-time preprocessor defines for switching from calling
stat() to stat64(). Add --enable-stat64 switch in configure script.
2012-07-16 15:36:49 -04:00
Török Edvin
38d7e5d248 clamd: fix log message verbosity 2011-07-25 20:00:30 +03:00
Török Edvin
b21d2db5c5 logg_size is unsigned 2011-06-12 10:07:16 +03:00
Tomasz Kojm
b33354e55c cosmetics (bb#2207) 2011-03-11 20:30:45 +01:00
Tomasz Kojm
62315ce69a clamd: add new config option BytecodeUnsigned (bb#2537); drop
"None" from BytecodeSecurity
clamscan: add new switch --bytecode-unsigned and drop --bytecode-trust-all
2011-02-17 19:17:35 +01:00
Török Edvin
a347ecc9c1 Fix RLIMIT_DATA (bb #1941).
Set limit only when >2GB (not when equal), and set it to 2GB, not 2MB.
Based on patch from Andreas Longwitz.
2010-11-23 13:14:58 +02:00
Tomasz Kojm
49f8de2207 clamd: add new commands DETSTATS and DETSTATSCLEAR (part of bb#2312) 2010-11-03 13:41:06 +01:00
Török Edvin
769f37a6f6 Default off, you can turn on via 'DevLiblog'.
This also replaces the cli_*_stats variants with a callback for stats,
so that clamd can call the cl_*_callback variants instead, and pass the filename
as context.
2010-11-02 12:26:33 +02:00
Török Edvin
8b94e259c6 Only enable RLIMIT_DATA warning on *BSD. 2010-09-22 10:38:57 +03:00
Török Edvin
9011cf1ef5 Limit RLIMIT_DATA to 2GB on 32-bit processes (bb #1941).
With RLIMIT_DATA > 2GB a 32-bit FreeBSD 7.3 allows ~120M memory to be allocated
via mmap before failing.
With RLIMIT_DATA set to 2GB it allows ~890M memory.
So check the RLIMIT_DATA and set it just below 2G.

You can also just do 'ulimit -d 2097151' to get the effects of this patch.
2010-08-31 15:51:07 +03:00
Török Edvin
e67790c658 Add clamd handling. 2010-07-29 14:07:00 +03:00
Tomasz Kojm
b4b1a32734 clamd/clamd.c: be more verbose when daemonize() fails (bb#2062) 2010-06-15 16:14:07 +02:00
Tomasz Kojm
bca0b67921 tools: make sure the libclamav version is high enough (bb#2013) 2010-05-10 17:05:16 +02:00
Török Edvin
d46d32b723 Fix typo
(thanks Tomasz).
2010-03-24 19:14:54 +02:00
Török Edvin
b63681a52b Introduce BytecodeTimeout. 2010-03-22 17:16:07 +02:00
Török Edvin
606fd6d0f1 Allow "None" bytecode security setting only in --enable-debug mode. 2010-03-10 14:30:31 +02:00
aCaB
e394c51305 bb#1789 - part two 2010-02-04 22:01:05 +01:00
aCaB
cf5fc21912 fchxxx won't work on a socket 2010-02-04 17:56:10 +01:00
aCaB
ab56ca922e bb#1789 - part one 2010-02-04 17:32:42 +01:00
aCaB
3b074c7878 clamd-win32 - WIP 2010-01-28 23:54:20 +01:00
Török Edvin
be43f951c6 BytecodeSecurity setting. 2010-01-22 16:50:35 +02:00
Tomasz Kojm
0c234f5ffd CL_DB_CVDNOTMP is now the only way to load .cvd/.cld files; prepare
for .info signing
2010-01-20 15:02:13 +01:00
Török Edvin
46e2863c4c Merge branch 'master' into bytecode
* master: (182 commits)
  libclamav/qsort.c: fix CMP1 macro (bb#1769)
  handle floating chars
  libclamav/readdb.c: make sure static sigs with floating chars go into AC
  sigtool: --decode-sigs: handle alternatives
  sigtool: --decode-sigs: handle .ldb sigs
  inflateinit spam
  sigtool: --decode-sigs: handle .ndb sigs
  fix sig printing
  Set limit to 255 so that warning is shown if maxthreads*maxrec would exceed it.
  Enable more than 256 FD support on Solaris (bb #1764).
  fix memleaks
  sigtool: --decode-sigs; decode .db entries (bb#1246)
  fsk sxs, gimme back my dll hell!
  Fix Solaris build: cli_hex2ui has to be added to libclamav.map
  Don't error on unused functions.
  sigtool: basic sig decoding
  sigtool/sigtool.c: handle .ign2 files (bb#1625)
  libclamav/qsort.c: don't call med3 when using internal cmp
  win32: fix globbing
  unify DUPMAX def
  ...

Conflicts:
	.gitignore
	Makefile.am
	configure
	libclamav/Makefile.in
	libclamav/clamav.h
	libclamav/disasm.c
	libclamav/libclamav.map
	libclamav/matcher.c
	libclamav/others.c
	libclamav/pe.c
	libclamav/pe.h
	libclamav/readdb.c
2009-12-03 11:25:24 +02:00