Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement specific filter for ICMP #43

Open
AOx0 opened this issue Oct 3, 2024 · 1 comment
Open

Implement specific filter for ICMP #43

AOx0 opened this issue Oct 3, 2024 · 1 comment
Assignees
Labels

Comments

@AOx0
Copy link
Owner

AOx0 commented Oct 3, 2024

No description provided.

@AOx0 AOx0 added the firewall label Oct 3, 2024
@AOx0
Copy link
Owner Author

AOx0 commented Oct 25, 2024

May be fixed by #52 and a rule to match bytes at position of the packet

@AOx0 AOx0 added this to adam Nov 11, 2024
enriquegomeztagle added a commit that referenced this issue Nov 27, 2024
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).
enriquegomeztagle added a commit that referenced this issue Nov 28, 2024
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).
@enriquegomeztagle enriquegomeztagle self-assigned this Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants