Expand description
Firewall chain and table management
Implements the netfilter-style chain architecture with five hook points (PreRouting, Input, Forward, Output, PostRouting), three table types (Filter, Nat, Mangle), and a packet processing engine that evaluates rules in priority order and returns a verdict.
Structs§
- Chain
- A chain of firewall rules evaluated in order
- Firewall
Engine - The main firewall engine that manages tables and processes packets
- Firewall
Table - A firewall table containing chains for a specific purpose
Enums§
- Chain
Policy - Default policy for a chain when no rules match
- Chain
Type - Type of firewall table
- Hook
Point - Netfilter-style hook points in the packet processing path
- Verdict
- Result of processing a packet through the firewall
Functions§
- init
- Initialize the firewall chain subsystem
- with_
engine - Access the global firewall engine