Slashdot Mirror


Deep Packet Inspection and Net Neutrality

EncryptKeeper writes "Ars Technica has an in-depth feature on deep packet inspection, and it's a disturbing read. ISPs are starting to turn to DPI to monitor their networks, and, more troubling, to look at how they can use it to shape, block, monitor, and prioritize traffic. 'The "deep" in deep packet inspection refers to the fact that these boxes don't simply look at the header information as packets pass through them. Rather, they move beyond the IP and TCP header information to look at the payload of the packet. The goal is to identify the applications being used on the network, but some of these devices can go much further; those from a company like Narus, for instance, can look inside all traffic from a specific IP address, pick out the HTTP traffic, then drill even further down to capture only traffic headed to and from Gmail, and can even reassemble emails as they are typed out by the user.'"

18 of 334 comments (clear)

  1. Encryption by s31523 · · Score: 5, Interesting

    then drill even further down to capture only traffic headed to and from Gmail, and can even reassemble emails as they are typed out by the user
    Hmm, I need some help with this one, since my networking kungfu sucks... When I login to Gmail, I am in a https mode, and this persists through my whole session. I was under the impression, perhaps naively, that this meant my session to Gmail was encrypted and that only I and the Gmail server could decipher the contents of my mail, that is until I click send, and it goes from the Gmail server to wherever I send to. So if this is true, how would someone be able to reassemble my email as I type?
    1. Re:Encryption by bbdd · · Score: 3, Interesting

      if you want https automatically, use the highly-recommended customizegoogle add-in.

      http://www.customizegoogle.com/

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

      Sorry, I think CmdrTaco beat you to the punch. Don't believe me? Try a different sid in that link... different page ;-)

    3. Re:Encryption by jd · · Score: 5, Interesting
      Most packet inspectors (such as Network Observer) are packet class only. Converged Access does a more sophisticated packet inspector, but even that only drills down to the specific subtype of packet for a given application, and of course only those applications they have the specifications for, or reverse-engineered. I know of no full-payload inspectors and doubt they even exist. Remember that packets cannot be guaranteed to travel on identical paths - the Internet is not a spanning tree - and that packets can fragment when there is an MTU change. Anyone sending a jumbo packet is guaranteed to see packet fragmentation, for example.

      A full reassembly by sniffing would also need to drop retransmitted packets and support all common encapsulation techniques. You're also talking about a LOT of storage and absolutely no way to sensibly organize the volume of data collected. That's the problem with data saturation - there are no database or data processing techniques capable of handling it. I was talking to one of the top Ingres software/network gurus at OSCON yesterday - apparently even just the total information awareness project is staggering under the sheer weight of information that no system yet designed can handle. If the data is unsearchable, unsortable and unprocessable, then to all practical intents and purposes, it doesn't exist.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  2. Personal VPN by nahdude812 · · Score: 2, Interesting

    I've recently started using a full-time encrypted personal VPN to one of my boxes which is 1 hop (data center's router) from several backbones. I add direct (non-vpn) routing for services which are particularly latency sensitive (gaming).

    I don't currently suspect my home ISP of doing this sort of deep analysis or otherwise interfering with my data stream, but in this way I also don't have to worry about it.

    IMHO this sort of thing will become the standard if this trend of ISPs snooping and changing our data continues.

    1. Re:Personal VPN by Anonymous Coward · · Score: 1, Interesting

      The problem with that problem is how do they know the data is encrypted? If they throttle any "random" connection to 1/10th the speed then you can just encode your encrypted data along with upto 9/10ths non-random data and achieve a speed up. In this case they are actually increasing the total bandwidth used.

      Some methods to bypass the flow control:

      * Write X 'A's followed by 1 encrypted byte. Passes a simple mathematical randomness check.

      * Encode random bytes as jpeg wavelets. Passes as an image unless they decode the image and run randomness test on that.

      * Use a shared reference file like /usr/share/dict/words and reorder the words to encode the data (use the word's original line number to pass data)

      * Interleave the data across X concurrent connections.

      These analysis programs can only slow down your encrypted data a little bit.

  3. Ubiquitous Encryption by Anonymous Coward · · Score: 5, Interesting

    It really is time to start encrypting everything from everywhere/to everywhere.

    The NSA wiretapping with the collusion of the US telecom industry is just the start.

    This technology is going to be seen as a data mining opportunity. Want to bet that some of the big data aggregators are going to start installing this technology - or paying ISPs or backbone providers for the privelege.

  4. Re:Hello, https by nahdude812 · · Score: 2, Interesting

    I smell an opportunity for someone to start selling a personal VPN service, where all your communications are encrypted, and carried across the backbone encrypted to a data center as close as possible (network topology wise) to the destination before being sent plain text across the last segment.

  5. Then they should lose common carrier status by MikeRT · · Score: 3, Interesting

    The whole point of common carrier protection should be that if they do any tampering to the content, it is assumed that they knew what was passing through their network. It should be a protection that only exists when the company is in 100% compliance. The moment they insert ads into web pages they didn't buy, rewrite an email, censor someone, etc. even if it is one group in a 100,000+ employee company, the entire company should lose common carrier status and be open to litigation from everyone who has any copyright or other type of valid complaint otherwise shielded by common carrier status.

  6. Re:In other words by josquint · · Score: 4, Interesting

    I wonder about this somewhat.

    I work for a telephone coop in their internet dept. We've been drilled about the evils of Vonage/Skype, etc cutting in to our MUCH more lucrative-than-internet-or-tv-depts for a while now.

    But, as all of our customers have access to our's and other's(namely cable) broadband. I don't know that filtering out VoIP would be a good move. We've had a few customers whine that their VOiP isnt reliable(duh) on our service. (mine seems to work just fine) So the first thing they do is go to the cable company for service(not that this makes any difference in their reliability)

    So with the cable and other non-dialtone companies, filtering VoIP causes phoe co's to loose not only an internet customer but a landline costomer as well. As we require a landline for our broadband, we stil get the best of both worlds while still providing VoIP access.

  7. 2000000 now? by Anonymous Coward · · Score: 0, Interesting

    Maybe. Damn

  8. Port 80 / HTTP tunneling by Anonymous Coward · · Score: 1, Interesting

    As a network administrator, I have to say that I don't want to spend the time/money/bother of setting up DPI, but the proliferation of services that actively try to evade standard packet filtering make it necessary. My company can't afford unlimited bandwidth, so we must prioritize out Internet traffic.

    Once upon a time we could filter and shape by port, but increasingly every new streaming/p2p/social app that comes along will probe until it finds a way to make a connection. I don't have the time to track play whack-a-mole with each user and explain why they can't stream internet radio (fine for one person, problematic for 100), video, run BitTorrent, etc.

    So, DPI is coming and will be used to regain control. I don't care about reassembling your Gmail messages, I just need an option other than "a bigger pipe".

  9. Re:Charging Content consumers by HomelessInLaJolla · · Score: 2, Interesting

    If they have the ability to know this much about the individual packets why don't they start charging individuals for improved network performance? The average workingman is paid 5 sp/day.
    The priveleged workingman is paid 7 sp/day.
    The favored workingman is paid 10 sp/day.

    The cost of a coal shovel is 100 sp.
    The cost of a coal shovel +1 is 110 sp.
    The cost of a coal shovel +2 is 120 sp.

    A coal shovel breaks after 19 days.
    A coal shovel +1 breaks after 15 days.
    A coal shovel +2 breaks after 13 days.

    The favored workingman offers loans to the priveleged workingman in amounts of 20 sp per loan, with an interest rate which causes the total repayment to be 30 sp.

    In this system the favored workingman can always afford a new shovel when it breaks and has the money to make loans to the priveleged workingman. The priveleged workingman can afford a new shovel whenever it breaks but is kept in debt by loaning money to the general workingman whose coal shovel always breaks one day before he can afford to replace it. In this fashion the general workingman is kept in a state of alarm, always needing 5 more sp, the priveleged workingman is kept on a hamster wheel, always needing to find four more general workingmen to loan money to, and the favored workingman never has a problem.
    --
    the NPG electrode was replaced with carbon blac
  10. Already done. by tacokill · · Score: 3, Interesting

    This has already been done.

    See Relakks.

    I am sure there are more.

  11. Re:In other words by arivanov · · Score: 2, Interesting

    Err...

    Anyone who actually makes investment decisions based on reak information and not on slashdot line noise have made that consideration 2 years ago.

    That was roughly the time when Ellacoya, Taz, P-Cube and their like went into trials with major telcos. Unfortunately they were all private at the time, otherwise I would have been seriously tempted to buy some stock. The telcos and ISPs that intended to deploy them have already done so. The ones that have not are looking at flexible bandwidth management and quotas as an alternative.

    In either case Vonage is screwed unless it negotiates directly with the ISP to have its packets marked correctly. I am surprised they are not openly advertising for the position of transit/peering manager while openly stating that they will double the industry average for the position (that is what I would have done).

    Nothing to see here people, move along.

    --
    Baker's Law: Misery no longer loves company. Nowadays it insists on it
    http://www.sigsegv.cx/
  12. Having developed one of these boxes by Anonymous Coward · · Score: 5, Interesting

    I worked on developing one of these boxes. Not Naurus, but a competitor (who's name starts with "P"). You are absolutely spot on. But you, and many here, are really not understanding the scale or the scope intended, or what is possible. This stuff is kept well out of the mainstream press, for good reason.

    First, it's not just ISP's and the NSA, but also Universities. U.C. Berkeley is the biggest fanboi of this stuff. Any new tech, they want. And their IT department has been all over this. Nor are they aren't the only University.

    And yes, the RIAA is promoting this stuff too. Very eagerly. And every other control freak out there.

    The next obvious step is to network these boxes across the global, to keep track of traffic in realtime. Yes, that's a jump up. But it's doable. And it will happen. That is, people will be able to keep track of what you're doing on the internet in real time.

    Also, what people aren't thinking about is the abilitiy to preserve this information. Vast storage is cheap, and getting cheaper. People are targeting saving two-years of realtime data. That's pushing things, but this is what people want. And they want to be able to preserve it longer. There's a huge amount of potential datamining there. Especially when they are able to preserve Internet traffic for longer and longer periods.

    In short, the goal is to not only be able to track your every Internet connection, and what you did, but to preserve it for years. Some folks want cradle-to-grave. While they won't get it for a while, that's the direction this stuff is headed.

    The bottom line is that encryption is one key defense. Necessary but not sufficient. Just be grateful that the PGP battle was won back in the 90's. If the battle for publically available strong cryptography had been lost then, you wouldn't be having this option. Connections are the other item. The support for obscuring this is lagging, and some cases broken. But it's still critical.

    Finally, everyone should be aware that all of these boxes are hackable. If you know why Ethereal/Wireshark was kicked out of OpenBSD, you understand what's going on. The development environments common in this industry are also prevalent here. Harried developers don't care about buffer overflows. That's a total afterthought with minimal risk in the commercial space.

    Or, to put it simply, you should in theory be able to not only detect when your traffic is being sniffed, but also be able hijack the sniffing as well.

    So in summary, yes, encryption is useful. But it's not sufficient. And there's a heck of a lot more going on in this field than people are aware of, or even thinking about.

  13. Re:Why do universities want this? by Anonymous Coward · · Score: 2, Interesting

    "I've gotten the impression that most universities aren't taking kindly to RIAAs shenanigans - well, outside of Kansas at least."

    That impression is mistaken. While the Uni's generally haven't been thrilled with the RIAA's actions, they have generally bent over in response to any RIAA action. This type of technology allows them to immediately shutdown any P2P activity, regardless of what port is being used. If the RIAA tells them to implement this, or risk a lawsuit, what do you think the majority of them are going to do?

    And if you know how this game is played, you'll know that the next step is Washington, to make this type of filtering mandatory among all ISPs. Indeed, there's been some talk of it already.

    At UCB, when this was first deployed, the very first person busted was a new hire on the IT staff. He fired up KaZaa one afternoon, and within minutes someone had a chat with him. His stunned response was basically "How did you find out?".

  14. It's actually worse than that by alispguru · · Score: 2, Interesting

    With Gmail, I know who's reading my mail. Google is - they told me so.

    With packet inspection, anyone on the internet backbone between me and Google could be reading my email - my local ISP, plus anyone they peer with.

    Granted, this is also true of standard unencrypted email...

    --

    To a Lisp hacker, XML is S-expressions in drag.