Skip to main content

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, read pf.conf, write in /etc/pfhb and to run pfctl
  • packet filter enabled (OpenBSD, FreeBSD, NetBSD or macOS)

Project details


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)

Uploaded Source

Built Distribution

pfhb-0.9.5-py3.6.egg (21.8 kB view details)

Uploaded Source

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

Hashes for pfhb-0.9.5.tar.gz
Algorithm Hash digest
SHA256 318b9923bd554ca86f6826990b09f81ebf1b48d021c9fcf5a5a17c802df22511
MD5 f015c62cb04ccfa9a626835ec164f756
BLAKE2b-256 9b0a838d062a8be852c999bbe1c019999076ade145803fcca3f0c555f8a9496e

See more details on using hashes here.

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

Hashes for pfhb-0.9.5-py3.6.egg
Algorithm Hash digest
SHA256 639793940334f48e28ef70a7313e217ac2d20964ead71cc9a759af71f3c91a7f
MD5 558c4a1ef862a7e15379f16479987194
BLAKE2b-256 aa8507dd33103767f5b4919880f63e759ae4452915419eb7680e81355f6f5fde

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page