From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Brewer To: development@lists.ipfire.org Subject: Re: ipblacklist V2 Date: Sat, 05 Mar 2022 21:46:22 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7336541308611276481==" List-Id: --===============7336541308611276481== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Stefan On Saturday 05 March 2022 18:52 Stefan Schantl wrote: > Hello *, >=20 > I've made some development progress, which I want to share here: >=20 > Most parts of the main backend script ("ipblacklist") from Tim and Rob > are ported into a new functions library (ipblocklist-functions.pl) and > into the main firewall script (rules.pl). >=20 Good > This process is almost finished and currently allows to create the > firewall rules, download the blocklists and to convert them into an > ipset compatible format. >=20 > Next step will be to import the frontend code (WUI) and adjust it to > use the backend code (functions) from the "ipblocklist-functions.pl". >=20 > At this time the blocklist feature should be in a use-able state again > and I'll go to create an automatic update script and to import all the > logging pages stuff etc. >=20 > The development progress and single commits can be found here: >=20 >=20 https://git.ipfire.org/?p=3Dpeople/stevee/ipfire-2.x.git;a=3Dshortlog;h=3Dref= s/heads/ipblocklist >=20 > As usual please feel free to ask any questions or to share your opinion > here. >=20 > I wish you a nice day, >=20 > -Stefan Great progress. I did find a bug I introduced when I modified the ipblacklist= V2=20 perl script to add a space after the log-prefix BLKLST entry to make the logs= =20 compatible with other log-prefixes.=20 This affected showrequestfromblacklist.dat and the modified version=20 'modified regex for V3 log-prefix added space' should be used. https://git.ipfire.org/?p=3Dpeople/helix/ipfire-2.x.git;a=3Dcommit;h=3D2ccc47= f1944fcf1f8eec8ad132fa606081b21578 Rob --===============7336541308611276481==--