On Thu, 16 Feb 2012 11:03:04 -0600, Andrew Beverley <andy@xxxxxxxxxxx> wrote:
Personally I use the rather brutal technique of looking for several connections to high port numbers from a single client. I dare say there are false positives, but it works for me. The details for that are here: http://andybev.com/index.php/Fair_traffic_shaping_an_ADSL_line_for_a_local_network_using_Linux Andy
Andy, your setup looks very good. I am interested in using a similar system to limit bittorrent. However, I cannot use rate-limiting, since each user (LAN host) is already rate-limited in his or her router, and the rates of each user vary somewhat. It's possible to move the rate-limiting from the radios to the router, but I want to avoid maintaining a class and filters for each user. To clarify, all users of our small ISP (including me) are members of a wireless LAN. We have radios in our houses which connect us to the ISP's radio located on a distant radio tower. The radios in our homes do rate-limiting. The wireless signal from these home radios is transmitted via a wireless bridge to a single Linux router about 40 miles away. I administer that router. It has several small uplinks, and the router code does load-balancing over them. Effectively, all this is equivalent to a simple LAN directly connected to a netfilter load-balancing router. It seems to me that instead of rate-limiting in order to control bittorrent, I could instead simply prioritize via the QOS marker. Any traffic detected as bittorent would get the lowest priority. Do you think this would give satisfactory results? Regards, -- Lloyd -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html