Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2015 19:56:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190332] net/pptpclient fails with "/bin/ip: not found"
Message-ID:  <bug-190332-13-RpYbD2nZZJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190332-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-190332-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190332

Kurt Jaeger <pi@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Progress                 |Open

--- Comment #3 from Kurt Jaeger <pi@FreeBSD.org> ---
/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.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190332-13-RpYbD2nZZJ>