Conversation
📝 WalkthroughWalkthroughAdds TCP conntrack supersession handling via a new IsSupersededBy(flags uint8) method, updates updateIfExists and inbound validation to treat superseded/tombstoned entries as non-existent, expands tests for port reuse/TIME-WAIT/tombstone scenarios, and makes log channel buffer size configurable via an env var. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
0e8df21 to
09f538e
Compare
|



Describe your changes
Issue ticket number and link
In the userspace filter TCP conntrack, if a port was reused, it extended a connection's lifetime whereas it should treat this as a new connection (for
SYN).Also adds a
NB_USPFILTER_LOG_BUFFERenv var to increase the uspfilter log bufferStack
Checklist
Documentation
Select exactly one:
Docs PR URL (required if "docs added" is checked)
Paste the PR link from https://github.com/netbirdio/docs here:
https://github.com/netbirdio/docs/pull/__
Summary by CodeRabbit
Summary by CodeRabbit
Bug Fixes
Tests
Chores