Micah Snyder
bcf8634cc7
Adds hardcoded clamav-version.h file to win32 so as to provide the same feature for Windows applications using libclamav.
6 years ago
Micah Snyder (micasnyd)
b819efc769
Updated version strings for 0.102.0-rc.
6 years ago
Micah Snyder
bcb4505e60
bb12370 - cli_strndup and other str* replacements must be built and exported for every OS to be used outside of libclamav on systems that don't have the original functions (e.g. strndup). This commit renames the macros to be uppercase, renames the replacement functions to be preceeded with two understores (e.g. __cli_strndup), and removes the ifdef's so that they are built regardless, because there are no ifdefs in libclamav.map.
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
Micah Snyder
d8408af0df
Updated version strings for 0.102.0-beta.
6 years ago
Mickey Sola
4fee702fc3
clamonacc - conform to clang-format
6 years ago
Mickey Sola
bf5271f117
clamonacc - remove old onaccess_fan.c reference from windows clamd solution
6 years ago
Micah Snyder
0450e68551
Added new EGG archive extraction feature, written from scratch based on ESTsoft's EGG archive specification.
...
EGG extraction support includes deflate, bzip2, and lzma decompression. AZO (LZO?) decompression not yet supported. Solid archives not yet supported. Split archives may have some limited success.
This commit also includes updates to autoconf iconv.m4 file enable detection of libiconv in alternative install locations.
6 years ago
Micah Snyder
5bd5e9ec1c
Windows fixes for TLS certificate caching.
6 years ago
Micah Snyder (micasnyd)
cb9b09afa9
bb12043, bb12302: Adds --foreground freshclam option to help and manpage, some other documentation tweaks.
6 years ago
Micah Snyder
2c1f820095
Old-style db.XY.clamav.net and db.XY.ipv6.clamav.net entries now redirect to https://database.clamav.net .
6 years ago
Micah Snyder
06e3c1c896
Increased default freshclam receive timeout from 30 sec to 60 sec. Set default DatabaseMirror back to database.clamav.net, now that TLS/SSL is enabled on the mirrors that back the CDN. Some other updates to the man pages that were missing from previous changes.
6 years ago
Micah Snyder
8214bafbef
Freshclam logging fixes. The logging features were linked twice, resulting in duplicate symbols for logg settings. On Windows, this manifested as multiple open log file handles which prevented log rotation. This commit fixes that and also alters the rotated log name slightly so that the log file extension is preserved, for Windows compatibility and convenience when viewing in an editor that color codes .log files.
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
6edfa86e3e
Added execs.c to the libclamav visual studio project.
6 years ago
Andrew
92088f91f1
Add support for cert blacklisting and whitelisting upfront
...
Instead of checking the Authenticode header as an FP prevention
mechanism, we now check it in the beginning if it exists. Also,
we can now do actual blacklisting with .crb rules (previously, a
blacklist rule just let you override a whitelist rule).
6 years ago
Micah Snyder
155eaaad8b
bb12284 - Fix to prevent path traversal when using cli_genfname() to generate filenames that may retain path and filename information. Changed scanrar so that it will no longer retain path information for extracted files.
6 years ago
Micah Snyder
50f178dc63
fuzz - 12166 - Fix for 4-byte out of bounds write wherein the an invalid struct pointer member variable is set to zero. The fix adds bounds checking to the Uniq storage 'add' function as well as error code checks. Included a lot of new inline documentation.
6 years ago
Micah Snyder
bbe70a1b9a
Moved the UserManual markdown content to the Cisco-Talos clamav-faq Github repository.
6 years ago
Micah Snyder
52cddcbcfd
Updating and cleaning up copyright notices.
6 years ago
Micah Snyder
6bdace8f6f
Moving CONFDIR and DATADIR definitions out of the Win32 clamav-config.h, to eliminate conflict with directory-finding feature.
6 years ago
Micah Snyder
748fa6b09e
Adding static clamav-types.h for native Windows builds. Supporting changes to hashtab appear to be needed because cltypes.h no longer automatically brings in claamav-config.h.
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
2e26e12cab
Changing ClamAV version number from 0.101.0 to 0.102.0-devel.
6 years ago
Micah Snyder
72fd33c8b2
clang-format'd using new .clang-format rules.
6 years ago
Micah Snyder
f1f31c6acf
Removed rc moniker for the 0.100.0 stable release. Added docs/html back so it may be packaged in the release tarball.
7 years ago
Micah Snyder (micasnyd)
2f28382694
Updated version string to 0.101-rc and incremented the FLEVEL to 101.
7 years ago
Micah Snyder (micasnyd)
08afc0c71e
Removing clamav-for-windows.
7 years ago
Micah Snyder (micasnyd)
6e8e9fca45
Updated win32 zlib dependency from 1.2.5 to 1.2.11.
7 years ago
Micah Snyder
bb62d61ab0
Setting win32 installer name to ClamAV-0.101-beta. Setting recursive option to include user manual docs without having to explicitly list each file.
7 years ago
Micah Snyder
e766303b2f
Removing final references to libmspack-0.5alpha, preventing make dist.
7 years ago
Micah Snyder
420426dd5f
Incrementing the libclamav version numbers to 9.0.0 and setting the version strings to 0.101.0-beta.
7 years ago
Micah Snyder
3aa41eb52a
Removed sdl check from mspack so it possibly-(but not actually)-uninitialized-local-variables will not be treated as an error. Added matcher-byte-comp.c to libclamav.vcxproj.
7 years ago
Micah Snyder (micasnyd)
9a54f5ccd7
Documentation improvements regarding ClamAV installation, initial setup.
7 years ago
Micah Snyder
d3f2158617
Win32 build system updates to account for relocating libmspack and updating to libmspack 0.7.1alpha (had to re-add mspack.def)
7 years ago
Micah Snyder
8cf9b527b0
Updated win32 3rdparty libxml2 to version 2.9.8.
7 years ago
Micah Snyder (micasnyd)
48bbb12a79
Updated win32 3rdparty pcre library to pcre2 version 10.31.
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 (micasnyd)
2459b65198
Replaced vdproj Installer Project setup build files with Inno Setup build file. Updated win32 README accordingly.
7 years ago
Micah Snyder
f67a9b7508
bb12118: Lowering the default PCRERecMatchLimit from 5000 to 2000, to minimize risk of segfault due to bug in older versions of libpcre/libpcrev2.
7 years ago
Micah Snyder (micasnyd)
783fdd34a8
Patch from libxml2 upstream, 899a5d9f0ed13b8e32449a08a361e0de127dd961. Detect infinite recursion in parameter entities. When expanding a parameter entity in a DTD, infinite recursion could lead to an infinite loop or memory exhaustion.
7 years ago
Micah Snyder (micasnyd)
94d2a14861
Update to the Setup*.vdproj files to ensure that a build gets the correct platform artifacts (x64 or Win32). Additionally added UserManual, NEWS, ChangeLog files.
7 years ago
Micah Snyder (micasnyd)
79b6015287
Explicitely building 3rdparty/pthreads-win32 as a separate DLL and dynamically linking it with libclamav.
7 years ago
Micah Snyder
b6eb17bb5b
Updating the version strings for the clamav installers to 101.
7 years ago
Micah Snyder
56496ac7bb
Adding the Setup-x86 installer project file to the x86 (Win32) build configuration. It was apparently missing and was skipped when you try to 'build all'
7 years ago
Micah Snyder
d64cd9defd
Updated version-related strings, structs, FLEVEL for 0.101.0(-devel).
7 years ago
Micah Snyder
64e2fedac7
Updated the NEWS.md, and reformatted it to improve the markdown. updated the version string from 0.100.0-rc to 0.100.0 in preparation for the release.
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