hello,
I'm having some trouble with disconnecting from a VPN. The wired thing
is that this only happens at one (of my two) VPNs. Both have pretty
much the same configuration.
Here is the log:
2011-05-23 19:49:05 *Tunnelblick: OS X 10.6.7; Tunnelblick 3.1.7
(build 2190.2413); OpenVPN 2.1.4
2011-05-23 19:49:07 *Tunnelblick: Attempting connection with
xx.xx.xx.xx; Set nameserver = 3; monitoring connection
2011-05-23 19:49:07 *Tunnelblick: /Applications/Tunnelblick.app/
Contents/Resources/openvpnstart start xx.xx.xx.xx.tblk 1337 3 0 0 0 49
2011-05-23 19:49:08 OpenVPN 2.1.4 i386-apple-darwin10.7.1 [SSL] [LZO2]
[PKCS11] built on Mar 1 2011
2011-05-23 19:49:08 MANAGEMENT: TCP Socket listening on
127.0.0.1:1337
2011-05-23 19:49:08 Need hold release from management interface,
waiting...
2011-05-23 19:49:08 MANAGEMENT: Client connected from
127.0.0.1:1337
2011-05-23 19:49:08 MANAGEMENT: CMD 'pid'
2011-05-23 19:49:08 MANAGEMENT: CMD 'state on'
2011-05-23 19:49:08 MANAGEMENT: CMD 'state'
2011-05-23 19:49:08 MANAGEMENT: CMD 'hold release'
2011-05-23 19:49:08 NOTE: the current --script-security setting may
allow this configuration to call user-defined scripts
2011-05-23 19:49:08 PLUGIN_INIT: POST /Applications/Tunnelblick.app/
Contents/Resources/openvpn-down-root.so '[/Applications/
Tunnelblick.app/Contents/Resources/openvpn-down-root.so] [/
Applications/Tunnelblick.app/Contents/Resources/
client.down.tunnelblick.sh] [-m] [-w] [-d]' intercepted=PLUGIN_UP|
PLUGIN_DOWN
2011-05-23 19:49:08 LZO compression initialized
2011-05-23 19:49:08 Control Channel MTU parms [ L:1560 D:140 EF:40 EB:
0 ET:0 EL:0 ]
2011-05-23 19:49:08 Socket Buffers: R=[262140->65536] S=[131070-
>65536]
2011-05-23 19:49:08 Data Channel MTU parms [ L:1560 D:1450 EF:60 EB:
135 ET:0 EL:0 AF:3/1 ]
2011-05-23 19:49:08 Local Options hash (VER=V4): 'bc07730e'
2011-05-23 19:49:08 Expected Remote Options hash (VER=V4): 'b695cb4a'
2011-05-23 19:49:08 NOTE: UID/GID downgrade will be delayed because of
--client, --pull, or --up-delay
2011-05-23 19:49:08 Attempting to establish TCP connection with
xx.xx.xx.xx:XXX [nonblock]
2011-05-23 19:49:08 MANAGEMENT: >STATE:1306172948,TCP_CONNECT,,,
2011-05-23 19:49:08 *Tunnelblick: openvpnstart: /Applications/
Tunnelblick.app/Contents/Resources/openvpn --cd /Users/XXXXX/Library/
Application Support/Tunnelblick/Configurations/xx.xx.xx.xx.tblk/
Contents/Resources --daemon --management 127.0.0.1 1337 --config /
Users/XXXXX/Library/Application Support/Tunnelblick/Configurations/
xx.xx.xx.xx.tblk/Contents/Resources/config.ovpn --log /Library/
Application Support/Tunnelblick/Logs/-SUsers-SXXXXX-SLibrary-
SApplication Support-STunnelblick-SConfigurations-Sxx.xx.xx.xx.tblk-
SContents-SResources-Sconfig.ovpn.3_0_0_0_49.1337.openvpn.log --
management-query-passwords --management-hold --script-security 2 --up /
Applications/Tunnelblick.app/Contents/Resources/
client.up.tunnelblick.sh -m -w -d --plugin /Applications/
Tunnelblick.app/Contents/Resources/openvpn-down-root.so /Applications/
Tunnelblick.app/Contents/Resources/
client.down.tunnelblick.sh -m -w -d
--up-restart
2011-05-23 19:49:09 TCP connection established with xx.xx.xx.xx:XXX
2011-05-23 19:49:09 TCPv4_CLIENT link local: [undef]
2011-05-23 19:49:09 TCPv4_CLIENT link remote: xx.xx.xx.xx:XXX
2011-05-23 19:49:09 MANAGEMENT: >STATE:1306172949,WAIT,,,
2011-05-23 19:49:09 MANAGEMENT: >STATE:1306172949,AUTH,,,
2011-05-23 19:49:09 TLS: Initial packet from xx.xx.xx.xx:XXX,
sid=fa66bfe0 afa8d490
2011-05-23 19:49:10 VERIFY OK: depth=1, /C=DE/ST=DE
2011-05-23 19:49:10 VERIFY OK: nsCertType=SERVER
2011-05-23 19:49:10 VERIFY OK: depth=0, /C=DE/ST=DE/L=Berlin/
O=XXXXX.XX/CN=xx.xx.xx.xx/emailAddress=ma...@XXXXXX.XX
2011-05-23 19:49:11 Data Channel Encrypt: Cipher 'AES-128-CBC'
initialized with 128 bit key
2011-05-23 19:49:11 Data Channel Encrypt: Using 160 bit message hash
'SHA1' for HMAC authentication
2011-05-23 19:49:11 Data Channel Decrypt: Cipher 'AES-128-CBC'
initialized with 128 bit key
2011-05-23 19:49:11 Data Channel Decrypt: Using 160 bit message hash
'SHA1' for HMAC authentication
2011-05-23 19:49:11 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-
AES256-SHA, 1024 bit RSA
2011-05-23 19:49:11 [xx.xx.xx.xx] Peer Connection Initiated with
xx.xx.xx.xx:XXX
2011-05-23 19:49:12 MANAGEMENT: >STATE:1306172952,GET_CONFIG,,,
2011-05-23 19:49:13 SENT CONTROL [xx.xx.xx.xx]:
'PUSH_REQUEST' (status=1)
2011-05-23 19:49:13 PUSH: Received control message:
'PUSH_REPLY,redirect-gateway,dhcp-option DNS 8.8.8.8,route 10.22.0.0
255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig
10.22.0.6 10.22.0.5'
2011-05-23 19:49:13 OPTIONS IMPORT: timers and/or timeouts modified
2011-05-23 19:49:13 OPTIONS IMPORT: --ifconfig/up options modified
2011-05-23 19:49:13 OPTIONS IMPORT: route options modified
2011-05-23 19:49:13 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option
options modified
2011-05-23 19:49:13 ROUTE default_gateway=192.168.2.1
2011-05-23 19:49:13 TUN/TAP device /dev/tun0 opened
2011-05-23 19:49:13 MANAGEMENT: >STATE:1306172953,ASSIGN_IP,,
10.22.0.6,
2011-05-23 19:49:13 /sbin/ifconfig tun0 delete
2011-05-23 19:49:13 NOTE: Tried to delete pre-existing tun/tap
instance -- No Problem if failure
2011-05-23 19:49:13 /sbin/ifconfig tun0 10.22.0.6 10.22.0.5 mtu 1500
netmask 255.255.255.255 up
2011-05-23 19:49:13 PLUGIN_CALL: POST /Applications/Tunnelblick.app/
Contents/Resources/
openvpn-down-root.so/PLUGIN_UP status=0
2011-05-23 19:49:13 /Applications/Tunnelblick.app/Contents/Resources/
client.up.tunnelblick.sh -m -w -d tun0 1500 1560 10.22.0.6 10.22.0.5
init
No such key
2011-05-23 19:49:13 /sbin/route add -net xx.xx.xx.xx 192.168.2.1
255.255.255.255
route: writing to routing
socket: File exists
add net xx.xx.xx.xx: gateway
192.168.2.1: File exists
2011-05-23 19:49:13 /sbin/route delete -net 0.0.0.0 192.168.2.1
0.0.0.0
delete net
0.0.0.0: gateway
192.168.2.1
2011-05-23 19:49:13 /sbin/route add -net 0.0.0.0 10.22.0.5 0.0.0.0
add net
0.0.0.0: gateway
10.22.0.5
2011-05-23 19:49:13 MANAGEMENT: >STATE:1306172953,ADD_ROUTES,,,
2011-05-23 19:49:13 WARNING: potential route subnet conflict between
local LAN [
10.22.0.0/255.255.255.0] and remote VPN
[
10.22.0.0/255.255.255.0]
2011-05-23 19:49:13 /sbin/route add -net 10.22.0.0 10.22.0.5
255.255.255.0
add net
10.22.0.0: gateway
10.22.0.5
2011-05-23 19:49:13 GID set to nobody
2011-05-23 19:49:13 UID set to nobody
2011-05-23 19:49:13 Initialization Sequence Completed
2011-05-23 19:49:13 MANAGEMENT: >STATE:1306172953,CONNECTED,SUCCESS,
10.22.0.6,xx.xx.xx.xx
2011-05-23 19:49:13 *Tunnelblick
client.up.tunnelblick.sh: Up to two
'No such key' warnings are normal and may be ignored
2011-05-23 19:49:13 *Tunnelblick
client.up.tunnelblick.sh: Saved the
DNS and WINS configurations for later use
2011-05-23 19:49:13 *Tunnelblick
client.up.tunnelblick.sh: Set up to
monitor system configuration with leasewatch
2011-05-23 19:49:13 *Tunnelblick: Flushed the DNS cache
2011-05-23 19:49:16 event_wait : Interrupted system call (code=4)
2011-05-23 19:49:16 TCP/UDP: Closing socket
2011-05-23 19:49:16 /sbin/route delete -net 10.22.0.0 10.22.0.5
255.255.255.0
route: must be root to alter
routing table
2011-05-23 19:49:16 ERROR: OS X route delete command failed: external
program exited with error status: 77
2011-05-23 19:49:16 /sbin/route delete -net xx.xx.xx.xx 192.168.2.1
255.255.255.255
route: must be root to alter
routing table
2011-05-23 19:49:16 ERROR: OS X route delete command failed: external
program exited with error status: 77
2011-05-23 19:49:16 /sbin/route delete -net 0.0.0.0 10.22.0.5 0.0.0.0
route: must be root to alter
routing table
2011-05-23 19:49:16 ERROR: OS X route delete command failed: external
program exited with error status: 77
2011-05-23 19:49:16 /sbin/route add -net 0.0.0.0 192.168.2.1 0.0.0.0
route: must be root to alter
routing table
2011-05-23 19:49:16 ERROR: OS X route add command failed: external
program exited with error status: 77
2011-05-23 19:49:16 Closing TUN/TAP interface
2011-05-23 19:49:16 PLUGIN_CALL: POST /Applications/Tunnelblick.app/
Contents/Resources/
openvpn-down-root.so/PLUGIN_DOWN status=0
2011-05-23 19:49:16 PLUGIN_CLOSE: /Applications/Tunnelblick.app/
Contents/Resources/openvpn-down-root.so
2011-05-23 19:49:16 SIGTERM[hard,] received, process exiting
2011-05-23 19:49:16 MANAGEMENT: >STATE:1306172956,EXITING,SIGTERM,,
2011-05-23 19:49:16 *Tunnelblick
client.down.tunnelblick.sh: Cancelled
monitoring of system configuration changes
2011-05-23 19:49:16 *Tunnelblick
client.down.tunnelblick.sh: Restored
the DNS and WINS configurations
2011-05-23 19:49:17 *Tunnelblick: Flushed the DNS cache
greetings