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

ICMP6 Helper Segmentation Fault #8

Open
fukawi2 opened this issue Feb 25, 2013 · 5 comments
Open

ICMP6 Helper Segmentation Fault #8

fukawi2 opened this issue Feb 25, 2013 · 5 comments

Comments

@fukawi2
Copy link
Owner

fukawi2 commented Feb 25, 2013

There is an upstream bug in ip6tables that causes segmentation faults. Refer http://bugzilla.netfilter.org/show_bug.cgi?id=766

There are certain protective rules commented in the helper at the moment.

They need to be uncommented when upstream fixes the issue.

@ghost ghost assigned fukawi2 Feb 25, 2013
@fukawi2
Copy link
Owner Author

fukawi2 commented Feb 25, 2013

The issue appears to be resolved upstream, however there is also a workaround by reordering the modules in each rule (-p icmpv6 before -m hl).

fukawi2 pushed a commit that referenced this issue Feb 25, 2013
@fukawi2
Copy link
Owner Author

fukawi2 commented Feb 26, 2013

This appears to still be broken, but for a different reason. When the comment gets appended to the rule, netfilter barfs with Can't specify HL option twice.

Reversing the order of the hl and comment modules in the command line works though:

fw2 ~ # ip6tables -A INPUT -p icmpv6 --icmpv6-type redirect -m hl ! --hl-eq 255 -j DROP -m comment --comment "husk line 13"
ip6tables v1.4.7: Can't specify HL option twice
Try `ip6tables -h' or 'ip6tables --help' for more information.
fw2 ~ # ip6tables -A INPUT -p icmpv6 --icmpv6-type redirect -m comment --comment "husk line 13" -m hl ! --hl-eq 255 -j DROP
fw2 ~ # 

Possibly fixed upstream here: http://comments.gmane.org/gmane.comp.security.firewalls.netfilter.devel/37138

Still broken on Debian 6 and CentOS 6 presently. Work around by adding no_ipv6_comments = 1 to husk.conf

@fukawi2
Copy link
Owner Author

fukawi2 commented Mar 13, 2013

Appears to be resolved upstream according to the original netfilter bug report:
http://bugzilla.netfilter.org/show_bug.cgi?id=766

Reported to CentOS for investigation of including upstream fixes:
http://bugs.centos.org/view.php?id=6315

@fukawi2
Copy link
Owner Author

fukawi2 commented Mar 14, 2013

Reported to RedHat for inclusion in RHEL6, in order for it to flow down to CentOS: https://bugzilla.redhat.com/show_bug.cgi?id=921403

@fukawi2
Copy link
Owner Author

fukawi2 commented Aug 14, 2013

RedHat have closed bug report as "Can't Fix" so this will probably remain an issue for RHEL 6 and CentOS 6 users.

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

No branches or pull requests

1 participant