bugzilla-daemon at bugzilla.netfilter.org
2011-Sep-26 19:10 UTC
[Bug 750] New: AF_INET6 packets are sent to AF_INET queue
http://bugzilla.netfilter.org/show_bug.cgi?id=750 Summary: AF_INET6 packets are sent to AF_INET queue Product: libnetfilter_queue Version: unspecified Platform: i386 OS/Version: Ubuntu Status: NEW Severity: enhancement Priority: P5 Component: libnetfilter_queue AssignedTo: netfilter-buglog at lists.netfilter.org ReportedBy: abirvalg at lavabit.com Estimated Hours: 0.0 my NFQUEUE handler was initialized with nfq_bind_pf ( globalh, AF_INET ) Yet an application by the name of Jitsi send AF_INET6 packets and they trigger my NFQUEUE handler. To prove this I ran jitsi through strace and the sending of packet was logged thusly: 29529 21:35:25.729151 connect(150, {sa_family=AF_INET6, sin6_port=htons(53), inet_pton(AF_INET6, "::ffff:195.122.12.242", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 29529 21:35:25.729613 send(150, "\255H\1\0\0\1\0\0\0\0\0\0\f_xmpp-client\4_tcp\5g"..., 45, 0) = 45 There is no doubt that it is this packet which triggered my NFQUEUE handler, because my app also shows timestamps and it was just a couple milisecs later . So, does libnetfilter_queue lump AF_INET6 and AF_INET packets? -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are watching all bug changes.
bugzilla-daemon at bugzilla.netfilter.org
2011-Sep-28 07:02 UTC
[Bug 750] AF_INET6 packets are sent to AF_INET queue
http://bugzilla.netfilter.org/show_bug.cgi?id=750 abirvalg <abirvalg at lavabit.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from abirvalg <abirvalg at lavabit.com> 2011-09-28 09:02:25 --- It seemes this has nothing to do with netfilter_queue, but is a phenomenon of IPv6 socket on IPv4 machine. The OS or libc converts IPv6 packets to IPv4. -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are watching all bug changes.