linux 网络流量限制 流量统计 tips
流量控制原理 一般是通过减小队列大小,进行优先级排序,延迟等方法限制流量
http://www.ixpub.net/thread-2510504-1-1.html
http://topic.csdn.net/u/20100127/16/94cda056-d4b7-4207-9a38-1e089e751375.html
一般通过tc进行流量控制,通过iptables进行包过滤。tc控制单位为字节/秒 iptables控制单位为包/秒
如果直接由iptables进行流量控制,需要使用模块 limit hashlimit
http://lvsheat.blog.51cto.com/431185/142567
iptables监控流量的方法,就是添加ip规测,可以统计该规测通过的包数,字节数。
http://www.linuxfly.org/post/340/
添加iptables模块实现的功能:
限制每个ip的连接数 ipt_connlimit
统计流量 ipt_account
也可以安装其他软件进行流量统计:iftop,ntop
posted on 2012-03-20 14:23 longzhao&&dilanlx 阅读(2204) 评论(0) 收藏 举报
浙公网安备 33010602011771号