Previous
Up
Next
Home
py-pf - Managing OpenBSD's Packet Filter with Python
Up:
Programming
Next:
1. Introduction
py-pf - Managing OpenBSD's Packet Filter with Python
Author:
Daniele Mazzocchio
Last update: Jun 14, 2018
Table of contents
1. Introduction
2. The PacketFilter class
3. Retrieving statistics
3.1 PFStatus objects
3.2 PFTStats objects
3.3 PFIface objects
3.4 PFQueueStats objects
4. Managing state tables
4.1 PFState objects
4.2 PFStateKey objects
4.3 PFStatePeer objects
5. Packet Queueing and Prioritization
5.1 PFQueue objects
5.2 ServiceCurve objects
5.2 FlowQueue objects
5.3 Packet queueing in action
6. Addresses, address pools and tables
6.1 Addresses and ports
6.1.1 PFAddr objects
6.1.2 PFPort objects
6.1.3 PFRuleAddr objects
6.2 Address pools
6.2.1 PFPool objects
6.3 Tables
6.3.1 PFtable objects
6.3.2 PFtableAddr objects
6.4 PFUid and PFGid objects
6.5 PFDivert objects
6.6 PFThreshold objects
7. Anatomy of a Packet Filter rule
7.1 PFRule objects
7.2 PFRuleset objects
8. Using the py-pf module
8.1 Keeping things easy with pf.lib
8.2 Example: a simple load balancer
Previous
Up
Next
Home
py-pf - Managing OpenBSD's Packet Filter with Python
Up:
Programming
Next:
1. Introduction