[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121114.214102.987670183731141557.davem@davemloft.net>
Date: Wed, 14 Nov 2012 21:41:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: saurabh.mohan@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4/ip_vti.c: VTI fix post-decryption forwarding
From: Saurabh Mohan <saurabh.mohan@...tta.com>
Date: Wed, 14 Nov 2012 18:08:15 -0800
>
>
> With the latest kernel there are two things that must be done post decryption
> so that the packet are forwarded.
> 1. Remove the mark from the packet. This will cause the packet to not match
> the ipsec-policy again. However doing this causes the post-decryption check to
> fail also and the packet will get dropped. (cat /proc/net/xfrm_stat).
> 2. Remove the sp association in the skbuff so that no policy check is done on
> the packet for VTI tunnels.
>
> Due to #2 above we must now do a security-policy check in the vti rcv path
> prior to resetting the mark in the skbuff.
>
> Signed-off-by: Saurabh Mohan <saurabh.mohan@...tta.com>
> Reported-by: Ruben Herold <ruben@...ttmann.net>
Applied, and queued up for -stable, thanks.
--
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