Sunday 24 January 2010

connect vpn linux

sonicwall netExtender connect into work in one go with cmd-line right now. It took me 50 or so gos on Fri :-7 on linux. Prog crashes. Seems to be a combined java and maybe C/C++ something compiled project. Maybe java for gui. I wonder could I fix it.
Is there one crash or more than one? Is it in GUI or client and/or also pppd or others?
I thought at one stage it seemed that a 10-char password would work but not shorter lengths. But I think that might not be the case now.

as vpn connecting goes I was very happy I could get onto network easily enough while using linux or windows. The linux client doesn't seem to be fantastically tested though.

good log:

NetExtender for Linux - Version 3.5.632 .1111P|.

User Access Authentication
Password:
Connecting to SSL-VPN Server "x". . .
Connected.
Logging in...
Login successful.
One Time Password:
Password accepted
Using SSL Encryption Cipher 'DHE-RSA-AES256-SHA'
Using new PPP frame encoding mechanism
You now have access to the following 4342 remote networks:
NetExtender connected successfully. Type "Ctrl-c" to disconnect...
^CDisconnecting NetExtender...
Terminating pppd.......
SSL-VPN logging out...
SSL-VPN connection is terminated.
Exiting NetExtender client

netExtenderClient/
98049 2009-04-30 20:14 libNetExtender.so
73992 2009-04-30 20:14 netExtender
183 2009-04-30 20:14 netExtenderGui
67210 2009-04-30 20:14 NetExtender.jar
220 2009-04-30 20:14 sslvpn
52 2009-04-30 20:14 sslvpnroute


bad logs:





2010-01-22 22:58:07 GMT INFO com.sonicwall.NetExtender Logging initialized.
2010-01-22 22:58:09 GMT INFO com.sonicwall.NetExtender NetExtender version 3.5.632
Making a global reference ot the NetExtenderControl object registered with JNI
SUSE/Ubuntu compatibility mode on
printlog: first getting class id
printlog: getting printTologFromJNI method id
Found method id
,,,,,,,,,,,,,,,
,,,mmbbbbbb11111111111111111111111bbbbbmm,,,
,,,b||PPPPPPP||````````````````|PPPPPPPPP111111111111bbm,,
`````` `````PPPP111111111bm,
```PP1111111bm,
`PP111111b,
|111111:
NetExtender for Linux - Version 3.5.632 .1111P|.
Copyright (c) 2009 SonicWALL, Inc. ,b1PP|`
,,||```
Loading saved profiles...
Loaded profile: x
Done.
JNI: setDestination:Setting Destination: x
JNI: LaunchNX: mypid = 3758
JNI: LaunchNX: Launching NetExtender2
JNI: LaunchNX: Using destination IP x
JNI: LaunchNX: launching NX

Connecting to SSL-VPN Server "x". . .
Connected.
Logging in...
Login successful.
buff = []
printlog: first getting class id
printlog: getting getOtpPassword method id
Found method id
len=9
checkpoint 5
checkpoint 6, len = 9
temp buff is x
right before snprintf, the result buff is still x
returning from otp_get_pass, result pointer is still 0x82bcac0
otp pass is x length = 9
Password accepted
Using SSL Encryption Cipher 'DHE-RSA-AES256-SHA'
Using new PPP frame encoding mechanism
]?????H??? SSL-VPN logging out...
SSL-VPN connection is terminated.
Exiting NetExtender client
JNI: LaunchNX: Exiting LaunchNX, returning (0)
Loading saved profiles...
Loaded profile: x
Done.
2010-01-22 23:00:54 GMT INFO com.sonicwall.gui.NetExtenderRootPanel NetExtender disconnected
2010-01-22 23:00:54 GMT INFO com.sonicwall.NetExtender Previous NetExtender thread still alive. Waiting...
2010-01-22 23:00:54 GMT INFO com.sonicwall.NetExtender Done waiting.


AGAIN:

JNI: LaunchNX: mypid = 3758
JNI: LaunchNX: Launching NetExtender2

otp pass is x length = 10
Password accepted
Using SSL Encryption Cipher 'DHE-RSA-AES256-SHA'
Using new PPP frame encoding mechanism
SSL-VPN logging out...
ERROR: BIO_do_connect: Interrupted system call (4)
Logout command failed
SSL-VPN connection is terminated.
Exiting NetExtender client
JNI: LaunchNX: Exiting LaunchNX, returning (0)
Loading saved profiles...
Loaded profile: x
Done.
2010-01-22 23:01:13 GMT INFO com.sonicwall.gui.NetExtenderRootPanel NetExtender disconnected
pppd: no device specified and stdin is not a tty


AGAIN:

JNI: LaunchNX: mypid = 3758
JNI: LaunchNX: Launching NetExtender2
.
.
.
Using SSL Encryption Cipher 'DHE-RSA-AES256-SHA'
Using new PPP frame encoding mechanism

]???VgSSL-VPN logging out...
SSL-VPN connection is terminated.
Exiting NetExtender client
JNI: LaunchNX: Exiting LaunchNX, returning (0)
Loading saved profiles...


AGAIN:
JNI: LaunchNX: mypid = 3758
JNI: LaunchNX: Launching NetExtender2

pppd: no device specified and stdin is not a tty
WARNING: Pppd terminated because it was sent a SIGINT, SIGTERM or SIGHUP signal. (5)


AGAIN:
JNI: LaunchNX: mypid = 3758
JNI: LaunchNX: Launching NetExtender2
.
.
Using SSL Encryption Cipher 'DHE-RSA-AES256-SHA'
Using new PPP frame encoding mechanism
]???V?HmSSL-VPN logging out...
SSL-VPN connection is terminated.
Exiting NetExtender client
JNI: LaunchNX: Exiting LaunchNX, returning (0)


etc etc

No comments: