Mailing List Archive

[clamav-users] ClamAV 0.105 release candidate
Read this announcement online at https://blog.clamav.net/2022/03/clamav-01050-release-candidate-now.html



We are excited to announce the ClamAV 0.105.0 release candidate<https://draft.blogger.com/#>.


Please help us validate this release. We need your feedback, so let us know what you find and join us on the ClamAV mailing list<https://draft.blogger.com/#>, or on our Discord<https://draft.blogger.com/#>.

This release candidate phase is only expected to last about two to four weeks before the 0.105.0 Stable version will be published. Take this opportunity to verify that you 0.105.0 can build and run in your environment.

There is one known issue:

* Yara rules containing regex strings will fail to load. The fix for this issue<https://draft.blogger.com/#> will be in the final release or next release candidate.

Please submit bug reports to the ClamAV project GitHub Issues<https://draft.blogger.com/#>.



ClamAV 0.105.0 includes the following improvements and changes.

New Requirements

* Starting with ClamAV v0.105, the Rust toolchain is required to compile ClamAV.

You can install the Rust toolchain for your development environment by following the instructions on the rustup<https://draft.blogger.com/#> website. Some binary package distributions do provide relatively up-to-date packages of the Rust toolchain, but many do not. Using rustup ensures that you have the most up-to-date Rust compiler at the time of installation. Keep your toolchain updated for new features and bug/security fixes by periodically executing:

rustup update

Building ClamAV requires, at a minimum, Rust compiler version 1.56, as it relies on features introduced in the Rust 2021 Edition.

ClamAV's third-party Rust library dependencies are vendored into the release tarball (clamav-<version>.tar.gz) file that we publish on clamav.net/downloads<https://draft.blogger.com/#>. But, if you build from a Git clone or from an unofficial tarball taken from GitHub.com, you will need the internet to download the Rust libraries during the build.

Major changes

* Increased the default limits for file-size and scan-size:

* MaxScanSize: 100M -> 400M
* MaxFileSize: 25M -> 100M
* StreamMaxLength: 25M -> 100M
* PCREMaxFileSize: 25M -> 100M
* MaxEmbeddedPE: 10M -> 40M
* MaxHTMLNormalize: 10M -> 40M
* MaxScriptNormalize: 5M -> 20M
* MaxHTMLNoTags: 2M -> 8M
* Added image fuzzy hash subsignatures for logical signatures.

Image fuzzy hash subsignatures are a new feature for detecting images known to be used in phishing campaigns or otherwise used when distributing malware.

Image fuzzy hash subsignatures follow this format:

fuzzy_img#<hash>

For example:

logo.png;Engine:150-255,Target:0;0;fuzzy_img#af2ad01ed42993c7
logo.png-2;Engine:150-255,Target:0;0&1;49484452;fuzzy_img#af2ad01ed42993c7

This initial implementation does not support matching with a hamming distance. Support for matching with a hamming distance may be added in a future release.

ClamAV's image fuzzy hash is very close to, but not 100% identical to, the fuzzy hash generated by the Python imagehash package's phash() function. Note that these are only clean-room approximations of the pHash™? algorithm. ClamAV's image fuzzy hashes are not expected to match the fuzzy hashes generated using other tools. Some images may match, while others do not.

To generate the image fuzzy hash you can run this command:

clamscan --gen-json --debug /path/to/file

The hash will appear in the JSON above the "SCAN SUMMARY" under the object named "ImageFuzzyHash".

* ClamScan & ClamDScan (Windows-only):

* Added a process memory scanning feature from ClamWin's ClamScan.

This adds three new options to ClamScan and ClamDScan on Windows:

* --memory
* --kill
* --unload

Special thanks to:

* Gianluigi Tiesi for allowing us to integrate the Windows process memory scanning feature from ClamWin into the ClamAV.
* Grace Kang for integrating the ClamScan feature, and for extending it to work with ClamDScan in addition.

Notable changes

* Updated the LLVM bytecode runtime support so that it can use LLVM versions 8 through 12 and removed support for earlier LLVM versions. Using LLVM JIT for the bytecode runtime may improve scan performance over the built-in bytecode interpreter runtime, which is the default. If you wish to build using LLVM, you must obtain a complete build of the LLVM libraries including the devopment headers and static libraries.

There are some known issues both compiling and running the test suite with some LLVM installations. We are working to further stabilize LLVM bytecode runtime support, and document specific edge cases. Your feedback is welcome.

For details about building ClamAV with the LLVM bytecode runtime, see the install reference documentation<https://draft.blogger.com/#>.

* Added a GenerateMetadataJson option to ClamD. The functionality is equivalent to the clamscan --gen-json option. Scan metadata is useful for file analysis and for debugging scan behavior. If Debug is enabled, ClamD will print out the JSON after each scan. If LeaveTemporaryFiles is enabled, ClamD will drop a metadata.json file in the scan-temp directory. You can customize the scan-temp directory path using the TemporaryDirectory option.

* The libclamunrar.so library's SO version now matches that of libclamav.so. The upstream UnRAR library does not have an SO version that we should match. This change is to prevent a possible collision when multiple ClamAV versions are installed.

* CMake: Added support for using an external TomsFastMath library (libtfm).

