[Openswan Users] Invalid ipsec verify command
Simon Deziel
simon at xelerance.com
Fri Jun 21 19:57:18 UTC 2013
Hi,
It is fixed in git by calling "ss" without using a fully qualified path
as not all distros install it in the same place. If you'd like to fix
your local copy you can use this command:
sed -i 's|/usr/sbin/ss|ss|' /usr/lib/ipsec/verify
Thanks for reporting the problem!
Simon
On 13-06-18 04:58 AM, Antonio Silva wrote:
> Hi,
> using the version openswan 2.6.39, when i execute the command "ipsec
> verify", i have the error "OSError: [Errno 2] No such file or directory".
>
> Is this normal? what is that i'm missing?
>
> Thanks,
> António
>
>
>
>
> -- ipsec verify output:
>
> # ipsec verify
> Checking if IPsec got installed and started correctly:
>
> Version check and ipsec on-path [OK]
> Openswan U2.6.39/K3.0.50 (netkey)
> See `ipsec --copyright' for copyright information.
> Checking for IPsec support in kernel [OK]
> NETKEY: Testing XFRM related proc values
> ICMP default/send_redirects [OK]
> ICMP default/accept_redirects [OK]
> XFRM larval drop [OK]
> Hardware random device check [N/A]
> Two or more interfaces found, checking IP forwarding [OK]
> Checking rp_filter [OK]
> Checking that pluto is running [OK]
> Pluto listening for IKE on udp 500 Traceback (most recent
> call last):
> File "/usr/lib/ipsec/verify", line 461, in <module>
> main()
> File "/usr/lib/ipsec/verify", line 452, in main
> plutocheck()
> File "/usr/lib/ipsec/verify", line 178, in plutocheck
> udp500check()
> File "/usr/lib/ipsec/verify", line 258, in udp500check
> p = subprocess.Popen(["/usr/sbin/ss", "-n", "-l", "-u", "sport =
> :500"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
> File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
> errread, errwrite)
> File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory
>
>
>
> _______________________________________________
> Users at lists.openswan.org
> https://lists.openswan.org/mailman/listinfo/users
> Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>
More information about the Users
mailing list