mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
ba8455e4699b71f07d8cd54e4b4d72edcc5d24c4
This function is responisible for downloading and converting the blocklist into an ipset compatible format. The only required argument is the blocklist (in upper letter format) which should be performed. It automatically will setup an upstream proxy (if configured) and grab the file specified in the blocklist vendor configuration hash. There is a maximum amount of five attempts until the script gives up and returns a "dl_error". In case the server responses with "Not Modified" (Code 304) a "not_modified" will be returned. If the blocklist successfully has been grabbed, the modification date get stored for further purposes and the list content will be converted and stored in an ipset compatible format. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Inspired-by: Tim FitzGeorge <ipfr@tfitzgeorge.me.uk>
IPFire 2.x - The Open Source Firewall
What is IPFire?
IPFire is a hardened, versatile, state-of-the-art Open Source firewall based on Linux. Its ease of use, high performance in any scenario and extensibility make it usable for everyone. For a full list of features have a look here.
This repository contains the source code of IPFire 2.x which is used to build the whole distribution from scratch, since IPFire is not based on any other distribution.
Where can I get IPFire?
Just head over to https://www.ipfire.org/download
How do I use this software?
We have a long and detailed wiki located here which should answers most of your questions.
But I have some questions left. Where can I get support?
You can ask your question at our community located here. A complete list of our support channels can be found here.
How can I contribute?
We have another document for this. Please look here.
Description
Languages
Perl
70.4%
Shell
23%
C
4%
Python
0.6%
Makefile
0.5%
Other
1.4%