skip to navigation
skip to content

py-pf 0.1.2

Pure-Python module for managing OpenBSD's Packet Filter

Latest Version: 0.1.4

py-pf is a pure-Python module for managing OpenBSD’s Packet Filter. It aims to add powerful and flexible scripting capabilities to PF, making integration with third-party software (like IDS, web-based configuration interfaces or custom management scripts) much easier.

It runs on Python 2.7, which is available through OpenBSD’s [packages and ports system](


Download the source code from [GitHub]( and run the install script:

# python install


To run the test suite, just run:

# python test


A detailed description of the PF module and its classes is available at

A brief list of references, documentation and books about Python, OpenBSD and Packet Filter can be found at


Copyright (c) 2008-2014 Daniele Mazzocchio (

Licensed under BSD license (see file).

File Type Py Version Uploaded on Size
py-pf-0.1.2.tar.gz (md5) Source 2014-08-15 38KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 61 downloads in the last week
  • 268 downloads in the last month