Hi,

I just initiated a client-reset (restart) on my client.

The result was this (below)....:

What happened was that a concurrent disconnect and connect sequence was going on with respect to learn-address and the learn beat the unlearn.

I don't know exactly what is going on but...

Is there any way to make sure the disconnect sequence completes first before the connect sequence is started?

Regards,

Xen.



------------------------
Sun Oct 1 14:31:01 2017 bugger/149.102.238.25:36628 Connection reset, restarting [0] Sun Oct 1 14:31:01 2017 bugger/149.102.238.25:36628 SIGUSR1[soft,connection-reset] received, client-instance restarting
Sun Oct  1 14:31:01 2017 MULTI: multi_create_instance called
Sun Oct  1 14:31:01 2017 149.102.238.25:1194 Re-using SSL/TLS context
Sun Oct  1 14:31:01 2017 149.102.238.25:1194 LZO compression initialized
Sun Oct 1 14:31:01 2017 RADIUS-PLUGIN: BACKGROUND ACCT: No accounting data was found for bugger,149.102.238.25:36628. Sun Oct 1 14:31:01 2017 149.102.238.25:1194 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ] Sun Oct 1 14:31:01 2017 149.102.238.25:1194 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ] Sun Oct 1 14:31:01 2017 149.102.238.25:1194 Local Options hash (VER=V4): '530fdded' Sun Oct 1 14:31:01 2017 149.102.238.25:1194 Expected Remote Options hash (VER=V4): '41690919' Sun Oct 1 14:31:01 2017 149.102.238.25:1194 TLS: Initial packet from 149.102.238.25:1194, sid=732e0773 2ebcc88f Sun Oct 1 14:31:01 2017 PLUGIN_CALL: POST /var/packages/VPNCenter/target/lib/radiusplugin.so/PLUGIN_CLIENT_DISCONNECT status=0
Sun Oct  1 14:31:01 2017 RADIUS-PLUGIN: FOREGROUND THREAD: New user.
client-disconnect: Sending disconnect email for bugger
Sun Oct 1 14:31:02 2017 RADIUS-PLUGIN: No attributes Acct Interim Interval or bad length. Sun Oct 1 14:31:02 2017 RADIUS-PLUGIN: Client config file was not written, overwriteccfiles is false .Sun Oct 1 14:31:02 2017 RADIUS-PLUGIN: FOREGROUND THREAD: Add user to map. Sun Oct 1 14:31:02 2017 149.102.238.25:1194 PLUGIN_CALL: POST /var/packages/VPNCenter/target/lib/radiusplugin.so/PLUGIN_AUTH_USER_PASS_VERIFY status=0 Sun Oct 1 14:31:02 2017 149.102.238.25:1194 TLS: Username/Password authentication succeeded for username 'bugger' [CN SET] Sun Oct 1 14:31:02 2017 149.102.238.25:1194 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key Sun Oct 1 14:31:02 2017 149.102.238.25:1194 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Sun Oct 1 14:31:02 2017 149.102.238.25:1194 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key Sun Oct 1 14:31:02 2017 149.102.238.25:1194 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Sun Oct 1 14:31:02 2017 149.102.238.25:1194 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA Sun Oct 1 14:31:02 2017 149.102.238.25:1194 [bugger] Peer Connection Initiated with 149.102.238.25:1194 Sun Oct 1 14:31:02 2017 bugger/149.102.238.25:1194 OPTIONS IMPORT: reading client specific options from: client-config-dir/bugger Sun Oct 1 14:31:02 2017 bugger/149.102.238.25:1194 PLUGIN_CALL: POST /var/packages/VPNCenter/target/lib/radiusplugin.so/PLUGIN_CLIENT_CONNECT status=0
Sun Oct  1 14:31:03 2017 TCP/UDP: Closing socket
Learn-address: adding route for host 10.8.0.25
Learn-address: adding DNS record for host 10.8.0.25
Sun Oct 1 14:31:05 2017 bugger/149.201.238.25:1194 MULTI: Learn: 10.8.0.25 -> bugger/149.201.238.25:1194 Sun Oct 1 14:31:05 2017 bugger/149.201.238.25:1194 MULTI: primary virtual IP for bugger/149.201.238.25:1194: 10.8.0.25 Sun Oct 1 14:31:05 2017 bugger/149.201.238.25:1194 MULTI: internal route 10.3.0.0/24 -> bugger/149.201.238.25:1194
Learn-address: adding route for subnet 10.3.0.0/24
Sun Oct 1 14:31:06 2017 bugger/149.201.238.25:1194 MULTI: Learn: 10.3.0.0/24 -> bugger/149.201.238.25:1194 Sun Oct 1 14:31:06 2017 bugger/149.201.238.25:1194 PUSH: Received control message: 'PUSH_REQUEST' Sun Oct 1 14:31:06 2017 bugger/149.201.238.25:1194 SENT CONTROL [bugger]: 'PUSH_REPLY,ping 10,ping-restart 40,route 10.8.0.0 255.255.255.0,topology net30,route 192.168.20.0 255.255.255.0,ifconfig 10.8.0.25 10.8.0.1' (status=1)
Learn-address: removing route for host 10.8.0.25
Learn-address: removing DNS record for host 10.8.0.25
Learn-address: removing route for subnet 10.3.0.0/24


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to