-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firewall rules: add support for IPv4 and IPv6 packet fragments
Add support for a new "fragment" tuple attribute that can be specified in "ip" and "ip6" tuples in firewall rules; this new attribute can have a "y" or "n" value: "y" makes the rule match the second and subsequent fragments of fragmented IP packets, while "n" makes the rule match non-fragmented packets and the first fragment of fragmented packets. Example snippet of Ops configuration that makes the firewall drop all fragmented IPv4 packets: ``` "ManifestPassthrough": { "firewall": { "rules": [ {"ip": {"fragment": "y"}, "action": "drop"} ] } } ```
- Loading branch information
1 parent
c40c831
commit 26ee8dc
Showing
1 changed file
with
30 additions
and
0 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