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.

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:

# assign packets to a queue.
pass out on $ext_if from localhost to any port { 20, 21 } keep state queue ftp


##altq on $ext_if bandwidth 2Mb cbq queue { dflt, developers, marketing }
##queue dflt bandwidth 5% cbq(default)
##queue developers bandwidth 80%
##queue marketing  bandwidth 15%
altq on $ext_if bandwith 60Kb cbq queue { dflt, ftp }
queue dflt   bandwith 70%
queue ftp    bandwith 30%

but this doesn't seem to work.

Thanks in advance for checking this e-mail

Frank Staals
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to