[vpn-help] Start Shrew Soft VPN Client from command-line

cmlitguy at gmail.com cmlitguy at gmail.com
Mon Mar 19 10:10:23 CDT 2012


Also I receive the error when I tried to start ikec with -r key and 
config file copied from another PC:

# ikec  -r test
ii : ## : VPN Connect, ver 2.2.0
## : Copyright 2009 Shrew Soft Inc.
## : press the <h> key for help
*** glibc detected *** ikec: double free or corruption (out): 
0x0000000002116640 ***
======= Backtrace: =========
/lib64/libc.so.6[0x34e7e750c6]
/usr/lib64/libss_idb.so.2.2.0(_ZN6_BDATA4growEm+0x8c)[0x7fa923598222]
/usr/lib64/libss_idb.so.2.2.0(_ZN6_BDATA3insEPvmm+0x5e)[0x7fa923598afe]
/usr/lib64/libss_idb.so.2.2.0(_ZN6_BDATA3insEPcmm+0x34)[0x7fa923598bde]
/usr/lib64/libss_ike.so.2.2.0(_ZN15_CONFIG_MANAGER13file_vpn_loadER7_CONFIG+0xdf)[0x7fa9237a6e31]
/usr/lib64/libss_ike.so.2.2.0(_ZN7_CLIENT11config_loadEv+0xc3)[0x7fa9237a4963]
ikec(main+0xbe)[0x401702]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x34e7e1ecdd]
ikec[0x401589]
======= Memory map: ========
00400000-00403000 r-xp 00000000 fd:00 286752                             
/usr/local/bin/ikec
00602000-00603000 rw-p 00002000 fd:00 286752                             
/usr/local/bin/ikec
02116000-02137000 rw-p 00000000 00:00 0                                  
[heap]
34e7600000-34e7620000 r-xp 00000000 fd:00 14                             
/lib64/ld-2.12.so
34e781f000-34e7820000 r--p 0001f000 fd:00 14                             
/lib64/ld-2.12.so
34e7820000-34e7821000 rw-p 00020000 fd:00 14                             
/lib64/ld-2.12.so
34e7821000-34e7822000 rw-p 00000000 00:00 0
34e7a00000-34e7a02000 r-xp 00000000 fd:00 76                             
/lib64/libdl-2.12.so
34e7a02000-34e7c02000 ---p 00002000 fd:00 76                             
/lib64/libdl-2.12.so
34e7c02000-34e7c03000 r--p 00002000 fd:00 76                             
/lib64/libdl-2.12.so
34e7c03000-34e7c04000 rw-p 00003000 fd:00 76                             
/lib64/libdl-2.12.so
34e7e00000-34e7f97000 r-xp 00000000 fd:00 40                             
/lib64/libc-2.12.so
34e7f97000-34e8197000 ---p 00197000 fd:00 40                             
/lib64/libc-2.12.so
34e8197000-34e819b000 r--p 00197000 fd:00 40                             
/lib64/libc-2.12.so
34e819b000-34e819c000 rw-p 0019b000 fd:00 40                             
/lib64/libc-2.12.so
34e819c000-34e81a1000 rw-p 00000000 00:00 0
34e8200000-34e8217000 r-xp 00000000 fd:00 278                            
/lib64/libpthread-2.12.so
34e8217000-34e8416000 ---p 00017000 fd:00 278                            
/lib64/libpthread-2.12.so
34e8416000-34e8417000 r--p 00016000 fd:00 278                            
/lib64/libpthread-2.12.so
34e8417000-34e8418000 rw-p 00017000 fd:00 278                            
/lib64/libpthread-2.12.so
34e8418000-34e841c000 rw-p 00000000 00:00 0
34e8600000-34e8683000 r-xp 00000000 fd:00 255                            
/lib64/libm-2.12.so
34e8683000-34e8882000 ---p 00083000 fd:00 255                            
/lib64/libm-2.12.so
34e8882000-34e8883000 r--p 00082000 fd:00 255                            
/lib64/libm-2.12.so
34e8883000-34e8884000 rw-p 00083000 fd:00 255                            
/lib64/libm-2.12.so
34e8e00000-34e8e07000 r-xp 00000000 fd:00 279                            
/lib64/librt-2.12.so
34e8e07000-34e9006000 ---p 00007000 fd:00 279                            
/lib64/librt-2.12.so
34e9006000-34e9007000 r--p 00006000 fd:00 279                            
/lib64/librt-2.12.so
34e9007000-34e9008000 rw-p 00007000 fd:00 279                            
/lib64/librt-2.12.so
34e9200000-34e9215000 r-xp 00000000 fd:00 254                            
/lib64/libz.so.1.2.3
34e9215000-34e9414000 ---p 00015000 fd:00 254                            
/lib64/libz.so.1.2.3
34e9414000-34e9415000 r--p 00014000 fd:00 254                            
/lib64/libz.so.1.2.3
34e9415000-34e9416000 rw-p 00015000 fd:00 254                            
/lib64/libz.so.1.2.3
34e9600000-34e961d000 r-xp 00000000 fd:00 376                            
/lib64/libtinfo.so.5.7
34e961d000-34e981d000 ---p 0001d000 fd:00 376                            
/lib64/libtinfo.so.5.7
34e981d000-34e9821000 rw-p 0001d000 fd:00 376                            
/lib64/libtinfo.so.5.7
34eaa00000-34eaa16000 r-xp 00000000 fd:00 270                            
/lib64/libgcc_s-4.4.6-20110824.so.1
34eaa16000-34eac15000 ---p 00016000 fd:00 270                            
/lib64/libgcc_s-4.4.6-20110824.so.1
34eac15000-34eac16000 rw-p 00015000 fd:00 270                            
/lib64/libgcc_s-4.4.6-20110824.so.1
34eb200000-34eb373000 r-xp 00000000 fd:00 268045                         
/usr/lib64/libcrypto.so.1.0.0
34eb373000-34eb572000 ---p 00173000 fd:00 268045                         
/usr/lib64/libcrypto.so.1.0.0
34eb572000-34eb58b000 r--p 00172000 fd:00 268045                         
/usr/lib64/libcrypto.so.1.0.0
34eb58b000-34eb595000 rw-p 0018b000 fd:00 268045                         
/usr/lib64/libcrypto.so.1.0.0
34eb595000-34eb599000 rw-p 00000000 00:00 0
34eda00000-34eda29000 r-xp 00000000 fd:00 263001                         
/usr/lib64/libedit.so.0.0.27
34eda29000-34edc29000 ---p 00029000 fd:00 263001                         
/usr/lib64/libedit.so.0.0.27
34edc29000-34edc2c000 rw-p 00029000 fd:00 263001                         
/usr/lib64/libedit.so.0.0.27
34edc2c000-34edc2f000 rw-p 00000000 00:00 0
7fa922a4e000-7fa922a5a000 r-xp 00000000 fd:00 41                         
/lib64/libnss_files-2.12.so
7fa922a5a000-7fa922c5a000 ---p 0000c000 fd:00 41                         
/lib64/libnss_files-2.12.so
7fa922c5a000-7fa922c5b000 r--p 0000c000 fd:00 41                         
/lib64/libnss_files-2.12.so
7fa922c5b000-7fa922c5c000 rw-p 0000d000 fd:00 41                         
/lib64/libnss_files-2.12.so
7fa922c5c000-7fa922c61000 rw-p 00000000 00:00 0
7fa922c61000-7fa922c83000 r-xp 00000000 fd:00 377                        
/lib64/libncurses.so.5.7
7fa922c83000-7fa922e82000 ---p 00022000 fd:00 377                        
/lib64/libncurses.so.5.7
7fa922e82000-7fa922e83000 rw-p 00021000 fd:00 377                        
/lib64/libncurses.so.5.7
7fa922e83000-7fa922e85000 rw-p 00000000 00:00 0
7fa922e85000-7fa922f6d000 r-xp 00000000 fd:00 262985                     
/usr/lib64/libstdc++.so.6.0.13
7fa922f6d000-7fa92316d000 ---p 000e8000 fd:00 262985                     
/usr/lib64/libstdc++.so.6.0.13
7fa92316d000-7fa923174000 r--p 000e8000 fd:00 262985                     
/usr/lib64/libstdc++.so.6.0.13
7fa923174000-7fa923176000 rw-p 000ef000 fd:00 262985                     
/usr/lib64/libstdc++.so.6.0.13
7fa923176000-7fa92318d000 rw-p 00000000 00:00 0
7fa92318d000-7fa92318f000 r-xp 00000000 fd:00 286869                     
/usr/local/lib/libss_log.so.2.2.0Aborted (core dumped)

