Fails to load a VPN profile that has more then 6 characters in it's filename
Opened this issue · 1 comments
jdenoy commented
Trying to start the VPN using the profile I have failed for no reasons. After testing different filenames, I've found that the problem is the number of caracters of the filename.
Seems that above 6 characters the VPN profile fails to be loaded :
jdenoy@johand:~/.ike/sites$ docker run --rm -it --privileged --net=host -v ~/.ike/sites:/sites stono/ike 1234567 user pass
IKEd started.
Starting IKEc for 1234567...
ii : ## : VPN Connect, ver 2.2.1
## : Copyright 2013 Shrew Soft Inc.
## : press the <h> key for help
===>!! : failed to load '1234567'<===
ii : created ike socket 0.0.0.0:500
ii : created natt socket 0.0.0.0:4500
## : IKE Daemon, ver 2.2.1
## : Copyright 2013 Shrew Soft Inc.
## : This product linked OpenSSL 1.0.1e-fips 11 Feb 2013
K! : recv X_SPDDUMP message failure ( errno = 2 )
^CDetected SIGTERM, shuting down...
Stopping ikec...
Stopping iked...
But work perfectly with a six characters VPN profil name :
jdenoy@johand:~/.ike/sites$ docker run --rm -it --privileged --net=host -v ~/.ike/sites:/sites stono/ike 123456 user pass
IKEd started.
Starting IKEc for 123456...
ii : ## : VPN Connect, ver 2.2.1
## : Copyright 2013 Shrew Soft Inc.
## : press the <h> key for help
ii : created ike socket 0.0.0.0:500
ii : created natt socket 0.0.0.0:4500
## : IKE Daemon, ver 2.2.1
## : Copyright 2013 Shrew Soft Inc.
## : This product linked OpenSSL 1.0.1e-fips 11 Feb 2013
===> >> : config loaded for site '123456'<===
>> : attached to key daemon ...
>> : peer configured
>> : iskamp proposal configured
>> : esp proposal configured
>> : client configured
>> : local id configured
>> : remote id configured
>> : pre-shared key configured
K! : recv X_SPDDUMP message failure ( errno = 2 )
ii : bringing up tunnel ...
!! : invalid private netmask, defaulting to 255.255.255.0
>> : network device configured
ii : tunnel enabled
^CDetected SIGTERM, shuting down...
Stopping ikec...
Stopping iked...