* Receiving decrypted IPsec Packets including MAC source address
@ 2008-09-22 8:25 Joerg Pommnitz
2008-09-22 8:37 ` Rémi Denis-Courmont
0 siblings, 1 reply; 2+ messages in thread
From: Joerg Pommnitz @ 2008-09-22 8:25 UTC (permalink / raw)
To: netdev
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.
--
Regards
Joerg
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Receiving decrypted IPsec Packets including MAC source address
2008-09-22 8:25 Receiving decrypted IPsec Packets including MAC source address Joerg Pommnitz
@ 2008-09-22 8:37 ` Rémi Denis-Courmont
0 siblings, 0 replies; 2+ messages in thread
From: Rémi Denis-Courmont @ 2008-09-22 8:37 UTC (permalink / raw)
To: pommnitz; +Cc: netdev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-22 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 8:25 Receiving decrypted IPsec Packets including MAC source address Joerg Pommnitz
2008-09-22 8:37 ` Rémi Denis-Courmont
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).