Micah Snyder
f47c524f70
Fixes clamdscan and clamscan crashes on Windows
...
This addresses an issue introduced early in 0.103 development when the
start/end timestamps were added to the scan summary.
The localtime function equivalent on Windows has the argument order reversed.
6 years ago
Mickey Sola
a0e8d2ffbb
autojunk'd
6 years ago
Jonathan Sabbe
83d6f64469
Adds clamscan start and end dates on summary
6 years ago
Mickey Sola
5b7fac5aeb
autojunk'd
6 years ago
Mickey Sola
56a068c29f
autojunk'd
6 years ago
Micah Snyder
10c06218aa
Autojunk'd
6 years ago
Mickey Sola
28459aec91
autojunk'd
6 years ago
Micah Snyder
d39035d95d
Autojunk'd
6 years ago
Micah Snyder (micasnyd)
6a0abb897a
Adds --max-scantime clamscan option and MaxScanTime clamd config option.
...
--max-scantime replaces the --timelimit clamscan option that had been experimental.
Default max-scantime set to 2 minutes (120000 milliseconds).
6 years ago
Mickey Sola
f7d82063dd
autojunk'd
6 years ago
Mickey Sola
3921323b62
autojunk'd
6 years ago
Mickey Sola
4ca79bd7cb
autojunk'd
6 years ago
Mickey Sola
18b723e697
autojunk'd
6 years ago
Mickey Sola
3733a8795e
clamonacc - move and configure fts fix
6 years ago
Mickey Sola
1b264c0bf2
clamonacc - update autotools scripts to get clamd and onacc building; autojunk'd
6 years ago
Micah Snyder
5f4f69102d
Correcting types from int to cl_error_t where appropriate. Eliminating unused variables and referencing unused parameters to remove warnings.
6 years ago
Micah Snyder
c3cc2841e7
Autojunk'd
6 years ago
Micah Snyder
5fef7399da
Autojunk'ed
6 years ago
Micah Snyder (micasnyd)
b3c740af47
bb12336 - Fix to tmpdir access check in clamscan when using stdin scanning. The access check mistakenly assumed the use of the clamav user account.
6 years ago
Micah Snyder
737ec1ef21
Corrections to freshclam logging initialization. Added notation to --help output for --stdout option to indicate that debug messages will not be redirected. Changing direct calls to cli_dbgmsg_internal to use cli_dbgmsg, as cli_dbgmsg_internal always prints, even when --debug is not enabled.
6 years ago
Micah Snyder
cef54eaf8f
Freshclam refresh. This update makes libcurl a hard requirement for ClamAV.
...
New features added to freshclam:
- Update signature definitions over HTTPS.
- Support for HTTP protocol v1.1 (formerly v1.0).
- New libfreshclam library with an all new API and versioning separate from libclamav (v2.0.0). This library is now build and installed alongside libclamav as a hard dependency of freshclam.
- The ability to opt-in and opt-out of standard and optional official ClamAV databases (ExtraDatabase, ExcludeDatabase)
- The option to specify the protocol and port number of official and private mirror servers.
- Support for additional types of proxy servers beyond plain HTTP (SOCKS 4, SOCKS 5).
Features removed from freshclam:
- Mirror management (mirrors.dat) file. This feature is no longer needed as official signature databases are distributed using a paid content delivery network (Cloudflare).
This commit also adds the following features for Windows users:
- The clamsubmit tool.
- The json-c library dependency, which will enable the --gen-json option in clamscan.
- Third party libraries under the win32/3rdparty directory have been removed. Developers will need to build the libraries separately from ClamAV and provide the headers and lib/dll library files the same way they do for OpenSSL. This includes libxml2, pthread-win32, bzip2, zlib, pcre2 as well as new dependencies: curl, json-c. Developers are encouraged to use the build tool Mussels to simplify this task.
6 years ago
Micah Snyder
fe4433b01f
Autojunk'd
6 years ago
Mickey Sola
393edc437d
automake'd
6 years ago
Micah Snyder
52cddcbcfd
Updating and cleaning up copyright notices.
6 years ago
Micah Snyder
b3e82e5e61
Replacing libclamav/cltypes.h with clamav-types.h.in, which generates a header clamav-types.h that we install alongside clamav.h.
6 years ago
Micah Snyder (micasnyd)
ce6402f7fe
Added oss-fuzz integration.
6 years ago
Micah Snyder
72fd33c8b2
clang-format'd using new .clang-format rules.
6 years ago
Micah Snyder
38fe8b69a0
Added .clang-format style rules, clam-format script to automate formatting of ClamAV code, and preparing select files so that clang-format does not alter carefully formatted sections.
6 years ago
Micah Snyder
7b563ca798
Enabling configure option --with-system-libmspack that will allow use of libmspack installations in /usr or /usr/local in favor of the version provided by ClamAV.
7 years ago
Micah Snyder
b563e84083
Moved libmspack-0.5alpha from libclamav to libclammspack, and restructured the build so that there should be no need to modify the libmspack build files in the future (i.e. libmspack autoconf and automake files aren't actually used).
7 years ago
Micah Snyder (micasnyd)
78606d72ed
Correction to logic enabling/disabling heuristic alerts.
7 years ago
Micah Snyder (micasnyd)
cca445ee87
Correction to enabling dev-performance bug introduced with the scan options change, and enablig dev-performance on Mac.
7 years ago
Micah Snyder
d39cb6581f
Updating libclamunrar from legacy C implementation to modern unrar 5.6.5. API changes and supporting changes included to pass the filepath of the scanned file into libclamav through the cli_ctx structure, required by the unrar library to open archives. The filename argument may be optional for the scandesc scanning variant, but libclamav will make a best effort to identify the filename from the file descriptor if it was not provided. In addition, included the ability to prefix temp file and directory names with file basenames.
7 years ago
Micah Snyder (micasnyd)
f61e92da8f
Changing numerous scan options' names, primarily those of heuristic signatature alert options. Original options (command line and clamd) will remain as deprecated & undocumented for a couple releases. Added 2 extra scan options to allow users to differentiate between alerting on encrypted archives vs encrypted documents (bb11911).
7 years ago
Micah Snyder
d7979d4ff7
Restructured scan options flags from a single bitflag field to a structure containing multiple bitflag fields. This also required adding a new function to the bytecode API to get scan options a la carte, and modifying the existing function to hand back scan options in the old/deprecated uint32_t bitflag format. Re-generated bytecode iface header files.
...
Updated libclamav documentation detailing new scan options structure.
Renamed references to 'algorithmic' detection to 'heuristic' detection. Renaming references to 'properties' to 'collect metadata'.
Renamed references to 'scan all' to 'scan all match'.
Renamed a couple of 'Hueristic.*' signature names as 'Heuristics.*' signatures (plural) to match majority of other heuristics.
7 years ago
Micah Snyder
e551468a03
Initializing virname to NULL in cases where it was uninitialized.
7 years ago
Mickey Sola
8c2fae4a89
bb12087 - 0.101 - updating to libtool v2.4.6, autojunking, and adding markdown files to make dist target
7 years ago
Micah Snyder
e96b53b68b
Autoreconf with stock libtool 2.4.2
7 years ago
Micah Snyder
964a1e7321
Converting http urls to https urls. Primary focus was on clamav.net urls. I updated a couple others and fixes a few broken links as well. There are many (non-clamav.net) urls I didn't address, especially in 3rd party or contrib code.
7 years ago
Kevin Lin
f0ede479e2
CLAM-49: add missing semicolon
7 years ago
Kevin Lin
68bf8dd8ba
CLAM-49: throw error if using --gen-json without linking libjson-c
7 years ago
Micah Snyder
e098cdc557
Updating help strings, to include a couple missing items as well as copyrights. updating man page files as well.
7 years ago
Micah Snyder
77b50dbc5c
autoreconf -ivf.
7 years ago
Kevin Lin
99d459b477
autoreconf
7 years ago
Micah Snyder
c0ac544738
autoreconf one more time with newer version of autotools to account for issues with argz_.h under make dist.
7 years ago
Micah Snyder
545216bb68
autoreconf -fi this time to correctly update libmspack linking changes.
7 years ago
Micah Snyder
c9a070c9d3
More cleanup re: variables possibly used before initialized.
7 years ago
Micah Snyder
6c59352535
autoreconf, regenerated pdfs, html docs.
7 years ago
Micah Snyder
22880de038
eliminating additional option references to stat collection and submission until such time as a new stats website and associated clamav code is ready.
8 years ago
Mickey Sola
9f620604c9
autojunk'd
8 years ago