[PR #3447] [MERGED] Track icmp with id only #17527

Closed
opened 2026-08-05 04:07:25 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3447
Author: @lixmal
Created: 3/5/2025
Status: Merged
Merged: 3/6/2025
Merged by: @lixmal

Base: feature/flowHead: simplify-icmp-tracking


📝 Commits (1)

📊 Changes

3 files changed (+24 additions, -29 deletions)

View changed files

📝 client/firewall/uspfilter/conntrack/icmp.go (+19 -23)
📝 client/firewall/uspfilter/conntrack/icmp_test.go (+3 -3)
📝 client/firewall/uspfilter/uspfilter.go (+2 -3)

📄 Description

Describe your changes

This tracks ICMP echo/reply with ID only. This will make multiple consequent pings part of the same icmp session, aligned with how linux conntrack does it.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/3447 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 3/5/2025 **Status:** ✅ Merged **Merged:** 3/6/2025 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `feature/flow` ← **Head:** `simplify-icmp-tracking` --- ### 📝 Commits (1) - [`3bdb1eb`](https://github.com/netbirdio/netbird/commit/3bdb1eb7cc55aeac738ca9b3ffe98a84b34db620) Track icmp with id only ### 📊 Changes **3 files changed** (+24 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `client/firewall/uspfilter/conntrack/icmp.go` (+19 -23) 📝 `client/firewall/uspfilter/conntrack/icmp_test.go` (+3 -3) 📝 `client/firewall/uspfilter/uspfilter.go` (+2 -3) </details> ### 📄 Description ## Describe your changes This tracks ICMP echo/reply with ID only. This will make multiple consequent pings part of the same icmp session, aligned with how linux conntrack does it. ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 04:07:25 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#17527