From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 17:44:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5E9416A4CE for ; Fri, 4 Mar 2005 17:44:02 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1667A43D48 for ; Fri, 4 Mar 2005 17:44:02 +0000 (GMT) (envelope-from freminlins@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so760190wri for ; Fri, 04 Mar 2005 09:44:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=UDi6eI24b/0TvQVyx5+a4GmGe+q0Js6tdBjjwyhgaSPwkEN4m2GWcW8j0UnY8L4o8l/r00XE5WLQxQr9M9WLSPNEXSl2CEkwnb8tDIYW/+JNbogKYllQTWd6D12VnHDRzJMIq/0ETaD8yEArXfKH0RJrdYgaIVcN7a0v1tsufow= Received: by 10.54.34.6 with SMTP id h6mr34296wrh; Fri, 04 Mar 2005 09:43:56 -0800 (PST) Received: by 10.54.4.59 with HTTP; Fri, 4 Mar 2005 09:43:55 -0800 (PST) Message-ID: Date: Fri, 4 Mar 2005 17:43:55 +0000 From: Freminlins To: Frank Staals In-Reply-To: <42289A42.6020705@zonnet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <42289A42.6020705@zonnet.nl> cc: questions@freebsd.org Subject: Re: ftp monitoring and limiting transfer rates X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Freminlins List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 17:44:03 -0000 On Fri, 04 Mar 2005 18:26:26 +0100, Frank Staals 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.