To use an external TomsFastMath library, configure the build with the new option -D ENABLE_EXTERNAL_TOMSFASTMATH=ON. The following CMake variables may also be set as needed:

* -D TomsFastMath_INCLUDE_DIR=<path> - The directory containing tfm.h.
* -D TomsFastMath_LIBRARY=<path> - The path to the TomsFastMath library.

Also updated the vendored TomsFastMath code to version 0.13.1.

Other improvements

* Freshclam:

* Improve ReceiveTimeout behavior so that will abort a download attempt if the download is not making significant progress. Previously this limit was an absolute time limit for the download and could abort prematurely for those on a slower connection. Special thanks to Simon Arlott for this improvement.
* Rewrote the ClamAV database archive incremental-update feature (CDIFF) from scratch in Rust. The new implementation was our first module to be rewritten in Rust. It is significantly faster at applying updates that remove large numbers of signatures from a database, such as when migrating signatures from daily.cvd to main.cvd.

* Freshclam & ClamD:

* Increased the maximum line-length for freshclam.conf and clamd.conf from 512-characters to 1024-characters. This change was by request to accommodate very long DatabaseMirror options when using access tokens in the URI.
* Removed the Heuristics.PNG.CVE-2010-1205 detection. This alert had been placed behind the --alert-broken-media (SCAN_HEURISTIC_BROKEN_MEDIA) option in 0.103.3 and 0.104 because of excessive alerts on slightly malformed but non- malicious files. Now it is completely removed.

* Added support for building ClamDTop using ncursesw if ncurses can not be found. Patch courtesy of Carlos Velasco.

Bug fixes

* ClamOnAcc: Fixed a number of assorted stability issues and added niceties for debugging ClamOnAcc. Patches courtesy of Frank Fegert.

* Fixed an issue causing byte-compare subsignatures to cause an alert when they match even if other conditions of the given logical signatures were not met.

* Fixed an issue causing XLM macro false positives when scanning XLS documents containing images if the --alert-macros (AlertOLE2Macros) option was enabled.

* Fixed an issue preventing multiple matches when scanning in all-match mode.

* Docker:

* Fixed an issue exposing the health check port. Patch courtesy of Sammy Chu.
* Fixed an issue with health check failure false positives during container startup. Patch courtesy of Olliver Schinagl.
* Set the default time zone to Etc/UTC. The --env parameter can be used to customize the time zone by setting TZ environment variable. Patch courtesy of Olliver Schinagl.
* Added support for detecting the curses library dependency even when the associated pkg-config file is not present. This resolves a build issue on some BSD distributions. Patch courtesy of Stuart Henderson.

* Assorted bug fixes and improvements.

Acknowledgements

The ClamAV team thanks the following individuals for their code submissions:

* Ahmon Dancy
* Alexander Sulfrian
* Carlos Velasco
* Bernd Kuhls
* David Korczynski
* Fabrice Fontaine
* Frank Fegert
* Gianluigi Tiesi
* Giovanni Bechis
* Grace Kang
* John Humlick
* Jordan Ernst
* JunWei Song
* mko-x
* Olliver Schinagl
* Sammy Chu
* Sergey Valentey
* Simon Arlott
* Stuart Henderson
* Yann E. Morin


Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
From: "Micah Snyder \(micasnyd\) via clamav-users" <clamav-users@lists.clamav.net>
Subject: [clamav-users] ClamAV 0.105 release candidate
Date: Mon, 14 Mar 2022 20:14:18 +0000

> Read this announcement online at https://blog.clamav.net/2022/03/clamav-01050-release-candidate-now.html
>
> We are excited to announce the ClamAV 0.105.0 release candidate.
>
> Please help us validate this release. We need your feedback, so let us know what you find and join us on the
> ClamAV mailing list, or on our Discord.
>
> This release candidate phase is only expected to last about two to four weeks before the 0.105.0 Stable
> version will be published. Take this opportunity to verify that you 0.105.0 can build and run in your
> environment.
>
> There is one known issue:
>
> • Yara rules containing regex strings will fail to load. The fix for this issue will be in the final
> release or next release candidate.
>
> Please submit bug reports to the ClamAV project GitHub Issues.

I tried to download source archive of 0.105.0-rc but it fails with 403
forbitten.

yasu@rolling-vm-freebsd2[1373]% wget https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz

--2022-03-15 09:25:16-- https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz
Resolving www.clamav.net (www.clamav.net)... 2606:4700::6810:db54, 2606:4700::6810:da54, 104.16.218.84, ...
Connecting to www.clamav.net (www.clamav.net)|2606:4700::6810:db54|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-03-15 09:25:17 ERROR 403: Forbidden.

yasu@rolling-vm-freebsd2[1374]%

---
Yasuhiro KIMURA

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
Same behavior with previous version:

? ~ wget https://www.clamav.net/downloads/release_candidate/clamav-0.104.2.tar.gz
--2022-03-14 17:34:36-- https://www.clamav.net/downloads/release_candidate/clamav-0.104.2.tar.gz
Resolving www.clamav.net (www.clamav.net)... 2606:4700::6810:da54, 2606:4700::6810:db54, 104.16.218.84, ...
Connecting to www.clamav.net (www.clamav.net)|2606:4700::6810:da54|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-03-14 17:34:37 ERROR 403: Forbidden.

