Merge branch 'main' into userspace-router

This commit is contained in:
Viktor Liu
2025-01-08 11:38:30 +01:00
20 changed files with 869 additions and 574 deletions
+2
View File
@@ -509,6 +509,8 @@ func (m *Manager) trackICMPOutbound(d *decoder, srcIP, dstIP net.IP) {
// dropFilter implements filtering logic for incoming packets.
// If it returns true, the packet should be dropped.
func (m *Manager) dropFilter(packetData []byte, rules map[string]RuleSet) bool {
// TODO: Disable router if --disable-server-router is set
m.mutex.RLock()
defer m.mutex.RUnlock()