Closed GoogleCodeExporter closed 9 years ago
Thanks for this report.
I will not be able to look into it for several days, but it will be a high
priority.
Original comment by jkbull...@gmail.com
on 21 Dec 2010 at 9:24
Short answer: add "auth-user interact" to your configuration file.
Please respond as to whether or not this helps you.
Background:
OpenVPN has an "auth-retry" option that can appear in the client configuration
file (the .conf or .ovpn file). This option cannot be pushed from the server.
If this option does not appear or is "auth-retry none", this causes OpenVPN to
exit with a fatal error. That's what you are seeing.
If this option is set to "auth-retry interact", the user will be told of the
problem and will be able to reenter the username/password. If the
username/password came from the Keychain, the user will be asked if they want
to remove the saved username/password from the Keychain before retrying.
If this option is set to "auth-retry nointeract", the user will not be told of
the problem (other than via the log) and OpenVPN will retry. This is used for
"unattended" operation, where the authorization may fail due to network or
other transient problems.
I think your client configuration file does not include "auth-retry interact".
That would cause the behavior you are seeing.
Original comment by jkbull...@gmail.com
on 26 Dec 2010 at 9:41
There is also a situation where the username/password are incorrect, but the
server doesn't send that information back to the client, but instead resets the
connection again and again. (This may be an attempt on the part of the server
to deal with what it thinks is an attack.)
The OpenVPN client only sees the reset of the connection and sees nothing to
indicate that the username/password are incorrect. The repeated resets cause
the OpenVPN client to continually try to reconnect until the user manually
disconnects.
There is nothing that Tunnelblick can do about this behavior; it is entirely up
to the OpenVPN server.
Original comment by jkbull...@gmail.com
on 27 Dec 2010 at 12:52
auth-retry interact
in the client config file fixed the problem. I wasn't aware of this new option
that came in with OpenVPN 2.1.
Thanks for the quick response of for the great work on Tunnelblick! :)
Original comment by stefan.k...@gtempaccount.com
on 27 Dec 2010 at 4:22
Original issue reported on code.google.com by
stefan.k...@gtempaccount.com
on 20 Dec 2010 at 9:31