But both work via the browser. Maybe a User Agent issue?

--Michael

From: clamav-users <clamav-users-bounces@lists.clamav.net> on behalf of Yasuhiro Kimura <yasu@utahime.org>
Date: Monday, March 14, 2022 at 5:29 PM
To: clamav-users@lists.clamav.net <clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] ClamAV 0.105 release candidate
From: "Micah Snyder \(micasnyd\) via clamav-users" <clamav-users@lists.clamav.net>
Subject: [clamav-users] ClamAV 0.105 release candidate
Date: Mon, 14 Mar 2022 20:14:18 +0000

> Read this announcement online at https://blog.clamav.net/2022/03/clamav-01050-release-candidate-now.html
>
> We are excited to announce the ClamAV 0.105.0 release candidate.
>
> Please help us validate this release. We need your feedback, so let us know what you find and join us on the
> ClamAV mailing list, or on our Discord.
>
> This release candidate phase is only expected to last about two to four weeks before the 0.105.0 Stable
> version will be published. Take this opportunity to verify that you 0.105.0 can build and run in your
> environment.
>
> There is one known issue:
>
> • Yara rules containing regex strings will fail to load. The fix for this issue will be in the final
> release or next release candidate.
>
> Please submit bug reports to the ClamAV project GitHub Issues.

I tried to download source archive of 0.105.0-rc but it fails with 403
forbitten.

yasu@rolling-vm-freebsd2[1373]% wget https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz

--2022-03-15 09:25:16-- https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz
Resolving www.clamav.net<http://www.clamav.net> (www.clamav.net<http://www.clamav.net>)... 2606:4700::6810:db54, 2606:4700::6810:da54, 104.16.218.84, ...
Connecting to www.clamav.net<http://www.clamav.net> (www.clamav.net<http://www.clamav.net>)|2606:4700::6810:db54|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-03-15 09:25:17 ERROR 403: Forbidden.

yasu@rolling-vm-freebsd2[1374]%

---
Yasuhiro KIMURA

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
Citeren "Michael Peterson (mipeter2) via clamav-users"
<clamav-users@lists.clamav.net>:

> Same behavior with previous version:
>
> ? ~ wget
> https://www.clamav.net/downloads/release_candidate/clamav-0.104.2.tar.gz
> --2022-03-14 17:34:36--
> https://www.clamav.net/downloads/release_candidate/clamav-0.104.2.tar.gz
> Resolving www.clamav.net (www.clamav.net)... 2606:4700::6810:da54,
> 2606:4700::6810:db54, 104.16.218.84, ...
> Connecting to www.clamav.net
> (www.clamav.net)|2606:4700::6810:da54|:443... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 2022-03-14 17:34:37 ERROR 403: Forbidden.
>
> But both work via the browser. Maybe a User Agent issue?

Same here. This is problematic for at least the openSUSE Build System,
as it is impossible to submit packages when the source files can't be
downloaded at least once from the origin servers. There is no control
over the User Agent string in this case, so this is a showstopper.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
On Mon, 14 Mar 2022, Micah Snyder (micasnyd) via clamav-users wrote:

> Read this announcement online at
> https://blog.clamav.net/2022/03/clamav-01050-release-candidate-now.html

> Notable changes

> * Updated the LLVM bytecode runtime support so that it can
> use LLVM versions 8 through 12 and removed support for earlier LLVM
> versions. Using LLVM JIT for the bytecode runtime may improve scan
> performance over the built-in bytecode interpreter runtime, which is
> the default. If you wish to build using LLVM, you must obtain a
> complete build of the LLVM libraries including the devopment headers
> and static libraries.
>
> There are some known issues both compiling and running the test
> suite with some LLVM installations. We are working to further
> stabilize LLVM bytecode runtime support, and document specific edge
> cases. Your feedback is welcome.

LLVM 13 has been shipping since October (eg it is in Ubuntu 21.10 Impish)
and the new Ubuntu LTS version is expected to have LLVM 14.
https://eofla.wordpress.com/2022/03/01/ubuntu-22-04-lts-jammy-jellyfish-march-schedule/

I hope that you can keep up with the LLVM project !

> For details about building ClamAV with the LLVM bytecode runtime,
> see the install reference documentation
https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-webview.net/home/micasnyd/workspace/clamav-micah-5/INSTALL.md#bytecode-runtime
*** link broken ***
Did you mean
https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#bytecode-runtime
?

--
Andrew C. Aitchison Kendal, UK
andrew@aitchison.me.uk

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
Can’t use wget.


Sent from my ? iPhone

