Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related to #43 Add a rule to match bytes at a specific position of the packet for ICMP filter. * **firewall-common/src/lib.rs** - Add a new variant `BytesAtPosition { position: usize, value: u8 }` to the `Match` enum. * **firewall-ebpf/src/main.rs** - Update the `try_firewall` function to handle the new `Match::BytesAtPosition` variant. - Add logic to match bytes at a specific position of the packet. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/AOx0/adam/issues/43?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information