Description of problem:
When using systemd-resolved, it reports ICMP port as unreachable.
Version-Release number of selected component (if applicable):
systemd-239-58.el8_6.8.x86_64
How reproducible:
Query ICMP on system which is using systemd-resolved.
Steps to Reproduce:
1. Use systemd-resolved for local name resolution
2. Send ICMP queries locally
Actual results:
- systemd-resolved sends queries to nameservers (UDP to port upstream:53)
- answers are ignored (UDP from upstream:53)
- kernel sends ICMP port unreachable
Expected results:
- systemd-resolved sends queries to nameservers (UDP to port upstream:53)
- answers are read (UDP from upstream:53)
Additional info:
The issue has been fixed in upstream.
https://github.com/systemd/systemd/issues/17421