Re: databasemirror protocol support
"Micah Snyder (micasnyd)" <[email protected]> Thu, 20 Jun 2019 13:27:14 +0000
| Newsgroups | gmane.comp.security.virus.clamav.devel |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected] on behalf of [email protected]> 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 [email protected] 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 [email protected] 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