[CentOS] Bandwidth throttling

soulofangel

Member
Joined
Feb 9, 2013
Messages
233
Reaction score
0
Is there any package which can monitor, logging and limit bandwidth through IP?

I tried using iftop to monitor however it seems like it doesnt keep logs.

Iptables looks complicated, any other package to use to limit bandwidth?



Thanks :)
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,391
Reaction score
1,180
Is there any package which can monitor, logging and limit bandwidth through IP?

I tried using iftop to monitor however it seems like it doesnt keep logs.

Iptables looks complicated, any other package to use to limit bandwidth?



Thanks :)

Who are you trying to rate limit ? Your processes ? If so, look at Cgroups. https://sysadmincasts.com/episodes/14-introduction-to-linux-control-groups-cgroups

IPtables is your software network manipulator. It has a lot of functions, from inspector, firewall, router, etc. It's your best tool for such functionality since it has tie in with the network kernel components. Read up

http://unix.stackexchange.com/quest...s-and-new-connections-per-second-with-iptable
http://the-hydra.blogspot.sg/2009/10/misunderstanding-of-rate-limit-concept.html

Also read up on the token bucket concept https://en.wikipedia.org/wiki/Token_bucket
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ. Forum members and moderators are responsible for their own posts.

Please refer to our Community Guidelines and Standards, Terms of Service and Member T&Cs for more information.
Top