Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2010 14:04:39 +0300
From:      Alex Kozlov <spam@rm-rf.kiev.ua>
To:        Lowell Gilbert <freebsd-current-local@be-well.ilk.org>, Gabor Kovesdan <gabor@FreeBSD.org>, freebsd-current@FreeBSD.org, spam@rm-rf.kiev.ua
Subject:   Re: periodic script in base system to run csup
Message-ID:  <20100717110439.GA47960@ravenloft.kiev.ua>

next in thread | raw e-mail | index | archive | help

On Fri, Jul 16, 2010 at 07:04:38PM -0400, Lowell Gilbert wrote:
> Alex Kozlov <spam@rm-rf.kiev.ua> writes:
> > On Fri, Jul 16, 2010 at 04:27:39PM +0200, Gabor Kovesdan wrote:
> >> Em 2010.07.16. 16:23, Alex Kozlov escreveu:
> >> > On Fri, Jul 16, 2010 at 03:58:33PM +0200, Gabor Kovesdan wrote:
> >> >
> >> > Thousands pc simultaneously try to access cvsup servers?
> >> > Sound like a ddos to me.
> >> Yes, this was the only concern and that's why I started this discussion.
> > And because its periodic, We can't use portsnap solution (random delay
> > before csup start).
> It's not completely impossible; periodic could spin off a separate shell
> for it, with a random delay.  It's not clear what the best way to deal
> with the output would be, although several approaches present themselves.
> It would be a lot more complicated than Gabor's approach, though.
I think this is overengineering. I personally just put few lines in
root's crontab:
?	?	*	*	*	*	make -C /usr/src update' >/dev/null
and /etc/make.conf:
SUPHOST=cvsup?.xx.FreeBSD.org
SUP_UPDATE=	true
SUPFILE=	/etc/site/supfile-rel
#PORTSSUPFILE=	/etc/site/supfile-port
DOCSUPFILE=	/etc/site/supfile-doc


--
Adios



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