Python package to dig hosts and generate PF (Packet Filter) rules
Project description
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
, readpf.conf
, write in/etc/pfhb
and to runpfctl
- packet filter enabled (OpenBSD, FreeBSD, NetBSD or macOS)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pfhb-0.9.5.tar.gz
(7.0 kB
view details)
Built Distribution
pfhb-0.9.5-py3.6.egg
(21.8 kB
view details)
File details
Details for the file pfhb-0.9.5.tar.gz
.
File metadata
- Download URL: pfhb-0.9.5.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 318b9923bd554ca86f6826990b09f81ebf1b48d021c9fcf5a5a17c802df22511 |
|
MD5 | f015c62cb04ccfa9a626835ec164f756 |
|
BLAKE2b-256 | 9b0a838d062a8be852c999bbe1c019999076ade145803fcca3f0c555f8a9496e |
File details
Details for the file pfhb-0.9.5-py3.6.egg
.
File metadata
- Download URL: pfhb-0.9.5-py3.6.egg
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 639793940334f48e28ef70a7313e217ac2d20964ead71cc9a759af71f3c91a7f |
|
MD5 | 558c4a1ef862a7e15379f16479987194 |
|
BLAKE2b-256 | aa8507dd33103767f5b4919880f63e759ae4452915419eb7680e81355f6f5fde |