[strongSwan] help: ping behaviour when tunnel is not established
Adrian Milanoski
amilanoski at rim.com
Wed Apr 18 00:55:16 CEST 2012
Have you ran tcpdump dumps along the line and on the both Pub and Priv interface to see where the packets are going? I too am having similar issues with my GW. I see my ESP packets coming in the Pub and then going back out the Pub with its private address when it should be going back out the private network. Do you see similar symptoms?
Regards,
Adrian Milanoski
Short Range Protocols
Lab Administrator
Research In Motion Limited
Tel.(289) 261-5801
Email amilanoski at rim.com<mailto:amilanoski at rim.com>
[www.rim.com]<http://www.rim.com/>[cid:image001.png at 01CB37B8.EC492D80]
From: users-bounces+amilanoski=rim.com at lists.strongswan.org [mailto:users-bounces+amilanoski=rim.com at lists.strongswan.org] On Behalf Of Shukla, Sanjay
Sent: Monday, April 16, 2012 11:13 AM
To: users at lists.strongswan.org
Subject: Re: [strongSwan] help: ping behaviour when tunnel is not established
Hello,
Any insight to the below would be helpful.
Regards,
-sanjay
From: users-bounces+sanjay.shukla=ipc.com at lists.strongswan.org [mailto:users-bounces+sanjay.shukla=ipc.com at lists.strongswan.org] On Behalf Of Shukla, Sanjay
Sent: Friday, April 13, 2012 3:58 PM
To: users at lists.strongswan.org
Subject: [strongSwan] help: ping behaviour when tunnel is not established
I request you urgent help in understanding this behavior.
When a connection is configured in /etc/ipsec.conf but the left side of the connection is not responding (say left is unreachable) I see the ping behavior as below
root at ffd-ipsec-189 sanjay]# ping 10.204.74.188
basically ping is stuck or blocked.
Now if I do not have a connection configured in the /etc/ipsec.conf I see that the ping responds like this
root at ffd-ipsec-189 sanjay]# ping 10.204.74.188
PING 10.204.74.188 (10.204.74.188) 56(84) bytes of data.
>From 10.204.74.189 icmp_seq=2 Destination Host Unreachable
>From 10.204.74.189 icmp_seq=3 Destination Host Unreachable
>From 10.204.74.189 icmp_seq=5 Destination Host Unreachable
What settings can be done for a timeout to occurs to that a program that is trying to reach an ip may not be blocked forever if ipsec SA cannot be established ?
My connection setting as follows
#Below Are The Configuration for CCM_CCM IPSec Tunnel
conn LocalIP_LocalIP_10.204.74.188
left=10.204.74.189
leftcert=ServLcl.pem
leftsendcert=yes
leftupdown=/opt/ipc/security/ipsectunnel/rightdown.sh
right=10.204.74.188
rightid=%any
keyexchange=ikev2
type=transport
reauth=no
dpddelay=5s
dpdaction=restart
keyingtries=%forever
auto=route
regards,
-sanjay
[cid:image004.png at 01CD1CCB.9E9B0230]Please consider the environment before printing this email.
________________________________
DISCLAIMER: This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail.E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you may decide not to use e-mail to communicate with IPC. IPC reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems.
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120417/2a701e5f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 14342 bytes
Desc: image002.jpg
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120417/2a701e5f/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 1469 bytes
Desc: image003.jpg
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120417/2a701e5f/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 908 bytes
Desc: image004.png
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120417/2a701e5f/attachment.png>
More information about the Users
mailing list