From owner-freebsd-questions Sun Dec 21 12:22:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA23241 for questions-outgoing; Sun, 21 Dec 1997 12:22:42 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA23195 for ; Sun, 21 Dec 1997 12:22:31 -0800 (PST) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.7/8.8.7) with ESMTP id UAA23265; Sun, 21 Dec 1997 20:06:28 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199712212006.UAA23265@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Joe \"Marcus\" Clarke" cc: FreeBSD User Questions List , brian@awfulhak.org Subject: Re: server socket for ppp In-reply-to: Your message of "Sun, 21 Dec 1997 13:54:48 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Dec 1997 20:06:28 +0000 From: Brian Somers Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm not sure if this is necessarily a bug, or if I'm doing something > wrong. But in the man page for pppctl, it says a good way to secure > user ppp is to set the diagnostic server to be a local socket. It also > says to give it the mask 0177. This should create a server socket with > the protection srw-------. However, no matter what mode I tell ppp to > use, it creates a socket with the protection srwxrwxrwx. Currently my > set server line looks like: > > set server /var/run/internet "" 0600 > > Am I missing something? This is strange - it works fine for me, although bear in mind, it's a mask, so 0600 should create permissions 0177 (s--xrwxrwx). What version of FreeBSD are you using ? Is there maybe a typo in your `set server' line (a `O' (oh) instead of a `0' (zero)) maybe ? > Joe Clarke > > P.S. Thanks for the ifilters, Brian, they work great. Good to hear. -- Brian , , Don't _EVER_ lose your sense of humour....