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