Re: ftp.archlinux.org rate limiting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Phillip Smith wrote:
*anon_max_rate*
   The maximum data transfer rate permitted, in bytes per second, for
   anonymous clients.


Good luck!

Ah, I didn't think about doing it in the daemon... That would
definitely be easiest, I think I'll do it this way! :)


You don't need tc to do traffic shaping, you can use iptables as well for
this. It is more primitive though, but for simple tasks it's easier than
using tc.

Now I'm curious... Everything I've seen points to using tc to be able
to rate-limit in kbps... The only rate-limiting I know you can do in
iptables by itself is packets-per-timeframe (second, minute etc)
limiting?



You can use hashlimit for it. And how is rate limiting in kbps not the same as packets-per-timeframe? It's exactly the same.


Glenn


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux