An open API service indexing awesome lists of open source software.

https://github.com/ricardofalasca/packet-filter-host-blocker

A small Python script used to help network administrators to generate PF (Packet Filter) rules to block a bunch of hosts
https://github.com/ricardofalasca/packet-filter-host-blocker

firewall freebsd macos netbsd openbsd packet-filter pf python redis whois

Last synced: 19 days ago
JSON representation

A small Python script used to help network administrators to generate PF (Packet Filter) rules to block a bunch of hosts

Awesome Lists containing this project

README

        

# packet-filter-host-blocker

A small Python package (class and cli) that digs into domains to find its related IPs and (if enabled) IP classes from the same ASN Origin due to generate PF (Packet Filter) tables and rules to block access into those services.

## Requirements

* user privileges to install `pfhb`, read `pf.conf`, write in `/etc/pfhb` and to run `pfctl`
* packet filter enabled (OpenBSD, FreeBSD, NetBSD or macOS)