periodic script in base system to run csup
spam at rm-rf.kiev.ua
Sat Jul 17 11:05:13 UTC 2010
On Fri, Jul 16, 2010 at 07:04:38PM -0400, Lowell Gilbert wrote:
> Alex Kozlov <spam at 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
? ? * * * * make -C /usr/src update' >/dev/null
More information about the freebsd-current