Problems after IPsec tunnel establishment
Hello friends,
I am currently doing my development on VPN. And i am using openswan as a tool for the same. In implemention of secure tunnel i am using certification method and also uses PSK i.e., PreShared Key method for tunnel establishment.
Now when ever i create a tunnel, it establish successfully , And the tunnel connection can be checked or verify using ping or ssh on one side and on the remote machine simaltaneouly using tcp dump or ethereal which captures the encrypted packets.
I am using kernel 2.6-10 and fedora core 3 . The problem with me is that any time i capture the packets on the remote host i received two packets
--> One is encrypted message as it has to be but i also receive another packet from the same host with the same protocol which is a usual packet.
-
For example, consider tunnel which is already established between machine A and machine B .
when i ping from machine A to machine B. I also capture packets on machine B using ethereal .
I received out put at B as:-
machine A mac. B esp(.....)
mach A mac. B ping echo request
machine A mac. B esp(.....)
mach A mac. B ping echo request
machine A mac. B esp(.....)
mach A mac. B ping echo request
and so on.............
So WHY SUCH THING HAPPENS ? AS PER THE TUNNEL ESTABLISHED , ONLY ENCRYPTED MESSAGE SHOULD BE SENDED .
I WANT URGENT REPLY............
THANX FOR ANSWER IN ADVANCE...
GOOD DAY AND HAVE A NICE TIME
BYE....
ANKUR.
|