Skip to content

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

License

Notifications You must be signed in to change notification settings

ricardofalasca/packet-filter-host-blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages