Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2008 22:38:57 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: portsnap in cron and firewall
Message-ID:  <20080905223857.4a9c3569@gumby.homeunix.com.>
In-Reply-To: <20080905164926.07dbb9f1@gumby.homeunix.com.>
References:  <20080905141402.GJ5474@pcjas.obspm.fr> <20080905164926.07dbb9f1@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Sep 2008 16:49:26 +0100
RW <fbsd06@mlists.homeunix.com> wrote:

> On Fri, 5 Sep 2008 16:14:02 +0200
> Albert Shih <Albert.Shih@obspm.fr> wrote:
> 
But now with portsnap cron (that's mean random sleep) I don't known
> > when the system try to connect outside. 

> You can do this
> 
> sleep `jot -r  1 0 3599`
> <open pf>
> portsnap fetch
> <close pf>
>

Actually, I just took a look at portsnap and I see that "portsnap fetch"
has an explicit check for a terminal, so it wont work from crontab.

> 
> However, I would suggest you simply create pf rules to allow the
> server contact to the portsnap servers. 



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