> On Mar 14, 2022, at 20:28, Yasuhiro Kimura <yasu@utahime.org> wrote:
>
> ?From: "Micah Snyder \(micasnyd\) via clamav-users" <clamav-users@lists.clamav.net>
> Subject: [clamav-users] ClamAV 0.105 release candidate
> Date: Mon, 14 Mar 2022 20:14:18 +0000
>
>> Read this announcement online at https://blog.clamav.net/2022/03/clamav-01050-release-candidate-now.html
>>
>> We are excited to announce the ClamAV 0.105.0 release candidate.
>>
>> Please help us validate this release. We need your feedback, so let us know what you find and join us on the
>> ClamAV mailing list, or on our Discord.
>>
>> This release candidate phase is only expected to last about two to four weeks before the 0.105.0 Stable
>> version will be published. Take this opportunity to verify that you 0.105.0 can build and run in your
>> environment.
>>
>> There is one known issue:
>>
>> • Yara rules containing regex strings will fail to load. The fix for this issue will be in the final
>> release or next release candidate.
>>
>> Please submit bug reports to the ClamAV project GitHub Issues.
>
> I tried to download source archive of 0.105.0-rc but it fails with 403
> forbitten.
>
> yasu@rolling-vm-freebsd2[1373]% wget https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz
>
> --2022-03-15 09:25:16-- https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz
> Resolving www.clamav.net (www.clamav.net)... 2606:4700::6810:db54, 2606:4700::6810:da54, 104.16.218.84, ...
> Connecting to www.clamav.net (www.clamav.net)|2606:4700::6810:db54|:443... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 2022-03-15 09:25:17 ERROR 403: Forbidden.
>
> yasu@rolling-vm-freebsd2[1374]%
>
> ---
> Yasuhiro KIMURA
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
On Tue, 15 Mar 2022, Joel Esler via clamav-users wrote:

> Can’t use wget.

Understood.
Is there a way to get source and binaries via fetchclam or cvdupdate ?
Or any other scriptable command ?

An interactive web browser is not really an acceptable requirement
for acquiring source and binaries.

>> On Mar 14, 2022, at 20:28, Yasuhiro Kimura <yasu@utahime.org> wrote:
>>
>> ?From: "Micah Snyder \(micasnyd\) via clamav-users" <clamav-users@lists.clamav.net>
>> Subject: [clamav-users] ClamAV 0.105 release candidate
>> Date: Mon, 14 Mar 2022 20:14:18 +0000
>>
>>> Read this announcement online at https://blog.clamav.net/2022/03/clamav-01050-release-candidate-now.html
>>>
>>> We are excited to announce the ClamAV 0.105.0 release candidate.
>>>
>>> Please help us validate this release. We need your feedback, so let us know what you find and join us on the
>>> ClamAV mailing list, or on our Discord.
>>>
>>> This release candidate phase is only expected to last about two to four weeks before the 0.105.0 Stable
>>> version will be published. Take this opportunity to verify that you 0.105.0 can build and run in your
>>> environment.
>>>
>>> There is one known issue:
>>>
>>> • Yara rules containing regex strings will fail to load. The fix for this issue will be in the final
>>> release or next release candidate.
>>>
>>> Please submit bug reports to the ClamAV project GitHub Issues.
>>
>> I tried to download source archive of 0.105.0-rc but it fails with 403
>> forbitten.
>>
>> yasu@rolling-vm-freebsd2[1373]% wget https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz
>>
>> --2022-03-15 09:25:16-- https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz
>> Resolving www.clamav.net (www.clamav.net)... 2606:4700::6810:db54, 2606:4700::6810:da54, 104.16.218.84, ...
>> Connecting to www.clamav.net (www.clamav.net)|2606:4700::6810:db54|:443... connected.
>> HTTP request sent, awaiting response... 403 Forbidden
>> 2022-03-15 09:25:17 ERROR 403: Forbidden.
>>
>> yasu@rolling-vm-freebsd2[1374]%
>>
>> ---
>> Yasuhiro KIMURA
>>
>> _______________________________________________
>>
>> clamav-users mailing list
>> clamav-users@lists.clamav.net
>> https://lists.clamav.net/mailman/listinfo/clamav-users
>>
>>
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>

--
Andrew C. Aitchison Kendal, UK
andrew@aitchison.me.uk

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
freshclam (not fetchclam) or cvdupate are currently the only methods to obtain updates.

-Al-
==
ClamXAV user

> On Mar 15, 2022, at 4:15 AM, Andrew C Aitchison <clamav@aitchison.me.uk> wrote:
>
> Is there a way to get source and binaries via fetchclam or cvdupdate ?



Powered by Mailbutler <https://www.mailbutler.io/?utm_source=watermark&utm_medium=email&utm_campaign=watermark-variant-primary>, the email extension that does it all
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
> On 15 Mar 2022, at 11:15 am, Andrew C Aitchison <clamav@aitchison.me.uk> wrote:
>
> On Tue, 15 Mar 2022, Joel Esler via clamav-users wrote:
>
>> Can’t use wget.
>
> Understood.
> Is there a way to get source and binaries via fetchclam or cvdupdate ?
> Or any other scriptable command ?
>
> An interactive web browser is not really an acceptable requirement
> for acquiring source and binaries.

It looks like you can use wget if you spoof the user-agent string:

wget https://www.clamav.net/downloads/release_candidate/clamav-0.105.0-rc.tar.gz -U "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0"

This won't work for database updates (as has been covered many times on this list) but does appear to work for downloading sources...at least for now ;)

Mark


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
Oops! We should've double checked the links.

The release notes were manually copied from a vscode rendering of https://github.com/Cisco-Talos/clamav/blob/main/NEWS.md#notable-changes. I'll fix it in the blog post.

