policy: return ICMPv6 "Destination unreachable" on IPv6 egress policy denials#44234
Conversation
0b859f6 to
e5c1918
Compare
|
I rebased this now that #44086 is merged @cilium/sig-datapath PTAL when you get a chance I would like to change the title of the PR to |
|
/test |
dylandreimerink
left a comment
There was a problem hiding this comment.
These changes look good to me! Nicely done
|
@joestringer PTAL when you get a chance |
|
Looks like the metrics documentation is out of sync @Andreagit97, that's why the Smoke Test is failing. |
Rename `__tail_no_service_ipv6` into `generate_icmp6_reply`. Now `generate_icmp6_reply` can generate a generic ICMPv6 packet with type and code. Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
8789e1e to
91270de
Compare
|
Thank you @youngnick! I didn't touch any metric, so I suppose a rebase on main should be enough. @cilium/sig-datapath, I should have addressed all comments. Let me know if there is something else to do |
91270de to
64bc05e
Compare
The last two patches in this series are just fix-ups for previous changes in this PR, right? Could you please squash those fix-ups into the corresponding patches? |
This changes the datapath code to add support for returning an ICMPv6 "Destination Unreachable" / "Administratively Prohibited" response for policy denials, instead of silently dropping traffic. Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
64bc05e to
8a49d56
Compare
|
Sure! Done :) |
|
/test |
This PR implements ICMPv6 responses for IPv6 egress traffic (part of #41859)
The approach is very similar to the one used here #41406; the only real difference is that ICMPv6 requires rate-limiting.