Limiting Bandwidth Hogs on Public Wireless Nets?
arglesnaf asks: "I'm a consultant and spend a lot of time on public wireless networks at client sites (mostly hospitals / universities), coffee shops, and hotels. Quite often, the problem is that some person is running BitTorrent and eating 100% of the bandwidth. The result is that I can't get email during the day or play World of Warcraft in the hotel. I have considered sniffing and spoofing TCP resets to free up some bandwidth but need an automated way to handle new BitTorrent connections. Does anybody have any ideas on how to automate the sniff and reset strategy, or other ways to carve out a little bandwidth from hogs on public wireless?"
Use OpenBSD as your gateway OS and set up queues so that BitTorrent is allowed on its well known ports, but carve out dedicated bandwidth as well for other services like imap, smtp, http, https, etc. to make sure they always have priority over torrents. You can prioritize the queues so that interactive services like ssh and http/https will pre-empt bandwidth from bulk transfer services like BitTorrent and ftp. The amount of control you have with pf is any geek's dream. You can even go so far as to say that hosts running Windows get put in a lower priority queue than hosts running anything else. :)
I'd suggest you go to the front desk and tell them that you are having problems with the wireless. That you are staying in this hotel because they have internet access. I'd suggest that you tell them someone needs to look into the situation or move you to another hotel. Tell them that you suspect that someone is doing something against the law ( I know running bit torent is not against the law ) and taking up all the bandwidth. Who knows you can drop in the comment, I think that someone is running an unlawful site and allowing people to download pirated movies and that the MPAA and RIAA may come after the hotel and sue them. That would get their attention.
Complaining often works!
Only 'flamers' flame!
Does slashdot hate my posts?
If you reduce your mtu, you might be able to squeeze some packets through and reduce latency. At least that is what I did when sharing a 56K modem connection. This also helps when your webbrowser is trying to download multiple images simultaneously.
Otherwise, go to Starbucks and pay $.10 cents a minute, because hardly anyone else will.
The excellent network attack package dsniff has a really cool utility tcpnice that may help.
WoW is actually quite low bandwidth, on par with web browsing. Doesn't often hit 3k per sec. WoW would be playable on a 28.8 modem if your latency is low enough.
That would be really ironic and funny if that was the argument against NN at all.
The argument about NN isn't about whether or not ISPs should be able to give certain type of traffic greater priority over the others (I.E. making VOIP take higher priority over HTTP)
The argument about NN is whether or not ISPs should be allowed to give certain organizations higher priority than others. What the submitter is talking about is prioritising HTTP over Bittorrent, which most wouldn't disagree about. What NN supporters are talking about is whether or not Comcast should be allowed to throttle back Vonage or Skype connections and give preference to their own VOIP service.
It's a small point, but significant, if you run it through your head.
-cheers
-Bucky
It is more expensive than an old computer with OpenBSD on it, but it very simple to set up and is very easy to limit the speed of users by class.
We had a hotel with a 1.5Mb wireless connection that had a movie downloader just hammering us night and day. Not only was it killing the service for other users at the hotel, it was killing service for other users all over our wireless network.
Solution: We talked the hotel into getting a D-LINK DSA-3100. I had it installed in an afternoon, the hotel had a captive portal to boot, and everyone got a smaller but much fairer share of the bandwidth.
We have not had hardly a single issue with that hotel since the router was installed.
And note that this router replaced a semi-high-dollar secure router...that hung up under heavy traffic left and right.
Transporter_ii
Doctors destroy health, lawyers destroy justice, universities destroy knowledge, religion destroys spirituality
SIG: HUP