Regards,
Micah



Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.
________________________________
From: Andrew C Aitchison <clamav@aitchison.me.uk>
Sent: Tuesday, March 15, 2022 3:06 AM
To: Micah Snyder (micasnyd) via clamav-users <clamav-users@lists.clamav.net>
Cc: ClamAV Development <clamav-devel@lists.clamav.net>; ClamAV Announcements ML <clamav-announce@lists.clamav.net>; Micah Snyder (micasnyd) <micasnyd@cisco.com>
Subject: Re: [clamav-users] ClamAV 0.105 release candidate

On Mon, 14 Mar 2022, Micah Snyder (micasnyd) via clamav-users wrote:

> Read this announcement online at
> https://blog.clamav.net/2022/03/clamav-01050-release-candidate-now.html

> Notable changes

> * Updated the LLVM bytecode runtime support so that it can
> use LLVM versions 8 through 12 and removed support for earlier LLVM
> versions. Using LLVM JIT for the bytecode runtime may improve scan
> performance over the built-in bytecode interpreter runtime, which is
> the default. If you wish to build using LLVM, you must obtain a
> complete build of the LLVM libraries including the devopment headers
> and static libraries.
>
> There are some known issues both compiling and running the test
> suite with some LLVM installations. We are working to further
> stabilize LLVM bytecode runtime support, and document specific edge
> cases. Your feedback is welcome.

LLVM 13 has been shipping since October (eg it is in Ubuntu 21.10 Impish)
and the new Ubuntu LTS version is expected to have LLVM 14.
https://eofla.wordpress.com/2022/03/01/ubuntu-22-04-lts-jammy-jellyfish-march-schedule/

I hope that you can keep up with the LLVM project !

> For details about building ClamAV with the LLVM bytecode runtime,
> see the install reference documentation
https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-webview.net/home/micasnyd/workspace/clamav-micah-5/INSTALL.md#bytecode-runtime
*** link broken ***
Did you mean
https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#bytecode-runtime
?

--
Andrew C. Aitchison Kendal, UK
andrew@aitchison.me.uk
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
## Joel Esler via clamav-users (clamav-users@lists.clamav.net):

> Can’t use wget.

Looks like "can't use anything which doesn't look like a web browser",
as BSD fetch hits the 403, too.
That's a major PITA on the BSD side (just like openSuse), but it
was working just fine at the time of the 0.104.2 release (and all
the time prior to that). Is there any reason behind making the source
(not talking about the database files) inaccessible like that?

Regards,
Christoph

--
Spare Space

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
On 16/03/2022 20:19, Christoph Moench-Tegeder via clamav-users wrote:
> ## Joel Esler via clamav-users (clamav-users@lists.clamav.net):
>
>> Can’t use wget.
>
> Looks like "can't use anything which doesn't look like a web browser",
> as BSD fetch hits the 403, too.
> That's a major PITA on the BSD side (just like openSuse), but it
> was working just fine at the time of the 0.104.2 release (and all
> the time prior to that). Is there any reason behind making the source
> (not talking about the database files) inaccessible like that?
>

Hanlon's Razor: "Never attribute to malice what can be adequately
explained by neglect, ignorance, or incompetence."

With the added FLOSS variant, "or trying to show just how much smarter
they are than everybody else."

Cheers,
Gary B-)

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
> On Mar 16, 2022, at 5:35 AM, Gary R. Schmidt <grschmidt@acm.org> wrote:
>
> On 16/03/2022 20:19, Christoph Moench-Tegeder via clamav-users wrote:
>> ## Joel Esler via clamav-users (clamav-users@lists.clamav.net):
>>> Can’t use wget.
>> Looks like "can't use anything which doesn't look like a web browser",
>> as BSD fetch hits the 403, too.
>> That's a major PITA on the BSD side (just like openSuse), but it
>> was working just fine at the time of the 0.104.2 release (and all
>> the time prior to that). Is there any reason behind making the source
>> (not talking about the database files) inaccessible like that?
>
> Hanlon's Razor: "Never attribute to malice what can be adequately explained by neglect, ignorance, or incompetence."
>
> With the added FLOSS variant, "or trying to show just how much smarter they are than everybody else.”




It was done because there are people that download the entire ClamAV package from the same every every 1 minute and do a complete reinstall.


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
On 3/16/2022 10:09 AM, Joel Esler via clamav-users wrote:
>
>> On Mar 16, 2022, at 5:35 AM, Gary R. Schmidt <grschmidt@acm.org> wrote:
>>
>> On 16/03/2022 20:19, Christoph Moench-Tegeder via clamav-users wrote:
>>> ## Joel Esler via clamav-users (clamav-users@lists.clamav.net):
>>>> Can’t use wget.
>>> Looks like "can't use anything which doesn't look like a web browser",
>>> as BSD fetch hits the 403, too.
>>> That's a major PITA on the BSD side (just like openSuse), but it
>>> was working just fine at the time of the 0.104.2 release (and all
>>> the time prior to that). Is there any reason behind making the source
>>> (not talking about the database files) inaccessible like that?
>> Hanlon's Razor: "Never attribute to malice what can be adequately explained by neglect, ignorance, or incompetence."
>>
>> With the added FLOSS variant, "or trying to show just how much smarter they are than everybody else.”
>
>
>
> It was done because there are people that download the entire ClamAV package from the same every every 1 minute and do a complete reinstall.

