mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-15 01:49:08 +02:00
Merge branch 'main' into android-dns-routes
This commit is contained in:
@@ -745,9 +745,7 @@ func (m *Manager) dropFilter(packetData []byte, size int) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Step 1: Check connection tracking FIRST (with original addresses)
|
||||
if m.stateful && m.isValidTrackedConnection(d, srcIP, dstIP, size) {
|
||||
// Step 2: Apply reverse DNAT for established connections
|
||||
translated := m.translateInboundReverse(packetData, d)
|
||||
if translated {
|
||||
// Re-decode after translation
|
||||
|
||||
Reference in New Issue
Block a user