[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200809221137.21326.remi.denis-courmont@nokia.com>
Date: Mon, 22 Sep 2008 11:37:21 +0300
From: "Rémi Denis-Courmont"
<remi.denis-courmont@...ia.com>
To: pommnitz@...oo.com
Cc: netdev@...r.kernel.org
Subject: Re: Receiving decrypted IPsec Packets including MAC source address
On Monday 22 September 2008 11:25:11 ext Joerg Pommnitz, you wrote:
> Hello all,
> is there a way to get the source MAC address for a decrypted IPsec
> protected UDP packet? For unencrypted data I would use RAW sockets, but
> this obviously fails for encrypted data.
In either case, you would have to use PACKET sockets as INET raw sockets won't
give you the link-layer headers. But yeah, that would mean deciphering the
packets in userland.
--
Rémi Denis-Courmont
Maemo Software, Nokia Devices R&D
--
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