lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 9 May 2015 01:18:43 +0000
From:	"Templin, Fred L" <Fred.L.Templin@...ing.com>
To:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Hairpinning through net/ipv6/sit.c

Hello,

In ipip6_rcv() of net/ipv6/sit.c, I am trying to institute "hairpinning". By that,
I mean that when ipip6_rcv() processes an IPv6-in-IPv4 encapsulated packet
I examine IPv6 routing to see if the packet should go back out the same
interface it arrived on. If so directed by routing, I want to rewrite the IPv4
source and destination addresses and directly call ip_local_output(skb)
instead of calling netif_rx(skb). But, when I call ip_local_output(skb), the
system locks up.

Any ideas on what is happening and how to fix it? Or, any ideas on other
ways to do this kind of hairpinning?

Thanks - Fred
fred.l.templin@...ing.com


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