Receiving decrypted IPsec Packets including MAC source address
Subsystems (2)
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.
Signature · 7 lines
Regards
Joerg
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com Quoted 4 lines · you
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.
Signature · 2 lines
Rémi Denis-Courmont Maemo Software, Nokia Devices R&D