]> git.ipfire.org Git - ipfire-2.x.git/commit
ids-functions.pl: Drop downloader code for sourcefire based ruleset.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 21 Mar 2022 18:52:04 +0000 (19:52 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 24 Mar 2022 19:01:30 +0000 (20:01 +0100)
commitde1199e2a32e9f177ea237392b0ae22b5f8a2b87
tree08952de3daa09fda1842aafda796f56febf98cd8
parentabf148cebd8a8ed30c1a4f2807bb0608eec5b026
ids-functions.pl: Drop downloader code for sourcefire based ruleset.

Even if the servers do not support HEAD requests, the remote filesize
(content_length) can be obtained from the connection headers.

This generic method works for all servers and therefore we do not need
the code for handle sourcefire servers in a different way anymore.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl