AUTH_FAILED result string display

949 views
Skip to first unread message

Randy Witlicki

unread,
Aug 4, 2015, 3:23:27 PM8/4/15
to tunnelbli...@googlegroups.com

  Hello,
  
  I am testing for somebody the commercial OpenVPN access server which has a free 2 concurrent user license.

  If there are already 2 users connected when a 3rd user tries to connect the log file shows:
2015-08-04 15:13:30 AUTH: Received control message: AUTH_FAILED,LICENSE: Access Server license failure: maximum concurrent_connections exceeded (2)

  But from the Tunnelblick GUI I get a dialog box:
    testVPN: Authentication failed
    The credentials (passphrase or username/password)
    were not accepted by the remote VPN server.

  Is there any way to get the AUTH_FAILED string into this dialog box ?

  Thanks.

  Randy

2015-08-04 15:18:55 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
2015-08-04 15:18:55 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-08-04 15:18:55 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
2015-08-04 15:18:55 [OpenVPN Server] Peer Connection Initiated with [AF_INET]X.X.X.X.X:9999
2015-08-04 15:18:57 MANAGEMENT: >STATE:1438715937,GET_CONFIG,,,
2015-08-04 15:18:58 SENT CONTROL [OpenVPN Server]: 'PUSH_REQUEST' (status=1)
2015-08-04 15:18:58 AUTH: Received control message: AUTH_FAILED,LICENSE: Access Server license failure: maximum concurrent_connections exceeded (2)
2015-08-04 15:18:58 SIGTERM[soft,auth-failure] received, process exiting
2015-08-04 15:18:58 MANAGEMENT: >STATE:1438715938,EXITING,auth-failure,,

jkbull...gmail.com

unread,
Aug 4, 2015, 4:13:07 PM8/4/15
to tunnelblick-discuss
There isn't currently a way to do that, but Tunnelblick gets notified of the failed verification via a message from the OpenVPN "management interface", and apparently the string is contained in that notification, so Tunnelblick could certainly display the message.

I'll put it on my TODO list.

Thanks for bringing this up.

jkbull...gmail.com

unread,
Aug 5, 2015, 3:09:08 PM8/5/15
to tunnelblick-discuss
I have committed changes to the source code to do this; it will be in the next beta release.


On Tuesday, August 4, 2015 at 3:23:27 PM UTC-4, randywitlicki wrote:
Reply all
Reply to author
Forward
0 new messages