Comment 16 for bug 579168

Revision history for this message
Wladimir Mutel (mwg) wrote :

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.