Date: Sat, 08 May 1999 11:51:47 +1000 From: Greg Black <gjb-freebsd@gba.oz.au> To: Danil Shebunin <daktaklakpak@public.mtu.ru> Cc: Brian Somers <brian@Awfulhak.org>, freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Kernel PPP (PPPD): ip-up & ip-down scripts execution Message-ID: <19990508015148.12551.qmail@alice.gba.oz.au> In-Reply-To: <Pine.BSF.4.05.9905071343040.314-100000@free-bsd.space> of Fri, 07 May 1999 14:34:57 %2B0400 References: <Pine.BSF.4.05.9905071343040.314-100000@free-bsd.space>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Your best bet is to run pppd as root. Alternatively, use user-ppp > > and the ``set filter'' command. > "[...] The scripts (ip-up, ip-down and others - D.S.) are executed as > root (with the real and effective user-id set to 0), so that they can do > things such as update routing tables or run privileged daemons. [...]" > I don't see any obstructions to run ipfw from ip-up script - but it don't > run. I do 'ipfw show' and it shows me firewall rules after machine boot, > not the ones, I set in ip-up. There is definitely something dysfunctional in the running of those scripts in kernel ppp (certainly in 2.2.8, not tested since). I could not easily discover what the problem was and abandoned it because the timeout code is also broken in pppd and that mattered to me. I switched to user-ppp and all my problems went away. Because I don't have spare boxes to test ppp-type problems with, I have not reported the kernel-ppp problems as I cannot provide any useful data. I do recall that the scripts seemed to run in part, but never did everything that I wanted them to do. > And user ppp... Well, I think it will be harder to manage user ppp daemon > from scripts. I very much doubt this -- take some time to fully read the documentation and I think you'll find you can do anything you want to, and you'll benefit from using a package that is both actively maintained and apparently more useful. -- Greg Black <gjb@acm.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990508015148.12551.qmail>