Commit Graph

7644 Commits

Author SHA1 Message Date
Shawn Webb
898fc8fb11 Fix typo 2014-01-28 11:39:59 -05:00
Shawn Webb
58ca30cf0d Revert "Temporarily disable the actual submission of stats to the stats server in order to run the regression suite"
This reverts commit dd2f7d743e.
2014-01-28 10:48:26 -05:00
Shawn Webb
4ba4b72f82 Temporarily disable the actual submission of stats to the stats server in order to run the regression suite 2014-01-28 10:48:21 -05:00
Shawn Webb
e6bcbd5add Fix Valgrind. Fix bug with clamd reloading database, forcing a stats submission. 2014-01-28 10:48:17 -05:00
Shawn Webb
e6786fef39 Fix Windows build 2014-01-28 10:48:13 -05:00
Shawn Webb
186712e09f Free the section hash data in the right spot 2014-01-28 10:48:08 -05:00
Shawn Webb
7db9ec7452 Phase 2 of gathering PE section hash data 2014-01-28 10:48:03 -05:00
Shawn Webb
c9dd1aaaa8 Submit the PE section hashes 2014-01-28 10:47:51 -05:00
Shawn Webb
43adde3e77 Fix a couple bugs 2014-01-28 10:47:46 -05:00
Shawn Webb
3c29ca0b10 Phase 1 of reporting hashes of PE sections
Conflicts:
	libclamav/stats.h
2014-01-28 10:47:38 -05:00
Shawn Webb
06bd94f0fd Retab cli_checkfp() 2014-01-28 10:47:15 -05:00
Shawn Webb
8fdd05d2aa Retab cli_checkfp_pe() 2014-01-28 10:47:10 -05:00
Shawn Webb
5417061645 Remove redundant code 2014-01-28 10:47:04 -05:00
Shawn Webb
00b9ef3b3a Fix async sockets code 2014-01-28 10:47:00 -05:00
Shawn Webb
ecd859c17d Remove existing stats submission code for freshclam 2014-01-28 10:46:55 -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
c4cd560b75 Add support for setting the HostID in clamscan
Conflicts:
	clamscan/manager.c
2014-01-28 10:45:44 -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
a109495489 Copy over the stats callbacks with the settings object 2014-01-28 10:39:49 -05:00
Shawn Webb
b7485a222c Add support for setting the HostID in freshclam 2014-01-28 10:39:36 -05:00
Shawn Webb
a7cba048a8 Support streaming from stdin 2014-01-28 10:39:31 -05:00
Shawn Webb
b11a8465dd Make the MD5 hash appear as an UUID 2014-01-28 10:39:25 -05:00
Shawn Webb
20ed22bce0 Only use async mode for the initial connection. 2014-01-28 10:39:19 -05:00
Shawn Webb
b28c454e6c Switch to using the existing file upload functionality in clamav.net 2014-01-28 10:39:15 -05:00
Shawn Webb
dbc6d4b2ce Submit basic host info when starting up freshclam 2014-01-28 10:39:10 -05:00
Shawn Webb
7c92a662d9 Add functions to set the stats callbacks. Don't submit stats when verifying CVDs. 2014-01-28 10:39:05 -05:00
Shawn Webb
542d85184f Fix bug 2014-01-28 10:38:59 -05:00
Shawn Webb
7dfd039cc3 Support using a custom HostID (to support anonymous submissions) 2014-01-28 10:38:54 -05:00
Shawn Webb
2682e7ddbf Add basic submission code 2014-01-28 10:38:48 -05:00
Shawn Webb
f310738305 Initial commit for clamsubmit app 2014-01-28 10:38:40 -05:00
Shawn Webb
8fc15040e7 Use a select-based timeout when receiving data back from the stats server 2014-01-28 10:38:15 -05:00
Shawn Webb
64b1b3e1ee Check useAsync when checking if connect() failed. 2014-01-28 10:38:10 -05:00
Shawn Webb
212b72c47b Use async socket 2014-01-28 10:38:05 -05:00
Shawn Webb
7042d882f8 Use \r\n for line termination 2014-01-28 10:38:00 -05:00
Shawn Webb
e256eaa9a6 Get rid of the sample prefix. Stuff the hash in a member of the json object. 2014-01-28 10:37:56 -05:00
Shawn Webb
f721facae0 Support GET, PUT, and POST. Ditch chunked transfer encoding. Always use form encoding when POSTing or PUTing data. 2014-01-28 10:37:49 -05:00
Shawn Webb
54e9f2f924 Switch to using Chunked transfer encoding to better fit a RESTful service paradigm. 2014-01-28 10:37:43 -05:00
Shawn Webb
ff42cc7af8 Add cache.h to others.c
Conflicts:
	libclamav/others.c
2014-01-28 10:37:31 -05:00
Shawn Webb
d9a334802e Make Windows build happy. Style changes.
Conflicts:
	libclamav/ole2_extract.c
2014-01-28 10:35:08 -05:00
Shawn Webb
e43a53ac1c Fix typo 2014-01-28 10:32:40 -05:00
Shawn Webb
174a7eccc9 Make valgrind happy. Fix typos. 2014-01-28 10:32:35 -05:00
Shawn Webb
0882a90448 Tidy up code 2014-01-28 10:32:31 -05:00
Shawn Webb
cfeb77233f Remove some debugging code. Add explanatory comments. 2014-01-28 10:32:26 -05:00
Shawn Webb
b79ea1a382 Correctly get the last virus name 2014-01-28 10:32:20 -05:00
Shawn Webb
2d6361a9d0 Submit stats to dev server
Conflicts:
	libclamav/stats.h
2014-01-28 10:32:09 -05:00
Shawn Webb
643c3caaad Fix building on Linux 2014-01-28 10:31:26 -05:00
Shawn Webb
aeafdcc09e Grab MAC addresses on OpenBSD 2014-01-28 10:31:21 -05:00
Shawn Webb
53242b9796 Use the system GUID on Windows systems 2014-01-28 10:31:07 -05:00
Shawn Webb
5ba45c0f99 OpenBSD fix #2 2014-01-28 10:31:00 -05:00
Shawn Webb
fbc144c0ea Fix building on OpenBSD 2014-01-28 10:30:54 -05:00