google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.87k stars 1.3k forks source link

netstack: add log for martian packet dropping #11127

Closed copybara-service[bot] closed 2 weeks ago

copybara-service[bot] commented 2 weeks ago

netstack: add log for martian packet dropping

Martian packets are dropped by default, but some setups require accepting them. A rate limited log will help users quickly hone in on the issue, which is otherwise unclear and time-consuming to debug.