Once upon a time, LuisMi wrote : > > > I know that :-) > > > I need only help with bandwidth control and proftpd > > > > Then maybe bandwidth control on a kernel level would be better? Have > > you tried CBQ? It uses "tc" and the QoS stuff of the kernel. > > Well, I am reading a book about tc and fwmark now :-) > But I want to know how to use bandwidth control include in proftpd, is > the bes option I can use until I learn how to use tc correctly :-) > Do you know how to use that proftpd directive?
Well, you don't need to know how to use tc to configure the cbq stuff from shapecfg. And, yes, here is an example for proftpd.conf : # Limit the bandwidth! 10MB full speed, then only 10kB/s max RateReadBPS 10240 RateReadFreeBytes 10240000 RateReadHardBPS on Pretty simple and works well for me :-) > > All you need to do is install the "shapecfg" package and follow the > > explanations and examples ;-) (it's nothing more than shell scripts and > > config files to interface the "tc" command in a nice way) > > I thought to remember that shapecfg is limited to 256 kbps, it canīt be > used with interfaces with more speed. I don't recall such a limitation (but have been using shapecfg only since Enigma), and works well here with 10 and 100 Mbps interfaces. Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Red Hat Linux release 7.2 (Enigma) running Linux kernel 2.4.9-13 Load : 0.02 0.10 0.17, AC on-line, battery charging: 100% (11:27) _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list