Mailing List Archive

databasemirror protocol support
Hi,

I see in this (big)
change: https://github.com/Cisco-Talos/clamav-devel/commit/694e788265937a0b7fea9e27c933d0b53e3e5b23
that DatabaseMirror and DatabaseCustomURL will support protocols
(http, https, ...).
Now I have a question: does this also support subdirectories then?
E.g. will I be able to use http://my.local.mirror/mylocaldir as value
for DatabaseMirror?

With friendly regards,

Franky
_______________________________________________

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

Please submit your patches to our Bugzilla: http://bugzilla.clamav.net

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

http://www.clamav.net/contact.html#ml
Re: databasemirror protocol support [ In reply to ]
Franky,

Yes that will also work.
To test, I set up a simple http server with python in a directory containing: share/mirror/<the latest database CVD's>:

python -m http.server --directory . 8080

Then in my freshclam.conf, I set:

ScriptedUpdates no
DatabaseMirror http://0.0.0.0:8080/share/mirror

Running freshclam after this downloaded and checked the CVD's.

I should note that with the update, if the DatabaseMirror omits the "http://" protocol, it will default to httpS.

Regards,
Micah

Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.



?On 6/20/19, 4:59 AM, "clamav-devel on behalf of Franky Van Liedekerke" <clamav-devel-bounces@lists.clamav.net on behalf of liedekef@telenet.be> wrote:

Hi,

I see in this (big)
change: https://github.com/Cisco-Talos/clamav-devel/commit/694e788265937a0b7fea9e27c933d0b53e3e5b23
that DatabaseMirror and DatabaseCustomURL will support protocols
(http, https, ...).
Now I have a question: does this also support subdirectories then?
E.g. will I be able to use http://my.local.mirror/mylocaldir as value
for DatabaseMirror?

With friendly regards,

Franky
_______________________________________________

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

Please submit your patches to our Bugzilla: http://bugzilla.clamav.net

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

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


_______________________________________________

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

Please submit your patches to our Bugzilla: http://bugzilla.clamav.net

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

http://www.clamav.net/contact.html#ml
Re: databasemirror protocol support [ In reply to ]
Hi Micah,

Nice to hear. Then I'll just have to wait for the next version to be
released :-)

Regards,
Franky

Op Donderdag, 20-06-2019 om 15:27 schreef Micah Snyder (micasnyd):


Franky,

Yes that will also work.
To test, I set up a simple http server with python in a directory
containing:   share/mirror/
_______________________________________________

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

Please submit your patches to our Bugzilla: http://bugzilla.clamav.net

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

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