Re: [Openvpn-devel] Need help for adding feature: Selecting remote servers by best latency

2016-05-11 Thread s7r
I think he will map: host.example.com -> a.a.a.a -> b.b.b.b -> c.c.c.c and/or host.example.com -> ..ipv6 -> ..ipv6 -> b.b.b.b Make some kind of a table kept in temporary memory / RAM / disk with all values (ip addr

Re: [Openvpn-devel] Need help for adding feature: Selecting remote servers by best latency

2016-05-11 Thread Gert Doering
hi, On Thu, May 12, 2016 at 12:35:38AM +0500, ?? wrote: > how are you going to resolve > > a) host.example.com resolves in multiple "A" records > b) host.example.com resolves in both "" and "A" records > > ? By treating them the way the current code effectively does - "

Re: [Openvpn-devel] Need help for adding feature: Selecting remote servers by best latency

2016-05-11 Thread Илья Шипицин
how are you going to resolve a) host.example.com resolves in multiple "A" records b) host.example.com resolves in both "" and "A" records ? 2016-05-11 20:41 GMT+05:00 Paul Garnier : > Hello, > > > I’m actually trying to add an option in openvpn which will allow the > client to connect to th

Re: [Openvpn-devel] Need help for adding feature: Selecting remote servers by best latency

2016-05-11 Thread David Sommerseth
On 11/05/16 17:54, Eric F Crist wrote: > Why try to connect to the process itself? I think a standard ICMP ping > to the server address should be sufficient for your test. This implies that the OpenVPN servers respond to ICMP echo requests, and that there is no "firewall" in between which lets I

Re: [Openvpn-devel] Need help for adding feature: Selecting remote servers by best latency

2016-05-11 Thread Eric F Crist
Why try to connect to the process itself? I think a standard ICMP ping to the server address should be sufficient for your test. --- Eric F Crist On 2016-05-11 10:41, Paul Garnier wrote: Hello, I’m actually trying to add an option in openvpn which will allow the client to connect to the ser

[Openvpn-devel] Need help for adding feature: Selecting remote servers by best latency

2016-05-11 Thread Paul Garnier
Hello, I’m actually trying to add an option in openvpn which will allow the client to connect to the server with the lowest latency in his remote list. For now there are only two options to choose between servers : “ *--remote-random*” which randomize the order of the address list, the default o