You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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).
No description provided.
The text was updated successfully, but these errors were encountered: