Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 12:59:01 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        FreeBSD ISP List <freebsd-isp@freebsd.org>
Cc:        Chuck Swiger <cswiger@mac.com>
Subject:   Re: Local package initialization
Message-ID:  <20030210125901.GC45355@users.munk.nu>
In-Reply-To: <3E46C590.4060106@mac.com>
References:  <1044818277.3e46a965d3e52@webmail.isot.com> <20030209200034.GA25652@users.munk.nu> <3E46C590.4060106@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Chuck,

On Sun, Feb 09, 2003 at 04:18:08PM -0500, Chuck Swiger wrote:
> Jez Hancock wrote:
> [ ... ]
> >As an example, if the files in /usr/local/etc/rc.d dir looks like this:
> >
> >-rwxr-x---  1 root  wheel   181 Dec 23 22:05 000.mysql-client.sh*
> >-r-xr-xr-x  1 root  wheel   248 Dec 14 09:26 000.pkgtools.sh*
> >-r-xr-xr-x  1 root  wheel   307 Jan 19 16:32 100.apache.sh*
> >-rwxr-x--x  1 root  wheel   316 Nov 11 01:19 200.idled.sh*
> >-rwxr-x---  1 root  wheel   181 Dec 23 22:05 300.mysql.sh*
> >-rwxr-xr-x  1 root  wheel  1742 Jan 14 18:03 999.ipfw.sh*
> >
> >Then the scripts will be run in the order:
> >
> >mysql-client
> >pkgtools
> >apache
> >idled
> >ipfw
> 
> Note that the above ordering leaves a window of vulnerability after a 
> system reboot, where the firewall rules are not yet in place.  It's 
> safer to start up the firewall first, and then everything else.
The ipfw script only counts user traffic for stats - you can
see the results here:

http://ipfwstats.munk.nu

keep meaning to make that frontend look nicer so I can package it up
and maybe have it added to the ports eventually.

For pass/block packet filtering I use ipf (which loads up prior to the local
packages).

Cheers,

Jez

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210125901.GC45355>