WIP: Added a way to block ASNs and IPs with ipset #6

Draft
benpro wants to merge 1 commits from ipset-denylist into master
First-time contributor

This is a work in progress to ban ASNs and IP addresses in an efficient
way with ipset.
More things in minifirewall could be replaced with ipset, like the
HTTPSITE part, but for now I'm only focused on banning networks.

Please review the code (I followed the current coding style), test it,
and make comments!

This is a work in progress to ban ASNs and IP addresses in an efficient way with `ipset`. More things in minifirewall could be replaced with `ipset`, like the HTTPSITE part, but for now I'm only focused on banning networks. Please review the code (I followed the current coding style), test it, and make comments!
benpro added spent time 2020-07-22 03:38:01 +02:00
3h
This pull request has changes conflicting with the target branch.
  • minifirewall
  • minifirewall.conf
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b ipset-denylist master
git pull origin ipset-denylist

Step 2:

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff ipset-denylist
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Total Time Spent: 3 hours
benpro
3 hours
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/minifirewall#6
No description provided.