Files
firewall_containers/network-go
gyurix 246346f8b1
continuous-integration/drone/push Build is passing
feat(docker, firewall): Add stateful network connection check and optimize NAT rules
This adds an IsConnected method to verify if a container is already connected to a network with the expected IP, preventing redundant operations. In reconcileIPs, it skips reconnections if the state is correct. In applyNATRule, MASQUERADE is now applied in the same namespace as DNAT (container or host) for consistent and accurate rule application.
2026-06-15 23:39:58 +02:00
..
2026-06-08 17:02:13 +02:00
2026-06-08 15:34:01 +02:00
2026-06-08 15:34:01 +02:00
2026-06-08 15:34:01 +02:00