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
| ||
|
Date: Tue, 23 Mar 2010 10:22:47 -0300 From: Eduardo Panisset <eduardo.panisset@...il.com> To: netdev@...r.kernel.org Subject: [BUG] XFRM IS NOT UPDATING ETH TYPE FIELD FOR INNER PACKET ON ETH HEADER Hi, Before doing this change wireshark was showing the inner packet as "malformed" as it uses the ethernet's type field to classify the L3 packets as IPv6, IPv4 and so on. The problem is when the inner packet is reinserted into Linux stack and the ethernet header keeps holding on its type field a value for the protocol of outer packet. Below my correction on file net/xfrm/xfrm_input.c, function xfrm_prepare_input: ... skb->protocol = inner_mode->afinfo->eth_proto; // existing code eth_hdr(skb)->h_proto = skb->protocol; // my change, adding this line ... Regards, Eduardo Panisset. -- 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