Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use symbolic ICMP types in MLD rule #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonathanunderwood
Copy link

Symbolic ICMP types for MLD were added in commit e6e82a5. This commit updates the config file to use them.

Symbolic ICMP types for MLD were added in commit e6e82a5. This commit updates the config file to use them.

Signed-off-by: jonathanunderwood <jonathan.underwood@gmail.com>
@jonathanunderwood
Copy link
Author

@jow- unsure if this needs tests updates, but I am struggling to parse the tests - any pointers much appreciated.

@brada4
Copy link

brada4 commented Jan 8, 2024

Build and install ucode and run sh script in top level.

@jonathanunderwood
Copy link
Author

@jow- any chance we can get this merged for 24.10?

Copy link

@brada4 brada4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readback via nft gives numbers (but your patch is correct)

@jonathanunderwood
Copy link
Author

@jow- would be great if we could get this into 24.10 (now on rc4) - it's a minimal change and has been working fine for me locally.

@brada4
Copy link

brada4 commented Dec 29, 2024

Does it work with firewall3?

@CallMeR
Copy link

CallMeR commented Dec 30, 2024

From rfc4890 - Recommendations for Filtering ICMPv6 Messages in Firewalls

4.3. Recommendations for ICMPv6 Transit Traffic

4.3.3. Traffic That Will Be Dropped Anyway -- No Special Attention Needed

Link-local multicast receiver notification messages (must have link-local source address):
o Listener Query (Type 130)
o Listener Report (Type 131)
o Listener Done (Type 132)
o Listener Report v2 (Type 143)

4.4. Recommendations for ICMPv6 Local Configuration Traffic

4.4.1. Traffic That Must Not Be Dropped

Link-Local Multicast Receiver Notification messages:
o Listener Query (Type 130)
o Listener Report (Type 131)
o Listener Done (Type 132)
o Listener Report v2 (Type 143)

According to the content of this document, it seems that these types of ICMP packets coming from the WAN can be safely dropped. On the other hand, for packets coming from the LAN, they need to remain in the Accept state. However, since the current firewall policy allows all traffic from the LAN, there is no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants