Commit 2916d45
authored
fix: ipv6 firewall icmpv6 sources [Backport 5.6.0] (#5973)
* fix(linux.net): Remove source restrictions for critical IPv6 ICMPv6 types
ICMPv6 types 133-136 (Router/Neighbor Discovery) are essential for IPv6
connectivity and should not be restricted to fe80::/10 sources only.
This restriction was breaking DNS resolution when DNS servers use ULA
addresses (fd00::/8) or Global Unicast addresses (2000::/3).
- Remove fe80::/10 source restriction for ICMPv6 types 133-136
- Add explanatory comment for the critical nature of these types
- Fixes IPv6 connectivity issues with non-link-local DNS servers
Tested with DNS servers using ULA addresses like fd63:50cc:f62:8::1
* fix(linux.net): Remove source restrictions for multicast IPv6 ICMPv6 types
Extend the IPv6 firewall fix to include multicast-related ICMPv6 types
that are essential for IPv6 multicast services and routing protocols.
Removed fe80::/10 source restrictions for:
- Type 130-132: Multicast Listener Discovery (MLD)
- Type 151-153: Multicast Router Discovery
This fixes issues with:
- Multicast DNS (mDNS) resolution
- DHCPv6 multicast communications
- IPv6 routing protocols (OSPFv3, RIPng)
- Service discovery (Bonjour, Avahi)
- IoT protocols (Thread, Matter) using IPv6 multicast
Inverse Neighbor Discovery (141-142) and Certificate Path (148-149)
remain restricted to fe80::/10 as they are less critical for basic
IPv6 connectivity.
* Updated version
Signed-off-by: MMaiero <[email protected]>
* Added coverage tests
Signed-off-by: MMaiero <[email protected]>
* Tests alignment with develop
Signed-off-by: MMaiero <[email protected]>
---------
Signed-off-by: MMaiero <[email protected]>1 parent 57f4bb5 commit 2916d45
File tree
4 files changed
+1162
-18
lines changed- kura
- distrib/config
- org.eclipse.kura.linux.net/src/main/java/org/eclipse/kura/linux/net/iptables
- test/org.eclipse.kura.linux.net.test/src/test/java/org/eclipse/kura/linux/net/iptables
4 files changed
+1162
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
0 commit comments