From owner-freebsd-ports-bugs@freebsd.org Sat Oct 17 19:56:45 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFD15A177CE for ; Sat, 17 Oct 2015 19:56:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC3F8AA2 for ; Sat, 17 Oct 2015 19:56:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9HJujgt068174 for ; Sat, 17 Oct 2015 19:56:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 190332] net/pptpclient fails with "/bin/ip: not found" Date: Sat, 17 Oct 2015 19:56:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pi@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2015 19:56:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190332 Kurt Jaeger changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Open --- Comment #3 from Kurt Jaeger --- /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.