[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] resolv-retry w/ multiple remote arguments


  • Subject: [Openvpn-users] resolv-retry w/ multiple remote arguments
  • From: Charles Duffy <cduffy@xxxxxxxxxxx>
  • Date: Wed, 06 Apr 2005 15:59:18 -0500

With multiple --remote arguments, as I understand it:

The default, "resolv-retry infinite", never tries anything but the first
host. With multiple remote hosts specified, this is arguably a bad default
value.

"resolv-retry 0" exists on the first failure, without trying any of the
other hosts. I'm inclined to argue that this is broken: "resolv-retry 0"
should mean, in this case, to *immediately* go on to the next host,
without any retries; as opposed to indicating that an immediate exit is
necessary.

Proposed fixage:

- With only one remote host:
  - resolv-retry defaults to infinite
  - resolution failure with resolv-retry 0 remains fatal
- With multiple remote hosts:
  - resolv-retry defaults to 0
  - resolution failure with resolv-retry 0 results in a SIGUSR1


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users