Results 1 to 1 of 1
I am working with Fedora Core 1, and I am trying to figure out if it is possible to write a userspace program that receives IPSEC ESP and AH packets. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-21-2007 #1
- Join Date
- Jun 2007
Receiving IPSEC ESP and AH Messages
int fd = socket(PK_INET, SOCK_RAW, IPPROTO_ESP)
but when I send an ESP packet to my Fedora system, the packet is never received. It doesn't even show up on an Ethereal trace. It seems like it is being discarded by the kernel very early on.
Please note that I am trying to provide my own handling for these packets, rather than using something like Openswan.
Maybe it is not possible to do what I am trying to do, but maybe there is just something simple I'm missing. Any ideas?