On 3/18/2012 7:08 PM, lestoilfante wrote:
> You should disable the gui on compiling time. then run iked and ikec 
> -r configfilename -u username -p password -a
>
>
> On Tue, Mar 13, 2012 at 9:42 AM, cmlitguy at gmail.com 
> <mailto:cmlitguy at gmail.com> <cmlitguy at gmail.com 
> <mailto:cmlitguy at gmail.com>> wrote:
>
>     Hello,
>     I want to ask if someone know how I can start Shrew VPN Client
>     from command-line on Linux.
>     I found same questions in mailing-list
>     http://lists.shrew.net/pipermail/vpn-help/2011-April/003636.html,
>     but with no clear response.
>     Also I tried to find help starting the programs:
>     # ikea --help
>     ikea: cannot connect to X server
>
>     # ikec --help
>     ikec: cannot connect to X server
>
>     # iked --help
>     !! : socket bind failed
>     daemon network configuration failed
>      ( line 9, col 15 )
>
>     Cant someone ask if is possible to establish a VPN tunnel using
>     Shrew Soft VPN Client from command-line ?
>     Now we are using vpnc + simple php script with apache to make a
>     connection via Web Browser:
>
>     Thanks in advance.
>     _______________________________________________
>     vpn-help mailing list
>     vpn-help at lists.shrew.net <mailto:vpn-help at lists.shrew.net>
>     http://lists.shrew.net/mailman/listinfo/vpn-help
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20120319/fd4f9575/attachment-0001.html>


More information about the vpn-help mailing list