Slashdot Mirror


Beating Comcast's Sandvine On Linux With Iptables

HiroDeckard writes "Multiple sites reported a while ago that Comcast was using Sandvine to do TCP packet resets to throttle BitTorrent connections of their users. This practice may be a thing of the past as it's been found a simple rule in the Linux firewall, iptables, can simply just block their reset packets, returning your BitTorrent back to normal speeds and allowing you to once again connect to all your seeds and peer. If blocking the TCP packet resets becomes a common practice, on and off of Linux, it'll be interesting to see the next move in the cat-and-mouse game between customers and service providers, and who controls that bandwidth."

92 of 361 comments (clear)

  1. It's a trace buster buster buster by Anonymous Coward · · Score: 5, Funny

    It'll bust their trace buster buster.

    1. Re:It's a trace buster buster buster by Bohabo · · Score: 2, Insightful

      Legal questions aside, is there some technical merit to using Sandvine instead of just blocking the packets? Is it less expensive to the ISP or something? I don't understand why they're doing it.

    2. Re:It's a trace buster buster buster by Tubal-Cain · · Score: 5, Insightful

      Straight-up blocking it is probably more clearly illegal than throttling.

    3. Re:It's a trace buster buster buster by Kadin2048 · · Score: 5, Interesting

      Last time this came up for discussion, some people suggested that RST-injection was computationally easier than packet blocking, because it works on the connection level rather than the packet level.

      It still seems to me like you'd have to do quite a bit of DPI to determine which connections are being used for Bittorrent, but maybe you can identify a connection, send a forged RST packet, and then ignore the packets in that connection for a while (saving you load on the DPI box) for a while, maybe just until it closes.

      I'm not entirely clear how these Sandvine boxes work, but it seems like it would be easier to identify "okay, this connection is being used for x," "this connection is being used for Y," and then not have to pay more attention to them, than it would be to examine every single packet. That's where you get your cost reduction, I suspect.

      Sandvine has a few patents out there that probably describe in greater detail how their QoS tool works (and which I haven't read yet); apparently the QoS RST-forging are part of their "Stateful Policy Management" product.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    4. Re:It's a trace buster buster buster by kilocomp · · Score: 2, Informative

      The reason for RST-Injection vs. packet blocking is simple.

      For packet blocking, the appliance has to know instantly whether to block a packet or allow it.

      For RST-Injection, the appliance can monitor a flow and spend some computing time deciding whether or not to inject a reset.

      The time an appliance has to decide whether to throttle changes from microseconds to milliseconds or possibly even seconds.

  2. When comments become articles by Anonymous Coward · · Score: 4, Informative

    Wasn't this solution posted in the first few comments when this was first reported as happening.

    1. Re:When comments become articles by Misanthrope · · Score: 5, Informative

      I posted the kludge last time this got mentioned, I'm rather amused that this actually got posted again
      http://tech.slashdot.org/comments.pl?sid=591167&cid=23888479

  3. Tag: !news by Mr2001 · · Score: 5, Insightful

    This trick has been around for a while, hasn't it?

    The problem is, you can only filter out the RST packets on your end of the connection. But Sandvine also sends RSTs to the other end of the connection. That means it isn't enough for you to be running this iptables rule - all the peers you connect to have to be running it too.

    --
    Visual IRC: Fast. Powerful. Free.
    1. Re:Tag: !news by Jeffrey+Baker · · Score: 4, Informative

      Not just that, but it filters out RST packets that may in fact have been sent by the peer. So this trick can leave you with sockets hanging open in a bad state.

    2. Re:Tag: !news by Easy2RememberNick · · Score: 4, Interesting

      'Sandvine also sends RSTs to the other end of the connection. That means it isn't enough for you to be running this iptables rule - all the peers you connect to have to be running it too.'

        Isn't that your ISP committing fraud? Altering a private communication with the intent of disrupting it, or the very least it's the 'ISP' impersonating you and also the other party.

    3. Re:Tag: !news by GNUALMAFUERTE · · Score: 2, Interesting

      I think it shouldn't be hard to only drop RST packets forget by comcast. It's not hard to identify a fingerprint of the packet, either by the TTL, sequence, or something, on the RST packets that's uniq to comcast forged packets.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    4. Re:Tag: !news by cryptoluddite · · Score: 5, Insightful

      The problem is, you can only filter out the RST packets on your end of the connection.

      That's only a temporary problem. The real problem -- for the ISPs -- is that the same software is running on each end of a p2p, so all of their efforts are guaranteed to fail eventually.

      For instance, p2p programs can start using UDP spread spectrum... pass packets on random ports. The receiver then basically implements a quick and dirty tcp-like connection over this (ie much worse for an ISP than actual TCP). Add encryption and random length so it's harder to filter out. Or there can be a shared random number seed for the shared ports. Just for example...

      There's probably some computer science or information theory law stating this, but they can't ultimately reduce the targeted traffic by more than the loss from encoding it as 'normal' traffic. For instance, if they limit torrents to 100k/s and the loss is 33% from 'base64' encoding the data as some kind of an html-ish doc then if normal web pages get more than 133k/s then torrents would be faster encoding them as 'normal' traffic.

      ... then they have to try to figure out what are real web pages/servers and what are really some other protocol pretending.

    5. Re:Tag: !news by bytesex · · Score: 2, Insightful

      In short, it's an arms race; both parties are equally equipped and both parties care none for the collateral. And the first rule of arms races is that whoever started it, lost.

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    6. Re:Tag: !news by Anonymous Coward · · Score: 3, Insightful

      This is not entirely true; both parties are not equally equipped. The ISP has to do a whole lot of filtering with a minimum of resources, because resources (CPU, memory) are expensive, while the users they are up against have a lot of idle CPU time and free memory to use.

      (posting as AC because I already moderated)

  4. Sandvine? by cbrocious · · Score: 4, Funny

    I heard it through the sandvine.

    --
    Disconnect and self-destruct, one bullet at a time.
    1. Re:Sandvine? by Anonymous Coward · · Score: 5, Funny
      I'll bet you're wondering how I knew,
      Why my packets never made it through,
      With some other peer I was sharin' files,
      Between the two of us Comcast was runnin' wild,
      Reset me by surprise (reset by surprise), I'm afraid,
      From the R-I-Double-A,
      Don'tcha know,

      I heard it through the sandvine.



      Not much bandwidth's gonna be mine.
      Oh, I heard it through the sandvine...
      Oh, I'm just about to lose my mind,
      Honey, honey, yeah...

      I know a geek ain't supposed to cry,
      But these fears I can't hold inside,
      Losin' the 'net and it's neutrality,
      Yeah, it means that much to me,
      You coulda told me (you coulda told) yourself,
      That you're forgin' packets for someone else,

      Instead I heard it through the sandvine...
      Not much bandwidth's gonna be mine.
      Oh, I heard it through the sandvine...
      Oh, I'm just about to lose my mind,
      Honey, honey, yeah...

      People say "Believe half of what you see,
      Son, and none of what you hear",
      But my router's mighty confused,
      So if it's true, please tell me dear,
      Do you want (do you want) to make me go,
      Back to the ISP (and USENET feed) I used before,

      Or should I drop packets from your sandvine...
      Plenty bandwidth's gonna be mine.
      Oh, I don't listen to your sandvine...
      MPAA's 'bout to lose its mind,
      Honey, honey, yeah...

      - Original work, composed under the influence of Slashdot and beer. Lyrics in public domain. Someone with vocal talent, feel free to improve, record, and youtube it as a parody under the fair use exemptions.

    2. Re:Sandvine? by KGIII · · Score: 4, Funny

      My wife has me drinking boxed wine. *shivers but drinks it anyhow* Now, someone mod this one up, a billion times, as +6 Funny +10 Funny While Drinking.

      --
      "So long and thanks for all the fish."
  5. Good, but shouldn't be necessary by corsec67 · · Score: 5, Interesting

    While it is good that it is easy to ignore reset packets that were created by the ISP, the question still remains:

    Why should we have to block forged packets made by the ISP? If the MAFIAA suits are banking on IP == identity, and the ISP is forging packets with an IP that doesn't belong to any computer they own, isn't that a fairly serious form of forgery?

    And, wow that site went down fast.

    --
    If I have nothing to hide, don't search me
    1. Re:Good, but shouldn't be necessary by Macman408 · · Score: 3, Funny

      And, wow that site went down fast.

      Nah, your ISP just sent a RST to both ends as soon as the connection was established.

    2. Re:Good, but shouldn't be necessary by Fallen+Kell · · Score: 3, Informative

      If the MAFIAA suits are banking on IP == identity, and the ISP is forging packets with an IP that doesn't belong to any computer they own, isn't that a fairly serious form of forgery?



      Yet another reason why anyone who knows anything about computers and networks have been saying the **AA's methods of identification are a complete joke and don't amount to anything that could be considered evidence.

      --
      We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
    3. Re:Good, but shouldn't be necessary by Repossessed · · Score: 2, Informative

      The law in my state (Utah) includes the following:

      (4) A person who intentionally or knowingly and without authorization, interferes with or interrupts computer services to another authorized to receive the services is guilty of a class A misdemeanor.

      (Misdemeanors for the same offense stack until they become felonies in Utah, not sure what it works out to for class As though)

      (3) Any person is guilty of a second degree felony who:
                (a) knowingly and unlawfully possesses an instrument capable of intercepting electronic serial number and mobile identification number combinations under circumstances evidencing an intent to clone;

      (definition of electronic serial number is sketchy here, cloning is the electronic kind, interestingly, this also makes my router quite illegal (though as a misdemeanor, as I do not have intent to use), since it supports mac address cloning)

      (1) A person is guilty of a class B misdemeanor if, in the course of business, he:
            (c) sells, offers, or exposes for sale adulterated or mislabeled commodities.
      (2) (a) "Adulterated" means varying from the standard of composition or quality prescribed, or pursuant to any statute providing criminal penalties for a variance, or set by established commercial usage.
            (b) "Mislabeled" means varying from the standard of truth or disclosure in labeling prescribed by or pursuant to any statute providing criminal penalties for a variance, or set by established commercial usage.

      IANAL, or a paralegal, the state code may not reflect case law, and the judge may not care what the law is at all, your state will likely have something completely different. I also point out that I long since lost track of the number of felonies and misdemeanors I've racked up in my state's legal code. (which is annoying, since I need to add owning my router to it)

      --
      Liberte, Egalite, Fraternite (TM)
  6. It doesn't matter. by Anonymous Coward · · Score: 2, Interesting

    It doesn't matter what it is, it'll be worse, more draconian, and will still be subverted quickly.
    ISPs (and many other certain groups) need to realize that they have already lost, and will lose, ad infinitum. The fight will only cause hemorrhaging of even more customers.

  7. Port 25 by bwave · · Score: 2, Interesting

    Now if we could just find away to get around them blocking port 25! Pretty inconvienent for those who need to send work email from home.

    1. Re:Port 25 by PIBM · · Score: 3, Insightful

      Easy.

      Get a real ISP.

    2. Re:Port 25 by Mr.+Slippery · · Score: 2, Informative

      Shouldn't you be using port 587 for that?

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    3. Re:Port 25 by awdau · · Score: 2, Informative

      All _decent_ mail servers allow for the submission of email on TCP port 587. So you could send your work emails that way.
      Or VPN into work and send emails that way.
      Or even use your ISP's mail server to send the emails (though you might be hit an obstacle like SPF).

    4. Re:Port 25 by EdIII · · Score: 5, Informative

      Not sure what you mean by sending work email from home.

      If you mean your ability to establish a connection with a corporate mail server not located on your ISP's network, then port 25 is unnecessary. You should use port 465 with SSL instead. Problem solved since no ISP ever blocks port 465 in any direction. At least not that I am aware of.

      If you mean your ability to run a mail server at your house, then your shit out of luck period. There are a large number of mail servers now that use policy block lists. Every ISP publishes their policy block lists which includes your IP address range. The moment your mail server tries to establish a connection to another mail server using this block list your packets could be dropped right at the router, or your connection terminated by the mail server itself.

      Now as upsetting as that might be, it really is for the greater good. The vast majority of all the SPAM being sent every day comes from compromised windows machines on dynamic IP address ranges. Using the policy block list is very effective at immediately stopping those communications from ever reaching the mail server.

      If you are absolutely determined to run your own mail server from home I would suggest getting a static IP address. Not only will port 25 not be blocked, but you will have a MUCH BETTER chance of your packets not being dropped by routers servicing the mail servers you will be sending email to.

      Another option, depending on the amount of money you want to spend, is to retain the services of an email services provider. There are more than a few out there. You can use your own domain and they will host it for you. They can also provide a fair amount of security and usually are more reliable in getting the email to the destination.

      Additionally, you could always get a virtual server someplace and run your own mail server software on it. They have linux and microsoft systems available pretty cheaply. Then you would be operating on IP address ranges used by big ISPs and data centers.

    5. Re:Port 25 by houghi · · Score: 2, Informative

      Problem solved since no ISP ever blocks port 465 in any direction. At least not that I am aware of.

      In Belgium at least 1 provider (Telenet) blocks everything below port 1024 for standard customers.

      --
      Don't fight for your country, if your country does not fight for you.
  8. Re:Already slashdotted... by MadTinfoilHatter · · Score: 5, Informative

    Here's a link to Google's cache of the article.

  9. This Account Has Exceeded Its CPU Quota by Alsee · · Score: 3, Funny

    Now he needs to add a rule to iptables to save the webserver from the Slashdot effect.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  10. Usenet by Anonymous Coward · · Score: 3, Informative

    Well if you are doing something illegal (like downloading music from bands under the RIAA), not that I condone it, but Usenet would be the best choice.

    First of all your provider probably doesn't throttle downloads. Second of all your IP doesn't get sent out to everyone and their mother, the only people that know it are your ISP and Usenet provider.

    tl;dr: Usenet binary groups FTW

    1. Re:Usenet by BiggerIsBetter · · Score: 5, Funny

      The first rule of Usenet is, you do not talk about usenet.
      The second rule of Usenet it, YOU DO NOT TALK ABOUT USENET.

      Fscking n00bs.

      --
      Forget thrust, drag, lift and weight. Airplanes fly because of money.
    2. Re:Usenet by Drgnkght · · Score: 2, Insightful

      Yes, but they need to know they should ask for it.

  11. I wonder if they will simply start disconnecting. by Zombie+Ryushu · · Score: 4, Insightful

    I wonder if they will just say that blocking their RST Packets is a violation of TOS and disconnect you.

  12. First it was email and spam, then it was content.. by kandresen · · Score: 4, Insightful

    There is no more good reasons and not any easier for the ISP's to block or rate limit our web-use than it is to centrally control spam. People are different, and have different needs plain and square.

    Who should have priority, and how to determine it? I can guarantee that if it is a packet flag, then spammers, virus writers, and even bit torrent users will find a way to use it. And regardless, consider the following:

    - Which priority should online Live football have from site X? Should it have over the one from site Y, and Z, and the 1000+ others with different commentators and different languages?
    - What if you rather wanted live games? Or Live online music concerts? What should have higher priority?
    - What about your live online video rentals - stream from Netflix over one from Blockbuster or should maybe your own ISP be allowed to rate limit all the competition to sell their own?
    - What about my VoIP from Skype over Vonage, Gizmo, Provider X,Y,Z?
    - What about Online games from Xbox 360 above Playstation 3?

    Who are to set the priorities? How on earth should the ISP know what my priorities are? How on earth should the football channel know they should not send with highest priority flags?

    And there is also a much easier way that leaves the internet neutral:
    As with e-mail spam filtering - let the settings be neutral from the ISP side, then let us set up our own profile or custom rules for the downstream traffic.

  13. Re:Which rule? by Hawthorne01 · · Score: 2, Funny

    Rule #6.

    --
    "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
  14. encryption by socsoc · · Score: 5, Interesting

    As a Comcast customer, I've never had my torrents completely stop, they just go around 300k... I did notice a speed increase when I chose to encrypt the traffic (uTorrent has it under Speed Guide).

    Comcast is evil and I want them to DIAF, but my torrents, which are legal, haven't been that impacted.

    When I want fast, I use the Comcast sponsored newsgroups through Giganews.

    1. Re:Encryption by Anonymous Coward · · Score: 2, Informative

      Because encryption CAN'T encrypt the packet headers, or every box on the net would have to decrypt it to find out who it's for. Only the data itself is encrypted.

      This is also how classic traffic analysis works, as in WW II radio traffic -- the to and from addresses are not encrypted, otherwise every listening radio would have to decrypt every single message to see which ones are fo it, and that is way too much work in those pre-computer days.

  15. Exactly. by plasmacutter · · Score: 5, Informative

    I noticed my WoW connection suddenly became unstable at the beginning of the month.

    I implemented similar firewall rules on my mac and the instability was cut in half.

    Guess the other half is being forged to the blizzard servers.

    --
    VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
    1. Re:Exactly. by Anonymous Coward · · Score: 2, Interesting

      I implemented similar firewall rules on my mac and the instability was cut in half.

      Maybe you should ignore RST only on specific port ranges...

      Just a thought.

    2. Re:Exactly. by plasmacutter · · Score: 4, Informative

      I did. I did some digging, found which ports the WoW client uses, and set ignore rules on only those ports.

      --
      VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
  16. Re:I wonder if they will simply start disconnectin by Anonymous Coward · · Score: 3, Insightful

    Of course, they could have just kicked you for using bittorrent in the first place, if they wanted to.

    But they want your money.

    They were hoping they could slow down bittorrent enough to not cause anyone to leave, but still get an under the table payoff from the *AA groups. I'm sure they'll keep tweaking and keep watching their subscription numbers.

  17. Re:First it was email and spam, then it was conten by kandresen · · Score: 3, Interesting

    By the way - While onto it - if they are to ratelimit live sports events and do on, they MUST prioritize the version for hearing impaired which have a square with a commentator speaking in sign language in the corner ABOVE the one for the rest. This simply because it is illegal to discriminate against hearing impaired and everyone is able to see the screen even though a part of it might not be of such interest to most of us. Of course - if the hearing impaired could set these option themselves, then we don't need to degrade the performance for those not hearing impaired neither.

  18. Re:Piracy is wrong - plain and simple by Jesus_666 · · Score: 4, Funny

    And not just IP! When I'm done stealing IP I'll steal BGP and ICMP!

    The internet will be mine, mine! Mwa ha ha ha ha ha ha!

    --
    USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  19. Re:Which rule? by spoop · · Score: 4, Informative

    I've had this command in my WRT54GL running DD-WRT for a while: iptables -A INPUT -p tcp --dport 39984 --tcp-flags RST RST -j DROP just replace 39984 with whatever post you use for bittorrent

    --
    I blame geof's speakers.
  20. This is why you select a specific port.... by Fallen+Kell · · Score: 5, Informative

    As my subject says. This is why you only put the filter on the specific port you are using for P2P traffic. For instance, my rule is as follows:

    iptables -I FORWARD 3 -p tcp --dport 36745 --tcp-flags RST RST -j DROP;

    The above does what it says, drop TCP RST packets on port 36745. That is all you need to do to keep it from affecting your other network applications which may be getting legit reset packets.

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
    1. Re:This is why you select a specific port.... by Jeffrey+Baker · · Score: 4, Informative

      Your comment seems to imply that no bittorrent peer will ever need to RST the connection, which is not generally true.

    2. Re:This is why you select a specific port.... by darkonc · · Score: 5, Interesting
      Well, if you're getting bitten by ComCast (or other e.g. Canadian) ISPs that are resetting connections, then it's probably better to leave connections open that shouldn't be than to close connections that should stay open.

      It's a response to a violation of the TCP protocol to begin with, so it's not surprising that it has some negative side effects.

      Probably the best thing to do would be to build a filter that registers the presence of the RST packet and waits to see if you get more data from the site that supposedly sent it.
      * If the site that the RST packet supposedly came from continues to act like it's got an open session, then you can ignore the RST as a forgery.
      * If you have no more non-closure packets after the RST, then you can apply an aggressive timeout and then deliver the RST after 2-3 seconds of silence.

      --
      Sometimes boldness is in fashion. Sometimes only the brave will be bold.
    3. Re:This is why you select a specific port.... by baeksu · · Score: 3, Insightful

      No good medicine comes without side effects.

      It is my understanding that these false resets cause much more serious disruption than leaving connections open, so you are still coming out ahead.

      --
      Gnome: A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
    4. Re:This is why you select a specific port.... by emc · · Score: 5, Interesting

      Although, I've never had this issue and am not a Comcast customer...

      I'd assume that the RST coming from Comcast would probably have a different TTL than a legitimate RST.. As a matter of fact, all the RST coming from Comcast would probably have the same TTL.

      Anyone looked into this?

    5. Re:This is why you select a specific port.... by Heidistein · · Score: 2, Interesting

      Wonder, what happens if you just always drop the first TCP-RST packet? Just wait for a second rst packet and act on that? You should send a RST-ACK after a RST, if you dont the peer on the other side will think something went wrong and will send another RST packet. I guess the comcast box isn't that smart (yet)... Is this possible with the iptables rules already, or must there be written a new module alike 'mod_conntrack_bad_isp' ;-)

    6. Re:This is why you select a specific port.... by dfn_deux · · Score: 2, Interesting
      An interesting question to be sure, but then again once you've settled on TTL as a mode of detection then what is to stop comcast from obfuscating that information with a cooked tcp stack? They control all the packets which come to you, by introducing a jitter to some "innocuous packet encapsulation data" they could both come out on top in the cat/mouse game and if challenged by a court might be cutting close enough to the line between what part of the transmission is required to be carried by a common carrier and what portion is guaranteed the burdens of protection inherint in the common carrier system. I.E. Is jittering frame info more akin to phone company using lossy compression schemes on voice transmissions in order to facilitate proper utilization OR is it more akin to them altering the message of the conversation, something which would clearly be illegal.

      Just some idle thoughts...

      --
      -*The above statement is printed entirely on recycled electrons*-
    7. Re:This is why you select a specific port.... by sega01 · · Score: 4, Interesting

      That it is a great idea. Combined with only dropping RST packets for your torrent port you could have it match a specific TTL as well. Try this: iptables -I FORWARD 3 -p tcp --dport 36745 --tcp-flags RST RST -ttl-eq $EVILISPTTL -j DROP

    8. Re:This is why you select a specific port.... by kilocomp · · Score: 4, Insightful

      This was an initial way researchers detected forged resets. And it still works for some appliances (think snort), but most appliances ISPs use forge TTL now.

      The appliance is seeing everything including TTL, so it is rather trivial for these devices to forge it on top of everything else it forges.

      One idea being played around with is looking at the arrival time of the reset. A much harder analysis, but a much harder thing for the appliance to control.

  21. Mirror by Easy2RememberNick · · Score: 3, Informative

    I believe this is it

    http://www.networkmirror.com/rdDEvxh7svNGl9W1/tuxtraining.com/2008/06/21/beating-sandvine-on-linux-with-iptables/index.html

  22. You know what I hate? by deek · · Score: 5, Insightful

    It's when I see a comment on Slashdot, that seems to have no relation to the comment above it. Then I discover that the real parent post has been hidden by Slashdot's new comment system, and the child post linked to the grandparent.

    It's damn annoying! Slashdot, please, at least link the child to the "hidden comments" link. That way, I won't get head spins when someone appears to viscously lash out at an interesting post.

  23. sigh ... I'm my own spelling nazi by deek · · Score: 4, Funny

    viciously, not viscously. I'll have to learn to read my previews more closely.

    1. Re:sigh ... I'm my own spelling nazi by DMUTPeregrine · · Score: 4, Funny

      Lashing out with maple syrup and molasses could be interesting.

      --
      Not a sentence!
  24. What about Windows AVG suite? by LM741N · · Score: 2, Interesting

    It appears I have control over ICMP packets with my AVG firewall. What exactly should I be doing, ie which packets need to be blocked as they have numbers and no description? Thanks

  25. Comcast has moved on; now they're delaying packets by SuperBanana · · Score: 5, Interesting

    They recently bumped up service to a full megabit upload speed, mostly because of Verizon FiOS service (which still isn't available anywhere in MA except the rich white suburbs- Boston's completely "dark", yet surrounded by towns and cities which have it.) However, if you use it past the old limit (384kbit), after a few minutes, latency skyrockets.

    It takes anywhere from a minute to several minutes to kick in, but when it does, ping times to google jumped from 20-30ms to over 300ms. Sometimes I found ping times would be *seconds* long, and ssh became almost completely unresponsive. Curiously, none of the packets would actually be dropped- they'd just very, very badly delayed.

    Seems very clearly designed to a)look the same as Verizon "on paper", 2)Satisfy people who want to email photos of the kids to grandma and grandpa (I will admit, it's insanely nice to be able to upload at four times the speed, when it works).

  26. They are doing it because they are crooks...... by ciscoguy01 · · Score: 5, Interesting

    Technical merit? I think not.
    They can't block the packets, they sold their users "unlimited" internet. If certain packets are just blocked that's not really unlimited, is it?
    They sure didn't tell anyone they were secretly installing Sandvine boxes that nobody had heard of specifically to screw up certain kinds of traffic. They did it in secret. It was subterfuge. A dirty trick. Mischief.
    Now that they are found out their story is they are just "managing bandwidth".
    But what they are really doing is trying to stop 2% of their customers from using 98% of the bandwidth, bandwidth they have to pay for. Remember, though they are selling "unlimited" internet access at some level *all* bandwidth is measured. Theirs is certainly measured by their upstream provider. There is really no "unlimited" bandwidth.

    --
    .
    1. Re:They are doing it because they are crooks...... by Stormwatch · · Score: 5, Insightful

      But what they are really doing is trying to stop 2% of their customers from using 98% of the bandwidth, bandwidth they have to pay for. Remember, though they are selling "unlimited" internet access at some level *all* bandwidth is measured. Theirs is certainly measured by their upstream provider. There is really no "unlimited" bandwidth.

      Their own damn fault for selling something they don't have!

    2. Re:They are doing it because they are crooks...... by Peeteriz · · Score: 3, Insightful

      Well, that's why there are laws that prohibit lying in advertising; and the 'limited' ISP should be able to get punitive damages if other ISPs falsely advertise 'unlimited' access.

      But I am not holding my breath while waiting for this to really happen this way :)

    3. Re:They are doing it because they are crooks...... by Crayon+Kid · · Score: 5, Insightful

      Their own damn fault for selling something they don't have!

      They always have. ISP's, especially those on the last mile, have historically sold 10 to 20 times the actual bandwidth to their customers. Except a while back the last mile was not a hot zone. There weren't so many things you can use huge amounts of bandwidth on.

      Today there are lots. Desktop apps move to the web, there's streaming, online gaming, all kinds of legal, semi-legal and illegal things to download, malware and the list goes on and on.

      The ISP's are caught in the middle of all this. They've entered this time period with pricing policies that belong in gentler times, and their infrastructure is also outdated and getting more so every day.

      On top of everything, everybody seems to think it's their job to carry the Internet on its back and figure it out somehow. The end customer likes to have huge amounts of bandwidth for pennies. The websites and online apps have bulk deals for bandwidth with providers that have efficient distribution infrastructures all over the world. And the last mile ISP is left to fight a dog eat dog fight with other similar local ISP or with a bigger area ISP, both of which will drive it out of business eventually.

      Not to mention the crazy politics involved, where they are required to act as copyright cops and other idiocies.

      So they're desperate. They're trying anything to "fix things". There are a couple of sane solutions but not without problems. The obvious move would be to rethink their pricing and start selling capped amounts of bandwidth. Filtering will always be passed somehow but a hard cap upstream is a hard cap. And nobody will be able to protest they're not getting what they're paying for.

      But this isn't easy either, because of the fierce competition. You do hard caps, you piss of customers. If they have a choice, they'll run to that new ISP that popped up in the neighborhood a week ago. Sure, that ISP will experience the same problems a while from now, but in the meantime you're short some income.

      Another solution is a world-wide effort to update infrastructure (better throughput, either hardware or software). But who's gonna pay for that? The last mile ISP's can't and won't and granted, it's not fair they should pay all of it. But the other interested parties like the status quo and won't pay either, but will bitch just as readily about filtering and caps and whatnot. In the end, the ISP's will probably turn to insightful investors like Google's dark fiber and become their prisoners and people won't like that either, but will conveniently forget they're the ones that pushed the ISP's into that corner.

      It's not just the ISP's fault, it's everybody's. The Internet has become an ecosystem, you gotta work together on all parts of it to see proper overall change.

      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
    4. Re:They are doing it because they are crooks...... by grimwell · · Score: 5, Insightful

      But what they are really doing is trying to stop 2% of their customers from using 98% of the bandwidth, bandwidth they have to pay for. Remember, though they are selling "unlimited" internet access at some level *all* bandwidth is measured. Theirs is certainly measured by their upstream provider. There is really no "unlimited" bandwidth.

      Pisshaw. Large regional and national ISPs don't have "upstream" providers. They have a presence in a NAP(s) and peering agreements with other networks. The only costs they have is for the infrastructure; physical cables, equipment, power and people. They don't pay for bandwidth on a "meter". Their bandwidth is limited by equipment; available technology and costs.

      They are "managing bandwidth" to control last mile congestion. It is cheaper to mangle traffic than to upgrade the last mile. Plain and simple.

      --
      If the govt becomes a lawbreaker, it breeds contempt for law, it invites man to become his own law, it invites anarchy
    5. Re:They are doing it because they are crooks...... by CyberDog3K · · Score: 5, Insightful

      I might be less critical of them if they actually spent some of their abusively high rates on upgrading said failing infrastructure instead of god knows what.

    6. Re:They are doing it because they are crooks...... by growse · · Score: 4, Insightful

      On top of everything, everybody seems to think it's their job to carry the Internet on its back and figure it out somehow.

      This seems to me to be *exactly* what an ISP's job is. If they don't like doing this, they should get on out of the business.

      --
      There is nothing interesting going on at my blog
    7. Re:They are doing it because they are crooks...... by tinkerghost · · Score: 4, Informative

      Another solution is a world-wide effort to update infrastructure (better throughput, either hardware or software). But who's gonna pay for that? The last mile ISP's can't and won't and granted, it's not fair they should pay all of it.

      Um, in the US, we're already paying for it. We have since the late 90's when congress passed huge tax breaks on to telcos to develop our 40Mbps connections - you have one of those don't you? The telco's promised us one years ago, I'm sure mine is just around the corner.

    8. Re:They are doing it because they are crooks...... by Ikonoclasm · · Score: 2, Insightful

      Another solution is a world-wide effort to update infrastructure (better throughput, either hardware or software). But who's gonna pay for that? The last mile ISP's can't and won't and granted, it's not fair they should pay all of it.

      So the US government didn't give them billions of dollars in subsidies and grants to do exactly that? They got greedy. They didn't do what they were tasked to do. It most certainly IS fair for them to have to pay for all of it because it was their willful inaction that plays such a large part of the problem.

    9. Re:They are doing it because they are crooks...... by tmalone · · Score: 3, Insightful

      Damn, I can't get this critical update for Vista this month because I'm out of bandwidth. Or, I guess I don't get to play this game I just bought because I don't have the bandwidth left to download the first 12 patches to it that came out in between the time I left the store and when I got home. I would be less concerned about capping bandwidth if everybody didn't expect you to have an unlimited connection. Maybe that expectation would change in time (maybe flash would go away!).

    10. Re:They are doing it because they are crooks...... by PieceofLavalamp · · Score: 5, Insightful

      You've used "fierce competition" to describe the ISP market place. So i must assume you are being sarcastic. You really shouldn't bury sarcasm like that in between rather insightful points, you'll confuse people who aren't familiar with the issue... New ISPs haha funny.

    11. Re:They are doing it because they are crooks...... by Crayon+Kid · · Score: 3, Informative

      For some places, notably the US, I can see why you'd think I was being sarcastic. But the European ISP market is much more dynamic. I was being serious when I called competition over there fierce.

      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
  27. IPFW rule by Spaham · · Score: 2, Informative

    I believe that this rule should work for macos X ipfw :
    sudo ipfw add 100 drop tcp from any to any 6881 tcpflags rst

    change 100 for the rule number that fits in your list
    change 6881 for your bittorrent port number

    feel free to correct me !

    1. Re:IPFW rule by darkonc · · Score: 2, Informative
      That should probably be

      sudo ipfw add 100 drop tcp from any to ${eth0} 6881 tcpflags rst

      (I can't remember the exact syntax, right now)... The point is that you want to allow yourself to send RSTs outbound, but ignore them inbound on your internet-facing port.

      --
      Sometimes boldness is in fashion. Sometimes only the brave will be bold.
    2. Re:IPFW rule by Spaham · · Score: 2, Informative

      or just add "in" then ?
      something like that :

      sudo ipfw add 100 drop tcp from any to any 6881 in tcpflags rst

  28. Re:Which rule? by madsenj37 · · Score: 2, Funny
    --
    Choosing the lesser of two evils is a choice for evil.
  29. Re:Piracy is wrong - plain and simple by Anonymous Coward · · Score: 2, Insightful

    Flamebait/troll...

    But just to make sure you understand: File sharing is NOT theft! - There is no loss involved as the subject is copied, not transferred.

    I myself download some movies as a way of sampling them before either deleting them or buying the DVD/Blu-ray. I don't keep the downloaded copy around - it's always deleted, either right away (because the movie is crap) or when I buy the DVD. So my copies doesn't cost anybody anything; no loss and thus no theft.

  30. A Fitness center analogy.. by AftanGustur · · Score: 5, Insightful
    Fitness centers operate similarly, they have numbers on how many times each member comes per week, and based on that (and other parameters) they price access to the center.

    Now, imagine you buy a year membership card.

    Then you start showing up each morning, and again in the evening.

    Then the fitness center comes to you and says: "You can come here, but we are going to lock all the doors when you show up, because you are using up to much resources and thus denying them to our other members.

    Do you think there would be any outrage ?

    --
    echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
    1. Re:A Fitness center analogy.. by Nathonix · · Score: 4, Insightful

      yes, very much so. a year pass is a year pass, unless the contract stipulates how many times a week one can show up, it would be false advertising to sell a year pass with undisclosed limits.

      --
      Soap box, Ballot box, Jury box, Ammo box. Use in that order.
    2. Re:A Fitness center analogy.. by Maxo-Texas · · Score: 5, Insightful

      Say that you found out a way to earn or safe a lot of money by staying on the fitness machines 16 hours a day.

      Suddenly, the 28 fitness machines they expected to service 5,000 people are being used from opening until closing by the same 28 people.

      Do you think the fitness companies and their customers would say "ah well... they've got us because of our advertising unlimited service."

      No- the next time your contract came up, it would have a clause that allowed them to force people to share the machines or something to protect them.

      You are being unreasonable. The cable companies are trying a weaselly scummy way to get out of the situation instead of just doing what they should do up front.

      1) Determine the real usage of their desired customer (say 20gb a month).
      2) Advertise 24gb a month for one "low rate" with a "reasonable $1 per gb"

      And eventually they will. Even if you have you current company in an iron clad contract, if it is losing money the situation *will* fix it self.

      ---

      The current isp situation in america is a complete joke and anti-capitalistic. We basically have duopolies in 99% of cities between AT&T and a cable company. That needs to stop and be broken up. The internet wires, like the roads, should put be put by the government.

      --
      She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
    3. Re:A Fitness center analogy.. by Culture20 · · Score: 4, Insightful

      This makes sense with telephone switching, but packet switching? It's more like 28 people using the machines, taking breaks occasionally, then getting back on when other people are done (using a FCFS scheduling algorithm). The worst the fitness company could complain about is that these 28 people are causing "undue stress" to the machines (which is ridiculous anyway).

    4. Re:A Fitness center analogy.. by AngelofDeath-02 · · Score: 2, Interesting

      Well, there's also a reduced number of a certain type of equipment, which you would be depriving others of. If enough people were to do this, they could sufficiently occupy said type of equipment to the point where others will either wait in line or do something else. If you want, you can expand that to multiple types of machines. The net result is the same. Limited resources being consumed excessively by a few serve to detriment everyone else unfairly when those limited resources become scarce.

      Realistically, an internet connection has a hard cap on how much you can upload in any given second. The total bandwidth going to your area is probably higher than that, so your impact isn't total, but if a few people do that then there isn't enough of that bandwidth left for everyone else. You get the same situation.

      Sorry, I just don't see how your disagreement is valid. As far as I can see, the analogy is accurate enough.

      --
      No, I am not an English major. My posts are subject to typos and incorrect grammar. Do not expect perfection.
    5. Re:A Fitness center analogy.. by Bengie · · Score: 2, Informative

      I have no problem with an data cap on broadband. Lets just do what Japan is doing; 25Mbits/sec for $25USD/month with a 30GB upload cap per *day* and no cap on download.

  31. Time to stop trusting TCP by elronxenu · · Score: 4, Interesting

    I expect we'll see development of protocols more robust than TCP to a MITM attack (this is ultimately a MITM denial of service).

  32. Re:Hmm ... by Uther_Dark · · Score: 3, Informative

    Encryption only obfuscates the files you are downloading/uploading, it doesn't hide what protocol you are using... (I think) In any case, it DID work for a while, but I guess Comcrap caught on to the protocol, and now my torrents (all legal BTW) are crapped out...

  33. First They Came by Carcass666 · · Score: 4, Insightful

    First they came for the game crackers,
    and I did not speak up because I did not play games

    Then they came for the pornographers,
    and I did not speak up because I did not view porn

    Then they came first for the spammers,
    and I did not speak up because I was not a spammer

    First they came for the music pirates
    and I did not speak up because I was not a pirate

    Then they came for me,
    and by that time there was no fair-use left.

  34. Re:Do you need to be connected to the cable modem? by Arimus · · Score: 3, Informative

    Your linux iptables based firewall needs to sit between the Comcast modem and the rest of your PC's...

    --
    --- Users are like bacteria -> Each one causing a thousand tiny crises until the host finally gives up and dies.
  35. why a specialized device? by LordMyren · · Score: 2, Interesting

    why a device for just this?

    when you buy a wireless router, just make sure its a router that will run a decent linux distribution. the linksys wrt54g started the ball rolling, and there is now a rather impressive list of routers supported by just one embedded linux distro; OpenWRT. dd-wrt has a similarly lengthy list. some allow you to attach hard drives via IDE or USB and do file serving as well. most run around 200mhz, have 4mb flash and 16/32mb ram, although better and worse configurations are available. these also have wireless built in, and usually two separate hardware vlans. you can pick up routers for under $50.

    802.11n hardware seems to have very poor linux support, and not many routers have gigabit unfortunately. i havent really followed closely as neither of these features is on my "must have" list. the one i've seen moving recently is the wrt350n, which is making pretty good headway and has both features but its still not ready for primetime and is a pretty old router.

    in general, i dont see why you'd get specific hardware for this when you could just have a small 5 watt linux router that handles your wan/lan/wifi/simple daemons.

    1. Re:why a specialized device? by sethstorm · · Score: 2, Insightful

      in general, i dont see why you'd get specific hardware for this when you could just have a small 5 watt linux router that handles your wan/lan/wifi/simple daemons.

      Usually, that 5w router ends up falling a bit short when you run large amounts of data through it.

      That's what you get with equipment that has quality as an afterthought.

      --
      Twitter supports and protects racists - by smearing their critics with the "Hate Speech" label.
  36. Re:Here;s an idea: Stop fucking stealing shit !! by LordMyren · · Score: 4, Informative

    "Here;s an idea: Stop fucking stealing shit !! If you don't steal you won't care if your stealing facilitation enablers get a fucking RST or not. "

    rst hurts anyone trying to keep long lived tcp connections, regardless of how much or what traffic they are sending.

  37. Expected response from ISPs by dkleinsc · · Score: 2, Insightful

    "Obviously, due to these techniques being available, the tool known as iptables must be made illegal. The ability to change how we're sending packets through our networks allows users to engage in piracy, terrorism, and cyber-warfare, and this cannot be allowed to continue in the name of national security."

    (Yes, I think that's a load of crap, but I suspect they can get 60 senators with that and a few campaign donations.)

    --
    I am officially gone from /. Long live http://www.soylentnews.com/
  38. Damn those customers by phorm · · Score: 4, Funny

    On top of everything, everybody seems to think it's their job to carry the Internet on its back and figure it out somehow. The end customer likes to have huge amounts of bandwidth for pennies.

    Damn, those lousy cellular customers are making a lot of calls on our unlimited rates plan. Let's just cut off their calls or make the service so distorted that they hang up themselves.

    Damn, those idiotic customers are all watching hi-dev TV on their cable. Maybe we should switch the output signal to low-def.

    Stupid drivers, since the population of the city has grown this roadway has been plugged. Let's give them a lesson by dropping speed limits and closing lanes.

    Darnit, people are actually using our long-distance plan to call relatives in the other side of the country more... let's just block their calls randomly with a busy signal.

    Too many nerds are visiting slashdot these days, it's getting bogged down. We're tired of upgrading servers, so let's just leave them with these Pentium III's and delete the account of anyone who posts too often.

    We don't put up with this shit in other marketplaces, why should we put up with it in regards to the internet? Part of a company's planning procedures should be to map out weak areas in infrastructure, predict where/when capacity increases need to be made, and make improvements where necessary.