Why not simply block the IP addresses that are doing excessive downloads?  There
can't be that many people who are doing constant rebuilds.

The system I use for building ClamAV has no GUI.  I download the files by grabbing
the URL from my desktop and then pasting it into a wget on the build machine.  Am I
going to have to make wget spoof its user-agent every time I need to update ClamAV? 
What happens when the people you were complaining about start doing the same thing?

--
Bowie

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
> On Mar 16, 2022, at 11:25 AM, Bowie Bailey via clamav-users <clamav-users@lists.clamav.net> wrote:
>
> On 3/16/2022 10:09 AM, Joel Esler via clamav-users wrote:
>>
>>> On Mar 16, 2022, at 5:35 AM, Gary R. Schmidt <grschmidt@acm.org> wrote:
>>>
>>> On 16/03/2022 20:19, Christoph Moench-Tegeder via clamav-users wrote:
>>>> ## Joel Esler via clamav-users (clamav-users@lists.clamav.net):
>>>>> Can’t use wget.
>>>> Looks like "can't use anything which doesn't look like a web browser",
>>>> as BSD fetch hits the 403, too.
>>>> That's a major PITA on the BSD side (just like openSuse), but it
>>>> was working just fine at the time of the 0.104.2 release (and all
>>>> the time prior to that). Is there any reason behind making the source
>>>> (not talking about the database files) inaccessible like that?
>>> Hanlon's Razor: "Never attribute to malice what can be adequately explained by neglect, ignorance, or incompetence."
>>>
>>> With the added FLOSS variant, "or trying to show just how much smarter they are than everybody else.”
>>
>>
>>
>> It was done because there are people that download the entire ClamAV package from the same every every 1 minute and do a complete reinstall.
>
> Why not simply block the IP addresses that are doing excessive downloads? There can't be that many people who are doing constant rebuilds.

We did that for awhile. Didn’t scale. Dynamic IPs as well.

>
> The system I use for building ClamAV has no GUI. I download the files by grabbing the URL from my desktop and then pasting it into a wget on the build machine. Am I going to have to make wget spoof its user-agent every time I need to update ClamAV? What happens when the people you were complaining about start doing the same thing?

Excessive downloaders get blocked. Simple as that.
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
Hi there,

On Wed, 16 Mar 2022, Bowie Bailey via clamav-users wrote:
> On 3/16/2022 10:09 AM, Joel Esler via clamav-users wrote:
>> On Mar 16, 2022, at 5:35 AM, Gary R. Schmidt <grschmidt@acm.org> wrote:
>>> On 16/03/2022 20:19, Christoph Moench-Tegeder via clamav-users wrote:
>>>> ## Joel Esler via clamav-users (clamav-users@lists.clamav.net):
>>>>>
>>>>> Can’t use wget.
>>>>
>>>> Looks like "can't use anything which doesn't look like a web browser",
>>>> as BSD fetch hits the 403, too.
>>>> That's a major PITA on the BSD side (just like openSuse), but it
>>>> was working just fine at the time of the 0.104.2 release (and all
>>>> the time prior to that). Is there any reason behind making the source
>>>> (not talking about the database files) inaccessible like that?
>>>
>>> Hanlon's Razor: "Never attribute to malice what can be adequately
>>> explained by neglect, ignorance, or incompetence."
>>>
>>> With the added FLOSS variant, "or trying to show just how much smarter
>>> they are than everybody else.”
>>
>> It was done because there are people that download the entire ClamAV
>> package from the same every every 1 minute and do a complete reinstall.
>
> Why not simply block the IP addresses that are doing excessive downloads?
> There can't be that many people who are doing constant rebuilds.
>
> The system I use for building ClamAV has no GUI. I download the files by
> grabbing the URL from my desktop and then pasting it into a wget on the build
> machine. Am I going to have to make wget spoof its user-agent every time I
> need to update ClamAV? ...

I don't see much in the way of sympathy for a company that spends good
money on a content delivery network in order to provide a FREE service
to the community, only then to take flak from that same community when
they are obliged to prevent literally hundreds of thousands of what I
can only describe as scrotes from flagrantly abusing the service.

Before grumbling about the implementation of the solutions, would it
not at least be reasonable to find out what the problems are?

How often do you update ClamAV? It must be all of a thirty-second job
to write a user agent string, and e.g. pop it in a 'bash' alias.

If you're unhappy with that, I'm sure you can claim a full refund of
the purchase price.

--

