well, the discussion has unfolded quickly with a negative response from James 
Cameron (probably the only remaining/active author of pptpclient).
from there, I would see these options of what to do next :
- send more responses voicing user concerns and interest in this feature to the 
started discussion;
- propose our own patch for get_ip_address function in pptp.c (not sure I am 
capable enough as a C programmer, but I would start from OpenSSH patch posted 
at https://groups.google.com/forum/#!topic/opensshunixdev/lErxlPk_MnA as a 
source for inspiration );
- create some external wrapper for quickly scanning a list of IPs and returning 
the fastest-responding one to be substituted into pptp command line. For a 
start, I would use nmap with arguments like these:
nmap --script resolveall --script-args newtargets -PS1723 -sn vpn.server.name # 
as described at 
https://serverfault.com/questions/843304/can-nmap-scan-test-all-answers-from-round-robin-dns
 or at 
https://security.stackexchange.com/questions/141480/nmap-to-scan-all-resolved-ip-addresses-for-a-given-domain-name
and then process its output in some automated way (I only used it manually and 
interpreted visually).
this substitution can be usable with pppd configs stored in /etc/ppp/peers but 
I am unsure if it could be easily integrated into Network Manager setup.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-pptp in Ubuntu.
https://bugs.launchpad.net/bugs/579168

Title:
  VPNs to hosts resolving to multiple IPs often fail

Status in network-manager-pptp package in Ubuntu:
  Triaged
Status in pptp-linux package in Ubuntu:
  New

Bug description:
  Binary package hint: network-manager

  I tried to set up ipredator VPN via the network manager on ubuntu lucid lynx 
10.04 64 bit and like a few other users as I could see on several forum, if I 
store password in keyring, it just don't try to connect. 
  Knowing that I disabled the keyring, and then was prompter for password, then 
it tried to connect but failed with a connection timed out error...
  I had to put the IP adress of vpn.ipredator.se instead of the hostname for it 
to work... 
  I checked, it is not a problem with my ISP dns server:

  doki@doki-desktop:~$ nslookup vpn.ipredator.se
  Server:               93.182.182.85
  Address:      93.182.182.85#53

  Non-authoritative answer:
  Name: vpn.ipredator.se
  Address: 93.182.146.2
  Name: vpn.ipredator.se
  Address: 93.182.147.2
  Name: vpn.ipredator.se
  Address: 93.182.148.2
  Name: vpn.ipredator.se
  Address: 93.182.149.2
  Name: vpn.ipredator.se
  Address: 93.182.150.2
  Name: vpn.ipredator.se
  Address: 93.182.151.2
  Name: vpn.ipredator.se
  Address: 93.182.152.2
  Name: vpn.ipredator.se
  Address: 93.182.153.2
  Name: vpn.ipredator.se
  Address: 93.182.164.2
  Name: vpn.ipredator.se
  Address: 93.182.179.2
  Name: vpn.ipredator.se
  Address: 93.182.180.2
  Name: vpn.ipredator.se
  Address: 93.182.181.2
  Name: vpn.ipredator.se
  Address: 93.182.185.2
  Name: vpn.ipredator.se
  Address: 93.182.186.2
  Name: vpn.ipredator.se
  Address: 93.182.187.2
  Name: vpn.ipredator.se
  Address: 93.182.188.2
  Name: vpn.ipredator.se
  Address: 93.182.189.2
  Name: vpn.ipredator.se
  Address: 93.182.190.2
  Name: vpn.ipredator.se
  Address: 93.182.130.2
  Name: vpn.ipredator.se
  Address: 93.182.132.2
  Name: vpn.ipredator.se
  Address: 93.182.133.2

  So I don't know if it's a problem with network manager, or with pptp
  layer, but still, it doesn't seem to be able to resolve this
  hostname...

  If you want me to run some tests/command or if you need more details,
  just ask :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/579168/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to