From owner-freebsd-questions Fri Aug 16 12:22:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA09371 for questions-outgoing; Fri, 16 Aug 1996 12:22:25 -0700 (PDT) Received: from bigpuppy.newell.arlington.va.us (mcnsisdn.newell.arlington.va.us [206.27.237.14]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA09366 for ; Fri, 16 Aug 1996 12:22:23 -0700 (PDT) Received: (from mnewell@localhost) by bigpuppy.newell.arlington.va.us (8.6.12/8.6.9) id PAA06023; Fri, 16 Aug 1996 15:19:01 -0400 Date: Fri, 16 Aug 1996 15:19:01 -0400 (EDT) From: Mike Newell To: Chris Shenton cc: proot@horton.iaces.com, joerg_wunsch@uriah.heep.sax.de, questions@freebsd.org, mike@newell.arlington.va.us Subject: Re: Routed supports variable-length netmasks? In-Reply-To: <199608161908.TAA18292@wirehead.it.hq.nasa.gov> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 16 Aug 1996, Chris Shenton wrote: > I've been trying to coerce pppd into installing the default route > using the /etc/ppp/ip-up facility, but although the pppd runs ip-up > with effective UID root, if ip-up is a script, FreeBSD squashes the > root privs (that, or pppd uses getuid() rather than geteuid(), still > looking). I guess I could use a SUID perl script or some C code but > this seems too simple to justify that... You don't want a default route installed by the ppp daemon on the SERVER machine - only on the client side. Your server needs to have a default route out its Ethernet interface, *NOT* its PPP interface! Much obliged, Mike +--------------------------------------+------------------------------------+ | Mike Newell | The opinions expressed herein | | Affiliation: | are mine. You can take them or | | Address: | leave them. Flames to /dev/null. | +--------------------------------------+------------------------------------+ | Mike@Newell.arlington.va.us | http://www.newell.arlington.va.us | +--------------------------------------+------------------------------------+ | "Peace. It's wonderful!" Father Divine. | +---------------------------------------------------------------------------+