73,
Ged.

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
On 3/16/2022 12:35 PM, G.W. Haywood via clamav-users wrote:
> Hi there,
>
> On Wed, 16 Mar 2022, Bowie Bailey via clamav-users wrote:
>> On 3/16/2022 10:09 AM, Joel Esler via clamav-users wrote:
>>> On Mar 16, 2022, at 5:35 AM, Gary R. Schmidt <grschmidt@acm.org> wrote:
>>>> On 16/03/2022 20:19, Christoph Moench-Tegeder via clamav-users wrote:
>>>>> ## Joel Esler via clamav-users (clamav-users@lists.clamav.net):
>>>>>>
>>>>>> Can’t use wget.
>>>>>
>>>>> Looks like "can't use anything which doesn't look like a web browser",
>>>>> as BSD fetch hits the 403, too.
>>>>> That's a major PITA on the BSD side (just like openSuse), but it
>>>>> was working just fine at the time of the 0.104.2 release (and all
>>>>> the time prior to that). Is there any reason behind making the source
>>>>> (not talking about the database files) inaccessible like that?
>>>>
>>>> Hanlon's Razor: "Never attribute to malice what can be adequately explained by
>>>> neglect, ignorance, or incompetence."
>>>>
>>>> With the added FLOSS variant, "or trying to show just how much smarter they are
>>>> than everybody else.”
>>>
>>> It was done because there are people that download the entire ClamAV package from
>>> the same every every 1 minute and do a complete reinstall.
>>
>> Why not simply block the IP addresses that are doing excessive downloads?
>> There can't be that many people who are doing constant rebuilds.
>>
>> The system I use for building ClamAV has no GUI.  I download the files by grabbing
>> the URL from my desktop and then pasting it into a wget on the build machine.  Am
>> I going to have to make wget spoof its user-agent every time I need to update
>> ClamAV? ...
>
> I don't see much in the way of sympathy for a company that spends good
> money on a content delivery network in order to provide a FREE service
> to the community, only then to take flak from that same community when
> they are obliged to prevent literally hundreds of thousands of what I
> can only describe as scrotes from flagrantly abusing the service.

That was my point.  They are inconveniencing their users with a change that is
unlikely to slow down these abusers for any length of time.

> Before grumbling about the implementation of the solutions, would it
> not at least be reasonable to find out what the problems are?

I understand the problem.  I just don't see this as a good solution.

> How often do you update ClamAV?  It must be all of a thirty-second job
> to write a user agent string, and e.g. pop it in a 'bash' alias.

And all of the people who are doing excessive downloads will spend the same 30
seconds and then be back in business.  So what has been gained?  A few days or weeks
of reduced server load until they all update their scripts and then you are right
back where you started.

At the same time, every ClamAV user (new or existing) that wants to download from the
command line will have to spend time figuring out why they are getting errors trying
to download from the published links.  Since this software is designed to be used on
a server, that will probably be a decent percentage of the user base who are all
going to have to figure out this undocumented issue (since documenting the
work-around would kind of defeat the point).  I would bet that quite a few
prospective new users will simply give up on ClamAV and assume the website is broken
when they keep getting "403 forbidden" on the downloads.

--
Bowie

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
I think you vastly overestimate the size of the audience that has that problem.


Sent from my ? iPad

> On Mar 16, 2022, at 16:23, Bowie Bailey via clamav-users <clamav-users@lists.clamav.net> wrote:
>
> ?On 3/16/2022 12:35 PM, G.W. Haywood via clamav-users wrote:
>> Hi there,
>>
>>> On Wed, 16 Mar 2022, Bowie Bailey via clamav-users wrote:
>>> On 3/16/2022 10:09 AM, Joel Esler via clamav-users wrote:
>>>> On Mar 16, 2022, at 5:35 AM, Gary R. Schmidt <grschmidt@acm.org> wrote:
>>>>> On 16/03/2022 20:19, Christoph Moench-Tegeder via clamav-users wrote:
>>>>>> ## Joel Esler via clamav-users (clamav-users@lists.clamav.net):
>>>>>>>
>>>>>>> Can’t use wget.
>>>>>>
>>>>>> Looks like "can't use anything which doesn't look like a web browser",
>>>>>> as BSD fetch hits the 403, too.
>>>>>> That's a major PITA on the BSD side (just like openSuse), but it
>>>>>> was working just fine at the time of the 0.104.2 release (and all
>>>>>> the time prior to that). Is there any reason behind making the source
>>>>>> (not talking about the database files) inaccessible like that?
>>>>>
>>>>> Hanlon's Razor: "Never attribute to malice what can be adequately explained by neglect, ignorance, or incompetence."
>>>>>
>>>>> With the added FLOSS variant, "or trying to show just how much smarter they are than everybody else.”
>>>>
>>>> It was done because there are people that download the entire ClamAV package from the same every every 1 minute and do a complete reinstall.
>>>
>>> Why not simply block the IP addresses that are doing excessive downloads?
>>> There can't be that many people who are doing constant rebuilds.
>>>
>>> The system I use for building ClamAV has no GUI. I download the files by grabbing the URL from my desktop and then pasting it into a wget on the build machine. Am I going to have to make wget spoof its user-agent every time I need to update ClamAV? ...
>>
>> I don't see much in the way of sympathy for a company that spends good
>> money on a content delivery network in order to provide a FREE service
>> to the community, only then to take flak from that same community when
>> they are obliged to prevent literally hundreds of thousands of what I
>> can only describe as scrotes from flagrantly abusing the service.
>
> That was my point. They are inconveniencing their users with a change that is unlikely to slow down these abusers for any length of time.
>
>> Before grumbling about the implementation of the solutions, would it
>> not at least be reasonable to find out what the problems are?
>
> I understand the problem. I just don't see this as a good solution.
>
>> How often do you update ClamAV? It must be all of a thirty-second job
>> to write a user agent string, and e.g. pop it in a 'bash' alias.
>
> And all of the people who are doing excessive downloads will spend the same 30 seconds and then be back in business. So what has been gained? A few days or weeks of reduced server load until they all update their scripts and then you are right back where you started.
>
> At the same time, every ClamAV user (new or existing) that wants to download from the command line will have to spend time figuring out why they are getting errors trying to download from the published links. Since this software is designed to be used on a server, that will probably be a decent percentage of the user base who are all going to have to figure out this undocumented issue (since documenting the work-around would kind of defeat the point). I would bet that quite a few prospective new users will simply give up on ClamAV and assume the website is broken when they keep getting "403 forbidden" on the downloads.
>
> --
> Bowie
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.105 release candidate [ In reply to ]
On Friday last week we opened it up to allow wget and curl to download the ClamAV release packages. I was told yesterday that Cloudflare blocked downloads after those changes were made, in order to protect against an alleged DoS event. I'll check in with our Cloudflare admins again tomorrow morning. Sorry everyone for the inconvenience. For now, I hope the user-agent trick will suffice.

