-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To allow smooth transition to nftables a new packetfilter component is introduced, packetfilter provides an API to create chains, rules, TCP mss clamping and GlobalNet egress IP rules in a generic way. Since we still want to support platforms using iptables, the packetfilter component should be capable of auto-detecting whether the platform is using nftables or iptables and use the appropriate driver. The clients (e.g: GlobalNet) should be updated to use packetfilter API instead of the iptables,ipsets API, so they will only use the packetfilter APIs and will be abstracted from the underlying implementation. This commit includes: 1. Packetfilter component, auto-detecting hardcoded to iptables. 2. iptables driver, which is based on current iptables driver. Signed-off-by: Yossi Boaron <[email protected]>
- Loading branch information
Showing
6 changed files
with
765 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.