Summary: | net/pptpclient fails with "/bin/ip: not found" | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Grant Watson <grant_watson> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | miwi, pi | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Grant Watson
2014-05-28 08:30:00 UTC
This port has no maintainer. What do you want to do with this PR? Created attachment 162164 [details]
patch
/bin/ip is the linux 'do all ip related stuff like adding routes etc' command. It is called with hardcoded parameters in three places in routing.c: ./routing.c: snprintf(buf, 255, "%s route get %s", IP_BINARY, ip); ./routing.c: snprintf(buf, 255, "%s route replace %s", IP_BINARY, route); ./routing.c: snprintf(buf, 255, "%s route delete %s", IP_BINARY, route); To allow it to work, some patch is needed that adapts to the FreeBSD way of adding routes. 'get' and 'delete' probably work if we replace /bin/ip in Makefile line 10 with /sbin/route. 'replace' is probably more difficult to fix, but I'm not sure it's used at all. Besides all this, the PPTP protocol was declared insecure and unfixable a long time ago. http://www.howtogeek.com/211329/which-is-the-best-vpn-protocol-pptp-vs.-openvpn-vs.-l2tpipsec-vs.-sstp/ Please test the attached patch and report back if it works for you. Hi, Is this PR still relevant? Even if pptp is insecure, it's helpful to have some tool to interoperate with old PPTP systems. So, yes, it's still relevant, but not very important. Hi Kurt, Then please commit the patch if it works for you and close the pr. Was fixed in r378485: https://lists.freebsd.org/pipermail/svn-ports-all/2015-February/084683.html |