I've also seen the comments here about how 0.103 LTS should be more prominently listed on our Downloads page. I 100% agree. I'm working with the Talos web team to see if we can upgrade the ClamAV.net Downloads page in a few different ways.

Cheers,
Micah


Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.
________________________________
From: clamav-users <clamav-users-bounces@lists.clamav.net> on behalf of Joel Esler via clamav-users <clamav-users@lists.clamav.net>
Sent: Wednesday, March 16, 2022 1:50 PM
To: ClamAV users ML <clamav-users@lists.clamav.net>
Cc: Joel Esler <joel.esler@me.com>
Subject: Re: [clamav-users] ClamAV 0.105 release candidate

I think you vastly overestimate the size of the audience that has that problem.


Sent from my ? iPad

> On Mar 16, 2022, at 16:23, Bowie Bailey via clamav-users <clamav-users@lists.clamav.net> wrote:
>
> ?On 3/16/2022 12:35 PM, G.W. Haywood via clamav-users wrote:
>> Hi there,
>>
>>> On Wed, 16 Mar 2022, Bowie Bailey via clamav-users wrote:
>>> On 3/16/2022 10:09 AM, Joel Esler via clamav-users wrote:
>>>> On Mar 16, 2022, at 5:35 AM, Gary R. Schmidt <grschmidt@acm.org> wrote:
>>>>> On 16/03/2022 20:19, Christoph Moench-Tegeder via clamav-users wrote:
>>>>>> ## Joel Esler via clamav-users (clamav-users@lists.clamav.net):
>>>>>>>
>>>>>>> Can’t use wget.
>>>>>>
>>>>>> Looks like "can't use anything which doesn't look like a web browser",
>>>>>> as BSD fetch hits the 403, too.
>>>>>> That's a major PITA on the BSD side (just like openSuse), but it
>>>>>> was working just fine at the time of the 0.104.2 release (and all
>>>>>> the time prior to that). Is there any reason behind making the source
>>>>>> (not talking about the database files) inaccessible like that?
>>>>>
>>>>> Hanlon's Razor: "Never attribute to malice what can be adequately explained by neglect, ignorance, or incompetence."
>>>>>
>>>>> With the added FLOSS variant, "or trying to show just how much smarter they are than everybody else.”
>>>>
>>>> It was done because there are people that download the entire ClamAV package from the same every every 1 minute and do a complete reinstall.
>>>
>>> Why not simply block the IP addresses that are doing excessive downloads?
>>> There can't be that many people who are doing constant rebuilds.
>>>
>>> The system I use for building ClamAV has no GUI. I download the files by grabbing the URL from my desktop and then pasting it into a wget on the build machine. Am I going to have to make wget spoof its user-agent every time I need to update ClamAV? ...
>>
>> I don't see much in the way of sympathy for a company that spends good
>> money on a content delivery network in order to provide a FREE service
>> to the community, only then to take flak from that same community when
>> they are obliged to prevent literally hundreds of thousands of what I
>> can only describe as scrotes from flagrantly abusing the service.
>
> That was my point. They are inconveniencing their users with a change that is unlikely to slow down these abusers for any length of time.
>
>> Before grumbling about the implementation of the solutions, would it
>> not at least be reasonable to find out what the problems are?
>
> I understand the problem. I just don't see this as a good solution.
>
>> How often do you update ClamAV? It must be all of a thirty-second job
>> to write a user agent string, and e.g. pop it in a 'bash' alias.
>
> And all of the people who are doing excessive downloads will spend the same 30 seconds and then be back in business. So what has been gained? A few days or weeks of reduced server load until they all update their scripts and then you are right back where you started.
>
> At the same time, every ClamAV user (new or existing) that wants to download from the command line will have to spend time figuring out why they are getting errors trying to download from the published links. Since this software is designed to be used on a server, that will probably be a decent percentage of the user base who are all going to have to figure out this undocumented issue (since documenting the work-around would kind of defeat the point). I would bet that quite a few prospective new users will simply give up on ClamAV and assume the website is broken when they keep getting "403 forbidden" on the downloads.
>
> --
> Bowie
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml