Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 16:30:25 +0200
From:      Alexandr Kovalenko <never@nevermind.kiev.ua>
To:        Lukas Ertl <l.ertl@univie.ac.at>
Cc:        Alex Popa <razor@ldc.ro>, freebsd-hubs@FreeBSD.ORG
Subject:   Re: Policy question for cvsup mirrors
Message-ID:  <20021203143025.GA70644@nevermind.kiev.ua>
In-Reply-To: <20021203150911.N29570-100000@pcle2.cc.univie.ac.at>
References:  <20021203140220.GA54502@ldc.ro> <20021203150911.N29570-100000@pcle2.cc.univie.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Lukas Ertl!

On Tue, Dec 03, 2002 at 03:14:12PM +0100, you wrote:

> le, still looking for an automatism to block aggressive ftp leechers and
> their "super-download-booster-scripts"...
# Outgoing traffic shaping (3Mbit/sec/ip for uid ftp)
${fwcmd} pipe 1 config mask src-ip 0xffffffff dst-ip 0xffffffff bw 3Mbit/sec
${fwcmd} add 2000 pipe 1 tcp from 212.40.32.113 to any uid ftp out xmit xl0

/etc/inetd.conf:
ftp     stream  tcp     nowait/0/0/10   root    /usr/libexec/ftpd    ftpd -l -l -S -r -A

-- 
NEVE-RIPE, will build world for food
Ukrainian FreeBSD User Group
http://uafug.org.ua/

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




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