From owner-freebsd-questions Wed Jan 29 11:15:46 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 646D137B401 for ; Wed, 29 Jan 2003 11:15:45 -0800 (PST) Received: from haggis.it.ca (haggis.it.ca [216.126.86.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A42443F9B for ; Wed, 29 Jan 2003 11:15:44 -0800 (PST) (envelope-from paul@haggis.it.ca) Received: from haggis.it.ca (paul@localhost [127.0.0.1]) by haggis.it.ca (8.12.6/8.12.6) with ESMTP id h0TJFcn0053047; Wed, 29 Jan 2003 14:15:39 -0500 (EST) (envelope-from paul@haggis.it.ca) Received: (from paul@localhost) by haggis.it.ca (8.12.6/8.12.6/Submit) id h0TJFchq053046; Wed, 29 Jan 2003 14:15:38 -0500 (EST) (envelope-from paul) Date: Wed, 29 Jan 2003 14:15:38 -0500 From: Paul Chvostek To: Phillip Smith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: portsentry Message-ID: <20030129141538.A51627@mail.it.ca> References: <006c01c2c7c9$0c9d3b20$aeb423cf@3bagsmedia> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <006c01c2c7c9$0c9d3b20$aeb423cf@3bagsmedia>; from phillip@3bags.com on Wed, Jan 29, 2003 at 02:03:03PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Phillip. On Wed, Jan 29, 2003 at 02:03:03PM -0500, Phillip Smith wrote: > > What's the best way to start portsentry on reboot? There doesn't seem to be one build by the port, so I wrote a /usr/local/etc/rc.d/portsentry.sh that looks someting like this: #!/bin/sh case "$1" in start) [ -x /usr/local/bin/portsentry ] && /usr/local/bin/portsentry -tcp echo -n " portsentry" ;; stop) killall portsentry ;; esac I've seen others punt and simply add "/usr/local/bin/portsentry -tcp" to their /etc/rc.local. It's not as SysV-compliant, but it works. -- Paul Chvostek Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message