Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2005 17:43:55 +0000
From:      Freminlins <freminlins@gmail.com>
To:        Frank Staals <f.staals@zonnet.nl>
Cc:        questions@freebsd.org
Subject:   Re: ftp monitoring and limiting transfer rates
Message-ID:  <eeef1a4c05030409432cc94e3c@mail.gmail.com>
In-Reply-To: <42289A42.6020705@zonnet.nl>
References:  <42289A42.6020705@zonnet.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 04 Mar 2005 18:26:26 +0100, Frank Staals <f.staals@zonnet.nl> wrote:
> Hey everyone, I have a question:
> 
> I am running FreeBSD 5.3 with the default ftp-server ( ftpd ) as ftp
> deamon, everything works fine but I'd like to see what files peolpe are
> trying to download and when people log in. I would like I can get a html
> file which I can access on my httpd server. I know I can see who is
> loggin in by : tail -f /var/log/xferlog but that doesn't show what files
> are being transfered.

Have a look at the man page for ftpd, specifcally -l. The answer is there.

> My second question is about bandwith managing. How can I limit the
> ftp-transfer speeds that are used for downloading when people connect
> over rl1, my NIC which is connected to my modem and the internet. I am
> running pf for my firewalling and allready tried this in /etc/pf.conf:

I haven't used pf, but using ipfw this is simple enough. Check out the
man page for ipfw, the dummynet section.
 
> Frank Staals


Frem.



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