[Openswan Users] Can IPsec protect Raw socket packet?

Chen, Kai (Kai) kaichen at lucent.com
Fri Jan 20 10:06:37 CET 2006


Thanks for you reply.

I have setup an IPsec tunnel between ends A and B. I used ping to test
whether the tunnel had been setup properly. I found that the ICMP =
were protected by ESP.

Now, I have an application which transmit data via raw socket(which is =
type of transport layer protocols(STREAM--TCP, DATAGRAM--UDP, RAW =
For it is transparent to IP, it should be protected by IPsec from A to =
But it does not.



-----Original Message-----
From: Paul Wouters [mailto:paul at xelerance.com]=20
Sent: 2006=C4=EA1=D4=C220=C8=D5 0:10
To: Chen, Kai (Kai)
Cc: users at openswan.org
Subject: Re: [Openswan Users] Can IPsec protect Raw socket packet?

On Thu, 19 Jan 2006, Chen, Kai (Kai) wrote:

> I have setup a FreeSWAN IPsec tunnel and the ping packets are =
protected by
> ESP. When I sent raw socket packet between this tunnel ends, the =
packet is
> not protected as will. Could you tell me why or what I have missed?

Can you give us some more information about what you are actually =


More information about the Users mailing list