Slashdot Mirror


Flaw Found iIn Ethernet Device Drivers

Licensed2Hack writes "Security researchers have discovered a serious vulnerability that may be present in many Ethernet device drivers that is causing the devices to broadcast sensitive information over networks. Seems the device driver writers couldn't be bothered with a memset() call. Eweek has their typical (puffy, low on tech details) take on it here. Since they don't specify the OS, I'm assuming these are drivers for Windows." It's actually Linux, *BSD, and Windows.

183 of 390 comments (clear)

  1. Hah! by Anonymous Coward · · Score: 2, Funny

    At least it didn't foil my first post.

    1. Re:Hah! by Jeremiah+Cornelius · · Score: 2
      I for one am G L A D that my local ILEC decided not to deliver Ethernet "to the curb"...

      Besides, I couldn't make any sense out of BGP4 for Dummies !

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
  2. Or maybe by Anonymous Coward · · Score: 5, Informative

    the flaws are in linux drivers too. Who knows, you might even want to read the article.

    1. Re:Or maybe by packeteer · · Score: 3, Informative

      Exploitable drivers have been found for Windows, Linux, NetBSD, and a few other proprietary OS's which i would assume could mean something like Mac or Novell or OS/2... who knows really.

      --
      unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep
    2. Re:Or maybe by ottawanker · · Score: 2, Insightful

      It's pretty bad when people who reply don't read the article, but shouldn't the poster himself at least read it? Excerpt from the article:

      "The Linux, NetBSD and Microsoft Windows operating systems are known to have vulnerable link layer implementations, and it is extremely likely that other operating systems are also affected."

    3. Re:Or maybe by loply · · Score: 2

      Heck, maybe hell stop using ignorant sayings like "Seems the programmers couldnt be bothered with a memset()" and get his head out of his own arse whilst hes at RTFA.

    4. Re:Or maybe by Ashran · · Score: 3, Informative
      A link from the article has a list of vulnerable vendors.
      #
      Quote
      Microsoft Corporation Not Vulnerable 3-Jan-2003
      --

      Before you email me, remember: "There is no god!"
    5. Re:Or maybe by jericho4.0 · · Score: 2
      Where did you get that info? The cert advisory has a big list of vendors with 'uknown' beside them.

      This doesn't look like the serious flaw it was posted as.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    6. Re:Or maybe by Mithy · · Score: 2

      Shame the guy at eWeek doesn't appear to have read the CERT advisory either. Next to "Microsoft Corporation", it says: "Not vulnerable". Though the situation surrounding third-party drivers for Microsoft OSes isn't made entirely clear.

      --

      --
      "This isn't the post you're looking for. Move along."
    7. Re:Or maybe by mentin · · Score: 2
      The report at atstake has a demonstration of vulnerability using code taken from /usr/src/linux/drivers/net/atp.c with a note "atp.c is a Linux device driver for Ethernet adapters based on the RealTek RTL8002 and RTL8012 chipsets." So looks like Linux is (or was) vulnerable.

      It is a shame none of Linux vendors provided their status. I am sure CERT notified them well in advance.

      --
      MSDOS: 20+ years without remote hole in the default install
    8. Re:Or maybe by packeteer · · Score: 2

      The Windows OS itself isn't vulnerable. Vunerabilities HAVE been found though for Windows drivers of certain manufactuers. One particular company can have vulnerabilities for many different OS's. When a company writes drivers for different OS's such as Windows and Linux they can share some of the code. If that code is vulnerable then all of the drivers are also vulnerable. This is not an OS issue at all.

      --
      unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep
  3. Flaw found.... by Anonymous Coward · · Score: 3, Funny

    ...."iln" story title

  4. You assume too much by GroovBird · · Score: 3, Informative

    From the article (in case you haven't read it):

    "The Linux, NetBSD and Microsoft Windows operating systems are known to have vulnerable link layer implementations, and it is extremely likely that other operating systems are also affected."

    1. Re:You assume too much by GroovBird · · Score: 5, Informative

      In addition (I post too fast), the CERT has made available a list of vulnerable systems that they know of.
      Interesting fact: Microsoft Windows is mentioned as "not vulnerable".

    2. Re:You assume too much by nmg196 · · Score: 3, Funny

      > In addition (I post too fast)

      Don't believe you...

      You were just trying get TWO Score+5's and reap the karma...

      Blame it on packet fragmentation if you like...

      Nick...

    3. Re:You assume too much by the_mice · · Score: 5, Insightful
      Granted Windows is listed as "Not Vulnerable", but here's the MS statement regarding this issue (from the CERT advisory's vendor listing):
      Microsoft does not ship any drivers that contain the vulnerability. However, we have found samples in our documentation that, when compiled without alteration, could yield a driver that could contain this issue. We have made corrections to the samples in our documentation, and will include tests for this issue in our certification process.
      So the OS itself isn't vulnerable as it's own networking code doesn't handle Ethernet padding, but the OS vendor has in the past provided Windows NIC vendors (and hence driver developers) with documentation leading directly to this vulnerability... Sounds secure to me...
    4. Re:You assume too much by Daniel+Phillips · · Score: 3, Interesting

      Interesting fact: Microsoft Windows is mentioned as "not vulnerable".

      You mean Microsoft said they aren't vulnerable. But look at these weasel words: "However, we have found samples in our documentation that, when compiled without alteration, could yield a driver that could contain this issue." Draw your own conclusions.

      --
      Have you got your LWN subscription yet?
    5. Re:You assume too much by bastion_xx · · Score: 2

      I thought the primary reason for code samples/examples was to assist a developer in understanding how to program for a particular function? The conclusion I would draw is that in this case, Microsoft have good system level developers.

      I wonder if there are any sample code for creating Linux drivers that may also have this issue?

    6. Re:You assume too much by Kourino · · Score: 2, Insightful

      So here M$ gets look innocent and say, "It's nothing to do with us", while actually being guilty as sin for having an OS that uses loads of vulnerable drivers.

      How is MS guilty for crappy code in other people's drivers now? They're not responsible for writing drivers for every single piece of hardware someone wants to run under Microsoft Windows. That would be the responsibility of the hardware vendors. ... and like it or not (and there are bits of the Win32 API I really do dislike), not all code that comes from Microsoft is utter crap with no redeeming qualities.

      Oh, I really wish I could find a link to the Penny Arcade about "M$" right now too. :) Although I just realized I'm responding to an AC ...

    7. Re:You assume too much by Michalson · · Score: 2

      Sample code is designed to be short and easily understandable, it's rarely designed to be production code. You are supposed to learn from sample code, not copy and paste it into your production code. Anyone stupid enough to do that deserves to get fired.

      Now please, show me some (complete) sample code from any company that I *can't* rip apart for flaws.

    8. Re:You assume too much by lynx_user_abroad · · Score: 3, Insightful
      How is MS guilty for crappy code in other people's drivers now?

      Microsoft became responsible for other people's code the moment they got into the business of signing other people's code.

      If Microsoft wants me to believe that drivers which have been approved and signed by Microsoft are any more trustworthy than drivers which haven't been signed and approved by Microsoft, then Microsoft need to accept responsibility for ensuring that is the case.

      You can't say "don't use that code, I haven't approved it. Use this one instead..." and then say "well it's not my fault if the code I demand you use is broken, I didn't write it!"

      --

      The thing about things we don't know is we often don't know we don't know them.

    9. Re:You assume too much by fucksl4shd0t · · Score: 2
      Now please, show me some (complete) sample code from any company that I *can't* rip apart for flaws.
      #include "stdio.h"

      int main(void)
      {
      printf("Hello, World!\n");
      }

      This sample code is pulled from any company's literature that describes basic structure of a C/C++ application. (Ok, not all C++ books include this exact code, but I've seen it in a few of them)

      --
      Like what I said? You might like my music
    10. Re:You assume too much by Blkdeath · · Score: 2
      Microsoft is not responsible for what 3rd party vendors produce. In order to be responsible in any way, they would have to implement a policy where by Microsoft inspects all source code for anything made for Windows, and only then "allow" it to be shipped.

      Interesting; my threading layout had this post displayed right above yours. Between this and the "Don't trust us as a source of secure activex controls" fiasco - how are we expected to trust code they're certifying?

      Me thinks it's time Microsoft got out of the signing business altogether. It's even giving them a bad rap.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    11. Re:You assume too much by Anonymous Coward · · Score: 2, Informative

      You failed to return a value at the end if main() even though it is declared to return an int.

    12. Re:You assume too much by fucksl4shd0t · · Score: 2

      Hey dude, go reread my post, and then I'll take out my "GNU C++" book and show you where in the first chapter that listing appears. :)

      Then I'll take out my Borland C++ Builder in 21 days book and show you the same listing in the first chapter.

      Then I'll take out my STL book and show you the same listing in the second chapter.

      I know what the damn language is, and I know what shows up in the damn books. Just because that listing appears in a C++ book doesn't mean it's C++, and I don't recall saying it was.

      --
      Like what I said? You might like my music
    13. Re:You assume too much by pc486 · · Score: 2

      My Xircom CardBus Ethernet II (PC card) is vunerable on Windows2000 with the latest driver. So yes, Windows, more like the individual NIC drivers, is vunerable.

      Here is the padding from one ICMP reply (1 byte data
      was used in the ICMP echo request).

      cf 1d 3e 59 0c 09 00 08 09 0a 0b 0c 0d 0e 0f 10 11

    14. Re:You assume too much by RatBastard · · Score: 2

      Considering that MS' TCP/IP stack is an implentation of the BSD stack, the fault does not lie with MS, but with the BSD stack. It is also important to note that MS fixed the problem in their sample code and said so.

      I don't like Microsoft any more than most poeple, but can we please keep the MS bashing to valid points? Whenever you pound MS for spurious reasons you weaken any argument you may have against them. Why should anyone place any merit in your valid gripes if you spew so many without any merit?

      --
      Boobies never hurt anyone. - Sherry Glaser.
  5. Read the f*cking article. by Alranor · · Score: 4, Informative
    Since they don't specify the OS

    Straight from the article
    "The Linux, NetBSD and Microsoft Windows operating systems are known to have vulnerable link layer implementations, and it is extremely likely that other operating systems are also affected."


    OK, it's slashdot, so we expect people to post comments without reading the article, but it's a little ridiculous that the submitter didn't even bother.
    1. Re:Read the f*cking article. by Alranor · · Score: 2

      Yup, when I saw that I did expect to lose karma on it, but hey, it's not my fault that the mods chose to favour me today :)

      I could also point out that it's a little r i diculous that you misspelt a word you were quoting from my post, but that would be a bit pedantic, so I won't bother. :)

    2. Re:Read the f*cking article. by fulgan · · Score: 2, Informative

      This is even MORE stupid since the REAL advisory this article is based on specifically states that windows doesn't ship with any vulnerable drivers.

      The only point of interrogation is that SAMPLES that when compiled without changes, will have the reported problem (http://www.kb.cert.org/vuls/id/JPLA-5BGP7V)

    3. Re:Read the f*cking article. by Drakonian · · Score: 3, Insightful

      Good point. Personally, I think there is something fundamentally broken with the whole system. To have your story submitted, you have to submit it fast (Even though this news is actually 3 days old). To have your post modded up to +5 area it has to be very fast - i.e. too fast to actually read the article. Does this seem broken to anyone else?

      --
      Random is the New Order.
  6. Flaw Found iIn Slashdot Editors by Anonymous Coward · · Score: 5, Funny

    Anonymous Coward writes "English speakers have discovered a serious flaw that may be present in many Slashdot editors that is causing the devices to broadcast poor journalism over networks. Seems the editors couldn't be bothered with a Spellcheck call. Slashdot trolls have their typical (puffy, low on tech details) take on it here. Since a fault was found, Slashdot is assuming the problem is with Windows."

    1. Re:Flaw Found iIn Slashdot Editors by edbarrett · · Score: 2, Funny

      iNo, iSee, iThis iIs iAnother iOf iThe iSlashdot iStory iAdvertisements iFor iApple.

  7. well by REBloomfield · · Score: 5, Interesting
    lets hope this isn't globally exploitable, as I can't imagine every manufacturer of every card is going to fix this....

    One wonders whether it would be possible to build a fix into the operating system, or would that be too great an abstraction?

    1. Re:well by Ivan+Raikov · · Score: 3, Informative

      lets hope this isn't globally exploitable, as I can't imagine every manufacturer of every card is going to fix this....

      One wonders whether it would be possible to build a fix into the operating system, or would that be too great an abstraction?


      Well, all you need to do is set your firewall to drop all ICMP packets. Theoretically, someone could exploit this over TCP, but because TCP allows piggybacking, and because it generally has more overhead than simple ICMP packets, it's unlikely that you can easily trick a remote system to respond with a TCP packet that's less than 48 bytes.

      And by the way, if you use Mandrake Linux and the firewall software that ships with it, Shorewall (basically a collection of iptables rules), ICMP packets are already being dropped when they reach your system.

    2. Re:well by Ivan+Raikov · · Score: 3, Informative

      What I wrote was wrong. ICMP is a necessary part of the IP protocol, so you can't really block all ICMP message. My firewall only drops ICMP Echo and Echo Reply packets, which are used by ping.

    3. Re:well by labratuk · · Score: 3, Insightful
      ...I can't imagine every manufacturer of every card is going to fix this....


      And hence one of the greatnesses of open source. We don't have to wait for them to do it. Someone can go in and clear up the issue in all the Ethernet drivers just like that. No muss, no fuss. Fixed drivers.

      --
      Malike Bamiyi wanted my assistance.
    4. Re:well by Corgha · · Score: 3, Informative
      It's also wrong because this bug is in ethernet frame padding, not in IP padding. Your firewall shouldn't be leaking that layer 2 stuff anyway -- this is only exploitable on the local network. Now, if your firewall also has this bug, it could leak data to machines on the network segment of its external interface, but that's another matter, and an attacker a few hops away isn't likely to get anything useful.

      From the initial @stake advisory:
      It is important to note that the attacker must be on the same ethernet network as the vulnerable machine to receive the ethernet frames.
    5. Re:well by indiigo · · Score: 2

      Read up on how the OSI model works and then you'll have your answerg{!}g

      --
      fslg503-985-8686503-985-8686503-985-8686503-985-86 8650 3-985-fdsg8686503-985-8686503-985-8686503-9
    6. Re:well by evilviper · · Score: 2
      I can't imagine every manufacturer of every card is going to fix this....

      I hate the fact that there are a million different chipsets for every device. For network cards, I refuse to buy anything that isn't based on the TULIP chipset (which MANY are). The Tulip chipset has great performance, is very inexpensive (I can buy Linksys LNE100s in unlimited quantities at my local Best Buy for $15), and I have yet to experience a single one that doesn't work when I get it, and never misses a packet for years so far.

      So, screw the vendors that don't want to write good drivers, and screw the vendors that want to sell their new chip for $1 less. I've standardized my systems (better than any Mac fanatic can claim theirs is) and I think everyone should do the same.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  8. CERT link by Jan-Pascal · · Score: 4, Informative

    You can find the CERT's take on this here:
    http://www.kb.cert.org/vuls/id/412115.

  9. common fault by oliverthered · · Score: 5, Informative

    Lots of applications have the same fault, e.g. Microsoft Access doesn't appear to memset so you get what ever happens to be kicking around in memory written to emptyness in the database.
    Also Access doesn't clean out deleted data.

    --
    thank God the internet isn't a human right.
    1. Re:common fault by PhilHibbs · · Score: 4, Interesting

      I was browsing around a Delphi executable file, and found a hod load of HTML that I had been working on earlier that day. The thing that pissed me off most was that all that junk that could have been zeros made the file less compressable than if it were, and we were distributing software over 19.2kbps serial connections at the time.

    2. Re:common fault by jeremyp · · Score: 3, Informative

      The Word problem is far worse than that. The "fast save" facility just tacks amendments onto the end of the original document. you can often find earlier drafts of documents (or even completely different documents) by doing strings on them.

      Nowadays I send all docs out in pdf format.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
  10. Not Exactly by starX · · Score: 5, Insightful

    The Cert advisory says that MS doesn't ship any drivers with this vulnerability. This is a lot different from saying that MS systems are completely uneffected. We're going to have all double check against the actual driver being used by the system (when this list is complete of course) to find out if we are particularly affected by this.

  11. I can read! by 1010011010 · · Score: 5, Interesting

    "This information leakage vulnerability is trivial to exploit and has potentially devastating consequences. Several different variants of this implementation flaw result in this vulnerability," the @stake researchers wrote in their paper on the flaw, released Monday. "The Linux, NetBSD and Microsoft Windows operating systems are known to have vulnerable link layer implementations, and it is extremely likely that other operating systems are also affected."

    The most likely exploitation of the vulnerability would be for an attacker to send ICMP (Internet Control Messaging Protocol) echo requests to a vulnerable machine. The machine would then send back replies containing portions of the device's memory. In tests, the researchers found that most often the pad data sent in error contains portions of network traffic that the vulnerable device is handling.
    ... how much? The pad of older data in a 46 byte header can't contain a lot of data.
    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    1. Re:I can read! by Raphael · · Score: 5, Informative
      The pad of older data in a 46 byte header can't contain a lot of data.

      In addition, you also have to be able to get this data. As mentioned by mmol_6453, you can only get the Ethernet frames if you are on the same LAN or if the victim is tunneling the Ethernet frames through a VPN. If there is an IP router between you and the victim, you will probably not be able to get the leaked bytes (and I am glad to see that several routers listed in the CERT advisory are not vulnerable).

      The advisory says: "the leaked information may originate from dynamic kernel memory, from static system memory allocated to the device driver, or from a hardware buffer located on the network interface card.". If you are using a broadcast Ethernet medium, then the leaked information collected from the static memory of the device driver or from the hardware buffer on the NIC will probably be much less than what could be collected by running a packet sniffer on the same Ethernet segment, because the leaked bytes will come from previous packets. However, this is different if you are running a switched Ethernet network (not broadcast) because the packet sniffers are less useful in this case.

      As I see it, the only real potential for information leakage comes from the device drivers that are leaking bytes from the dynamically allocated kernel memory. Then you could get almost anything from that machine, not only something that is supposed to be sent over the network. On the other hand, it is probably very hard to predict what will be leaked.

      It would be interesting if the advisory could give a list of operating systems that are leaking random information from the kernel versus those that are leaking information from the previous packets (in the driver or in the NIC). I would be more worried about the former than the latter.

      --
      -Raphaël
    2. Re:I can read! by fucksl4shd0t · · Score: 5, Insightful

      On top of this, and everybody seems to be ignoring this basic fact, but after you get up to 18 bytes of information out of an ethernet packet, you *still* have to chain enough of these together to be a useful chunk of data. The problem drops significantly when you add more machines to the network, because it gets steadily harder and harder to put them together in order from the same machine. (Yeah, I know, you can use the mac or IP address to chain them together, but ethernet allows out-of-order packet delivery)

      --
      Like what I said? You might like my music
    3. Re:I can read! by thogard · · Score: 5, Interesting

      I can sniff most low end cicso switches....
      The 2924xl and 2950 allow you to block any mac address except broadcast addresses. So if you you flood the network with packets with one broadcast address and one real mac address you overflow its table it goes into a nice bridge mode. With a decent box it takes nearly two whole minutes to crack a single vendors mac codes.

      As long as US compaines keep selling out to the short term stock price and sending critical stuff off 1/2 way around the world to be designed by people with no clue about real security, their products are going to be crap and full of holes. At one point I could trust Cisco and Sun but now they are almost at the level of most beige box builders but with them I know who I can go visit to get my money back.

      All the new gear I've been buying is Kiwi designed stuff made by ATI. After a decade of dealing with cisco, I can't recomend any of their newer gear. the Current cisco mac address overflow was fixed by real engineers back in 1993. I'm not sure what kind of idiots they get to write their current code since bug history means nothing to them.

      Why don't I put this on bugtraq and get it fixed? Its simple, The idiots that put the bug together have good jobs and the good people that know this stuff don't because of cost cutting.

    4. Re:I can read! by quantum+bit · · Score: 2

      I can sniff most low end cicso switches....
      The 2924xl and 2950 allow you to block any mac address except broadcast addresses. So if you you flood the network with packets with one broadcast address and one real mac address you overflow its table it goes into a nice bridge mode. With a decent box it takes nearly two whole minutes to crack a single vendors mac codes.


      That's because packet switching is intended to be a performance optimization, not a security measure . Ethernet, even switched ethernet does not guarantee that your packets are not sniffed. On routed networks, it's assumed that they will be seen at a minumum by the routers that the traffic goes through. If your application protocol depends on the lower levels being secure and unsniffable, then your application protocol is broken .

      If anything, I think Cisco is doing the right thing by ensuring that the failure mode doesn't disrupt the network. Otherwise, filling up the MAC table would lead to a quick and easy DoS attack.

      Don't mean to sound harsh but people need to realize that the RFCs that define these protocols (Ethernet/IP) explicitly state that security is the responsibility of the upper layers. That's why IPSEC was invented. I've seen many networks where the network "engineer" is relying on VLANs for a "secure" subnet. VLANs are another feature that was designed for convenience (segmenting broadcast domains for performance reasons) rather than security. Despite several band-aids to try to make VLANs security-conscious, it's still a bad idea to depend on them for that purpose.

    5. Re:I can read! by karlm · · Score: 2
      You may not need to chain several greoups of captured bytes together. You can use them as part of a dictionary for a hybrid password cracker.

      Better yet, if you've got a pretty good idea that you have a password fragment (for instance, it's preceded by a known username and a colon), you've greatly reduced the password cracking effort. If you have a strong password, leaking 3 characters makes it about 300,000 times easier to crack.

      --
      Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
  12. Not a hard fix for open source by Arethan · · Score: 3, Insightful

    If this bugs you, just make a change to the link layer drivers. Pad with nuls again, like it is supposed to, rather than garbage data. The downside to this is there will be a speed hit, since you are wasting time fscking with small packets to make sure they are secured. But, given the speed of modern systems vs the speed of ethernet, I highly doubt you'll notice.

    Honestly, the big problem here is going to be MS. I doubt they'll introduce a fix at all.

    1. Re:Not a hard fix for open source by Richard_at_work · · Score: 3, Informative

      Read the CERT advisory:

      Microsoft Corporation Not Vulnerable 3-Jan-2003

      So are they such the big problem you thought they were going to be?

    2. Re:Not a hard fix for open source by AvidLinuxUser · · Score: 2, Informative

      Microsoft does not ship any drivers that contain the vulnerability. However, we have found samples in our documentation that, when compiled without alteration, could yield a driver that could contain this issue. We have made corrections to the samples in our documentation, and will include tests for this issue in our certification process. From Cert Site...

  13. SSH by mmol_6453 · · Score: 3, Insightful

    It could be enough for someone to snag the SSH private keys for a connection.

    Of course, since you have to read ethernet packets, they'd either be listening to traffic on a VPN, or they'd be on their target's LAN.

    More reasons to be afraid of your company's BOFH.

    --
    What's this Submit thingy do?
    1. Re:SSH by 42forty-two42 · · Score: 5, Informative

      It can't sniff SSH keys from that; SSH is secure even if you sniff *all* packets.

    2. Re:SSH by thing12 · · Score: 5, Informative
      It could be enough for someone to snag the SSH private keys for a connection.

      No, the SSH private keys are never in an ethernet packet to begin with. You can only get information from the target system that it a) has already sent somewhere else; b) got from a pool of free memory and then sent you packet with fewer than 46 bytes of data in it (i.e. ICMP). I find it hard to believe that this is remotely useful since you only get up to 46 bytes - so your ssh key would have to be in a block of memory that had been deallocated back to the kernel memory pool - and the ethernet driver has to be lucky enough to then allocate that memory when it needed more buffer. But why would it need to allocate more buffer when all you're asking from it is a packet that contains less than 46 bytes?

      The idea that it's a useful exploit from that standpoint that you can read a remote systems memory is a bit preposterous. It all seems like it requires a coincidence on the order of planetary alignment for any valuable information to be extracted from this bug. Yes, you can grab parts of previously sent packets - but in a world where all sensitive information is encrypted prior to transmission this flaw is just moot. Fix it, move on, nothing to see here.

    3. Re:SSH by fucksl4shd0t · · Score: 2

      Be nice to us and we'll be nice to you.

      If I remember my childhood and early adulthood correctly, people have never been nice to geeks. Should we hold a grudge?

      --
      Like what I said? You might like my music
    4. Re:SSH by Daniel+Phillips · · Score: 4, Insightful

      It could be enough for someone to snag the SSH private keys for a connection.

      The chance of fishing a usable key out of 256 Meg of memory soup, given a random look at a handful of leaking bytes in each packet, is slim indeed. The attacker has no way to control which bytes leak and doesn't know where in memory they came from. This is nothing remotely as serious as a buffer overflow, where the attacker gets to choose which bytes overflow into executable memory, and thus can exercise a great deal of control. Still, by sitting and watching long enough, maybe, just maybe the attacker will be able to piece together something useful.

      Now, this is where Linux, BSD et al really show show their strength: this driver leak either has already been patched (sorry, I'm too lazy to check the change logs just now) or will be by the end of the day, and the patched kernel will be immediately available for download. Or I can get the patch and apply it myself if I'm in a panic (which I'm not for the above reasons).

      Microsoft on the other hand has to round up dozens of vendors and get them all to apply fixes, and there will be stragglers. Then there is the question of how to get the patches onto customer's machines. It's a safe bet that the majority of home users will never patch this vulnerability, so if attackers need plenty of time to exploit the leak on Windows, they've got it.

      Of course, Microsoft's favored solution to the latter problem is to take the liberty of patching your system for you, having required you to agree to this when you installed. You must then trust Microsof not to go further and install additional, unasked-for code, for example, something to send back all your web search terms to Microsoft HQ. I don't know about you, but for me, but that's too high an asking price for automatic security updates.

      --
      Have you got your LWN subscription yet?
    5. Re:SSH by Tom · · Score: 5, Informative

      Wrong topic. This isn't about sniffing the SSH traffic, it's about sniffing the memory of the machine, which can well contain the key.
      Your hit-chance is pretty bad, though.

      --
      Assorted stuff I do sometimes: Lemuria.org
    6. Re:SSH by ryanvm · · Score: 2

      It could be enough for someone to snag the SSH private keys for a connection.

      How do you figure? Why would someone's NIC be broadcasting their private SSH key in the first place? It can only read information that was transmitted earlier.

    7. Re:SSH by Tom7 · · Score: 2

      I wouldn't say SSH1 is "easily cracked". All ettercap does is a man-in-the-middle attack, something which the default configuration of openssh, at least, provides a huge warning about.

      That said, there have been a number of much worse bugs in openssh and other ssh implementations, mostly because they wrote them in C!

    8. Re:SSH by Anonymous Coward · · Score: 2, Informative

      up to 46 bytes of memory, which would usually be statically allocated, and reused for each packet, meaning that only the first packet would have random data, the rest would have data that was already transferred by the same card (or at least same driver = same brand of card).

    9. Re:SSH by fucksl4shd0t · · Score: 2

      I think that's his point exactly. The alpha geek in your company prolly had a miserable life at the hands of jocks and soshes...the kind of people who grow up to be company execs and marketdroids. BE NICE to your SysAdmin. Otherwise you might find yourself in a world of hurt, because s/he still has scores to settle.

      Here's some Voltaire at you:

      Perhaps that's why the world we live in NOW is the way it is? Hint: Bill Gates was probably NOT a jock.

      --
      Like what I said? You might like my music
    10. Re:SSH by mmol_6453 · · Score: 2

      As other people have pointed out, I didn't know what I was talking about. I forgot that SSH transfered a public key from server to client, then the client would send a public key, encrypted, to the server.

      --
      What's this Submit thingy do?
    11. Re:SSH by WolfWithoutAClause · · Score: 2
      No, the SSH private keys are never in an ethernet packet to begin with.

      Actually they may end up in one, but it depends on the device driver and the SSH implementation, for, according to the CERT announcement:

      "Depending upon the implementation of an affected device driver, the leaked information may originate from dynamic kernel memory, from static system memory allocated to the device driver, or from a hardware buffer located on the network interface card."

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
    12. Re:SSH by ehiris · · Score: 3, Informative

      It reads the static memory allocated to the driver or other dynamic kernel memory. It is highly unlikely for the full SSH private key to be there but there is a small chance since the threads are being run in a pretty close time frame apart. Actually it also depends how large your key is and how much data is in the ICMP package. It is 8* more likely to retrieve a 128 bit SSL private key then there is to retrieve an 1024 bit SSH private key.
      I'd be more worried about secure credit card transactions on web servers that don't get patched soon and don't renew their private keys.

    13. Re:SSH by chialea · · Score: 2

      Hi Tom.

      In addition to the implementation errors, of which we've seen flocks, there is some interesting information that can be gleaned from watching the timing of the packets. This however, is not exactly easy to fix in a robust and efficent manner.

      Lea

  14. Details from @stake by Unfallen · · Score: 5, Informative
    1. Re:Details from @stake by 1010011010 · · Score: 5, Informative
      So, @Stake is just figuring this out, eh?

      It is possible to read parts of a remote machines memory. To be specific, it would have to be memory recently freed/swapped to disk. Consider this for example:
      int main(int argc, char **argv[], char **envp[])
      {
      char *ptr=0; /* We take a rather large chunk of memory and fill it with A's */
      int val, i;

      while(1) {
      sleep(1);
      val = 30000000; // ~ 30 M
      ptr = (char *)malloc(val);

      memset(ptr, 0x41, val-1);
      free(ptr);
      }
      }
      And then we modify nmap(1) (Around line 687) so it only transmits the first fragment out of a fragmented scan. This will illict a ICMP TTL Exceeded message. Due to Linux including a lot more of the packet than most other OS's, we have around 20 bytes to read. From memory, Solaris includes a little bit extra on ICMP messages.

      Let's look at a sniffer trace from snort(2): (Ignore the time stamps, as the machine this was originally done had a date in 1994...)

      12/11-00:34:34.290903 127.0.0.1 -> 127.0.0.1
      ICMP TTL:255 TOS:0xC0 ID:29812
      TTL EXCEEDED
      00 00 00 00 45 00 00 24 A2 15 20 00 3E 06 BC BC ....E..$.. .>...
      7F 00 00 01 7F 00 00 01 E1 C1 01 91 FB 73 6B E2 .............sk.
      00 00 00 00 50 02 08 00 41 41 41 41 41 41 41 41 ....P...AAAAAAAA
      41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAA

      12/11-01:02:30.170720 127.0.0.1 -> 127.0.0.1
      CMP TTL:255 TOS:0xC0 ID:31185
      TTL EXCEEDED
      00 00 00 00 45 00 00 24 32 25 20 00 3B 06 2F AD ....E..$2% .;./.
      7F 00 00 01 7F 00 00 01 AA 1E 01 11 50 FE C6 45 ............P..E
      00 00 00 00 50 02 08 00 41 41 41 41 41 41 41 41 ....P...AAAAAAAA
      41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAA

      Also - to prove this is not Snort's fault I included a tcpdump(3) log.

      01:06:02.640246 lo < 127.0.0.1 > 127.0.0.1: icmp: ip reassembly time exceeded [tos 0xc0]
      45c0 0054 7b85 0000 ff01 4161 7f00 0001
      7f00 0001 0b01 77a3 0000 0000 4500 0024
      d3e5 2000 3306 95ec 7f00 0001 7f00 0001
      c027 055a 5fa5 73a5 0000 0000 5002 0800
      4141 4141 4141 4141 4141 4141 4141 4141

      AFFECTED:
      I assume it would be any OS that includes more than the ip addresses/ports.

      USAGES:
      The ramifications from this could be great. You may get fragments of the shadow file, various plaintext passwords (greatly depends...), pieces of code, urls, random memory.

      One specific use is for this could be identifying the endianness of a remote machine because of the addresses are in memory. (Reading from Linux Magazine November 2001, page 50, you have 0xef* for the stack on a big endian system as opposed to the 0xbf* on little endian. (linux-wise)).

      FIX:
      hrmm.... well.
      • Locking memory for important stuff (passwords etc.). I've forgotten the call to do that but it is possible. This will prevent swapping to disk which might make it better.
      • Modifying the kernel so in its idle loop (or whatever) it wipes some (unused!) memory. Could lead to a race though...
      • A small program to continues malloc() / zero / free() stuff. A little like the program above, but zeroing it instead. (You could always take the offensive stand by filling it with decoy data... that's left to the reader to implement. ;)
      • Make the network code zero out the packet before sending it. This would slow it down though, and make it even more obvious that you are running linux.
      • Filter out various icmp error messages, but as usual that breaks everything.
      ... from January, 2002.
      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    2. Re:Details from @stake by ostiguy · · Score: 2

      So what?

      Disclaimer - I have no coding skills whatsover, but happened to have read the @stake thing two days ago.

      You linked to a piece that is almost 1 year old. In your link, the guy proposes 4 solutions. Nearly 1 year later, @stake does some research, and finds > 20 linux drivers that still exhibit the problem. So, it is still a vulnerability / information leakage problem, regardless of past research in the subject - although you pointed out that people thought about it= no one has done anything, and @stake seems to believe that minor driver code tweaks can resolve the issue, as opposed to rejigging kernel mem operations ("could lead to a race though..." is BAD).

      ostiguy

  15. Your computer is broadcasting sensitive info ! by FullClip · · Score: 5, Funny

    Oh my God, they were right all along ;)

  16. deja vu..... by taviso · · Score: 3, Informative

    here is a bugtraq thread from a year ago, describing a similar sounding problem...

    --
    ex$$
    1. Re:deja vu..... by Russ+Nelson · · Score: 3, Informative

      a year ago?? You're kidding. This problem has been well-known for at least fifteen years. But given that passwords have been floating around in the clear (telnet, pop3, imap), why bother securing random contents of memory? Remember, you've got to be on the same Ethernet to exploit this.
      -russ

      --
      Don't piss off The Angry Economist
  17. Slow newsday for eweek then. by Anonymous Coward · · Score: 3, Interesting

    Just tested this with Ethereal on W2K.

    The command 'ping -n 10 -l 1472 ' sends a packet that's padded with 'abcd...uvwabcd...uvwabcd'.

    The echo reply is padded with the same characters, apparently just pulled from the request and stuck in the reply. So far I've tried pinging W2K, HPUX, a Cisco router, and a Debian box. All return the contents of the initial request as padding.

    Is there more to replicating this than they let on? Or are they just full of poop?

    1. Re:Slow newsday for eweek then. by sboyko · · Score: 3, Informative

      You can't use ping, because ping's job is to echo back what you sent. It should fill the packet.

      http://www.ietf.org/rfc/rfc0792.txt?number=0792

      --
      SCO, Microsoft, P2P, what's your hot button?
    2. Re:Slow newsday for eweek then. by gclef · · Score: 5, Informative

      Read the advisory. The problem they're highlighting involves breaking the standard a bit.

      What you do is send an ethernet frame that is too small by the standard's requirements. The reply will come back padded to meet the minimum size requirement. Where the padding comes from is apparently the problem...apparently it's just malloc'd, not cleared in any way.

      This means, for one thing, that you have to be on the local LAN with your target, since any routing of the packet will re-write the ethernet header, blowing away your sneakiness. It also means that standard ping won't do. You have to be able to break the rules for ethernet to see the effect.

    3. Re:Slow newsday for eweek then. by Russ+Nelson · · Score: 2

      When a packet is routed, there is no minimum Ethernet size involved, so the leaked data is not sent. That's not exactly what you said.
      -russ

      --
      Don't piss off The Angry Economist
    4. Re:Slow newsday for eweek then. by gclef · · Score: 2
      Not true. RFC 894 defines the minimum frame size for IP over Ethernet. It states:
      The minimum length of the data field of a packet sent over an Ethernet is 46 octets. If necessary, the data field should be padded (with octets of zero) to meet the Ethernet minimum frame size.

      Any device that's building Ethernet frames should follow the spec, and pad out packets to their proper size. So, if you send out an under-size packet that has to be routed, you'll get unpredictable results...1) your router may properly pad it with zeros, which destroys your attack...or 2) the router may give you bits of its memory, which isn't what the advisory was about, but could be interesting on its own.

    5. Re:Slow newsday for eweek then. by Russ+Nelson · · Score: 2

      WTF?? Packets that go over HDLC or PPP have no minimum frame size. When a packet gets routed, there are no "extra" bits. So this attack only works if you're on the same LAN.
      -russ

      --
      Don't piss off The Angry Economist
    6. Re:Slow newsday for eweek then. by gclef · · Score: 2

      I think we're talking past each other.

      I'm assuming that the packets will traverse Ethernet at some point in their trip. For most networks, this is a fairly safe assumption. At the point where it moves onto the Ethernet segment the packet will be padded to the minimum size, and that will happen before it hits any server at the other end.

    7. Re:Slow newsday for eweek then. by Russ+Nelson · · Score: 2

      where it moves onto the Ethernet segment the packet will be padded to the minimum size

      Yes, and if you're not ON that network, then you'll have no access to those bits. This attack only works if you have failed to secure your physical plant.
      -russ

      --
      Don't piss off The Angry Economist
  18. Or maybe by forged · · Score: 2

    or Cisco or every other router/switch vendor...

  19. OpenBSD by Talisman · · Score: 3, Funny

    Now OpenBSD will have to change their tagline, again.

    Only one remote hole in the default install, in more than 7 years! Oh yeah, and 1 hole embedded in the Ethernet dri...

    "Shit. We ran out of space on the CD cover."

    Talisman

    Wanna get pissed?

    --

    "Study your math, kids. Key to the universe." -The Archangel Gabriel
  20. Why is this "devastating"? by Dwonis · · Score: 3, Insightful

    Why is this "devastating"? People can sniff ethernet networks anyway? People don't rely solely on a switch for your network security, right?? (Who am I kidding? Of course someone does. Sigh.)

    1. Re:Why is this "devastating"? by gclef · · Score: 2

      read the advisory.

      This has nothing to do with sniffing your network. This has to do with your machine allowing an attacker read (admittedly small) segments of memory out of your system over the network. and no, a switch won't help anyway, since the whole idea is to ping the target, and look at its response.

    2. Re:Why is this "devastating"? by Dwonis · · Score: 2
      Oh, I think I get it. If you had part of a PGP key in memory, then, later, that memory was used for the ethernet "frame buffer", then it might be leaked over the network.

      It's still not a huge problem, since this attack can already be carried out locally (since malloc() doesn't clear memory), but I guess it does make things worse.

      I'd hardly call it "devastating", though. Since most secure applications clear their memory before freeing it (I would hope).

  21. Slashdotted your credibility-and everyone sees it by somethingwicked · · Score: 5, Interesting
    "Since they don't specify the OS, I'm assuming these are drivers for Windows."

    Funny, I am careful about checking my facts, and I am assuming that only 5 people will read my post. I would hope I would put a LITTLE more effort into my fact checking tho if I thought it was going to get 1,000,000 hits.

    Since the poster and the editors don't check their facts, I am assuming they don't.

    Slashdot is the first site I hit for tech info. And typically, while exagerrated, the attacks on MS have basis at least.

    But an ASSUMPTION like above about "Well, there's a problem, it must be Windows!" just makes my ears perk up immediately and want to check the facts. Why doesn't it for the Slashdot editors?

    WHY would you assume that? Just from the blurb the poster included it immediately seems the kind of oversight that would have the POTENTIAL at least to affect multiple systems.

    And yes, I realize that Windows drivers written by third-parties have been targetted, I find it amazingly amusing the native Windows drivers have been determined not to have this issue

    --

    ---"What did I say that sounded like 'Tell me about your day?'"---

  22. @stake Advisory by semaj · · Score: 2

    There actual advisory from @stake that the article quotes can be found here - it's got a few more technical details and code fragments from the Linux kernel, but there's not really much else to say.

    It also shows sample frame captures illustrating leakage of HTTP traffic.

    --
    Meep meep
  23. Flaw Found iIn Slashdot News Title by Satoshi+Harada · · Score: 4, Funny

    At least it isn't a dupe...

    --
    Error: .Sig fault
    1. Re:Flaw Found iIn Slashdot News Title by MullerMn · · Score: 2

      At least it isn't a dupe...

      Give it time.

    2. Re:Flaw Found iIn Slashdot News Title by PunchMonkey · · Score: 3, Funny

      At least it isn't a dupe...

      Just give it another 8 hours or so ;-)

      --
      I'll have something intelligent to add one of these days...
  24. Good gods, RTFA by Kourino · · Score: 2, Insightful

    The article submitters now can't be bothered to read the articles? You know, the bit in the article where it says "The Linux, NetBSD and Microsoft Windows operating systems are known to have vulnerable link layer implementations, and it is extremely likely that other operating systems are also affected."!?

    Back to more important issues, like the actual content of the article ... I'm reading linux/net right now, anyone have any definite answers, and could point me to (say) source for where we do do this?

  25. Read between the lines... by leonbrooks · · Score: 2

    ...of what Microsoft actually had to say on the topic and bet your butt that some card manufacturers based their drivers on the flawed examples. In short, as usual, many Windows systems are vulnerable and Microsoft are duckshovelling again, or should I say `as always'? Dollars to doughnuts Windows does this on other layers as well. Still, not as bad as dear old RSTS, where reading the NL: (null) device got you whatever entire disk block was last read by anyone on the system, and the password file was read often.

    --
    Got time? Spend some of it coding or testing
  26. Oh god, lets hype it all up by Anonymous Coward · · Score: 5, Insightful

    Great. I don't mean to sound like a troll, but @stake is really stretching for publicity here. 46 bytes? Do you realize how small the padding is? Yes, it's enough for a password, but keep in mind, that padding being sent out is transmitted from OLD FRAMES. These items have been transmitted before. Guess what kids? If you observe secure computing practices, such as using a encrypted login method (ssh comes to mind) and you mind your standard p's and q's, this problem should never be a PROBLEM. I am sorry, but as a professional that researches this stuff, I have to rate this vulnerability as a "really really low" and keep plugging on. In a perfect world, we would grab from urandom/random/null but this isn't a perfect world. Lets focus on remote root compromises, remote "system/admin" compromises, and lets also focus on getting IIS away from the industry. These are the REAL problems. Someone wake me up when @stake has a real advisory to give, something excellent that we are used to seeing from them, besides this trivial fluff they are going to over-hype.

    Mod me however you want, I'm a coward to /. but this will be the same position I give the Fortune 500 company I work for. /me wonders if my VP will mod me "troll" or "flamebait" =P

    1. Re:Oh god, lets hype it all up by esarjeant · · Score: 2

      Assuming the padding is coming from other frames on the same ethernet device, then it really seems unlikely that this is a security hole at all. The data has already been transmitted in a properly sequenced form, it would have been a lot easier to pickoff the data by sniffing the other transmission.

      Now, if the padding is the result of a semi-random memory location getting written to the end of your packets then that can be considered a fairly significant risk. Another posting on /. seemed to suggest this as a possibility, but based on the CERT advisory I really don't see any evidence of this.

      What am I missing here? If we could stop quibbling over the how-much-MS-sucks-today factor maybe we could understand the true scope/nature of this problem. If there really isn't a problem, then perhaps it doesn't belong on CERT.

      --

      Eric Sarjeant
      eric[@]sarjeant.com

    2. Re:Oh god, lets hype it all up by Skapare · · Score: 2

      Modern operating systems juggle data between network stack layers using a buffering systems that usually leaves data in the same memory location once it is copied from virtual memory. If said buffer is allocated in a small space, and if the final push of that data into the ethernet hardware does not respect that small space, then this is the equivalent of a buffer overflow, except that it is reading beyond the buffer instead of writing. These being buffers in the network stack, and thus in the kernel in most systems, what you will most likely get is whatever follows that buffer in memory. Most likely that will be whatever data is in the same memory pool. That means it will be data the kernel itself is manipulating that requires similar allocation strategy as the network stack buffers. Most likely it will be data from other network stack buffers. Some of that data will be buffer pointers (not much use) or other packet data (in or out). In a modern switched LAN, sniffing is hard. To the machine getting these ethernet frames, which has to be in the same LAN, that's like being able to do a small bit of sniffing, but that the sniffing may include bits of kernel memory that were never part of packets, depending on the way the memory allocation in that kernel is handled.

      I would agree the vulnerability is really really low. One reason for this is that most likely this memory will not include any virtual process space memory, since the allocation strategies are different. Only when a whole page is reclassified from being used for virtual memory to being used as allocation for small buffers, will there be any exposure of virtual memory from a process. And many programs that deal with sensitive information are already doing things like locking pages that contain clear passwords (to prevent them from ever reaching swap space) and actually clearing those fields when done.

      In many cases the buffer location involved is in the ethernet device hardware itself. The driver would copy less than 46 bytes, but set the length to the minimum 46 and update the write queue registers to include it. Now the data sent is whatever was in the hardware memory. This won't expose kernel memory, but it can expose network transmitted data that would otherwise not been sniffable, to the one next hop machine it's destined to (assuming a switched LAN ... a hubbed LAN already has greater risk than this on its own). This risk exists if the attacker is on the same LAN, so a remote exploit from over the internet won't be able to make use of this. Routers are not likely to be copying the padding along with the packet, although I can't say that this is a zero exposure.

      This non-zero risk is not much of a performance hit to fix. Unless the ethernet device is doing direct memory access right out of the stack buffer, then some copying has to be involved. And how often are you needing extreme CPU performance while also sending lots of packets less than 46 bytes? Two major scenarios exist for why such small packets are going through. One is keystrokes. The other is an attack against this small vulnerability (pardon the pun). In either of these cases, I don't see where adding the extra CPU time to pad out the buffer target with zeros is going to push things over the edge. The one case where there might be a difficulty is when the network stack buffer is used directly, and in such a case it would have to be holding the whole ethernet frame in that buffer. The fix there would be to always make sure the buffer is allocated with the minimum required size (never smaller) and pad it there.

      Your Fortune 500 company is very unlikely to be colocating sensitive machines where outsiders would have access to the same ethernet segment. Either you're running things in-house, or have outsourced to a major outsourcer, or have colocated things with router isolation involved. Just due to these factors, your risk drops just about as close to zero as you can get.

      --
      now we need to go OSS in diesel cars
  27. And MS-Word ships same over the net... by leonbrooks · · Score: 2

    ...where do you want your data to go today? Oops, sorry! (-:

    --
    Got time? Spend some of it coding or testing
    1. Re:And MS-Word ships same over the net... by leonbrooks · · Score: 2

      Or just use OpenOffice.org, problem solved.

      --
      Got time? Spend some of it coding or testing
  28. The drivers comply with the RFC by dcs · · Score: 5, Informative

    RFC1042 says "When necessary, the data field should be padded (with octets of zero)to meet the IEEE 802 minimum frame size requirements."

    RFC 2119 says "3. SHOULD This word, or the adjective "RECOMMENDED", mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course."

    --
    (8-DCS)
  29. Is this vulnerability really useful? by MyNameIsFred · · Score: 2

    I am not a security expert. In fact, my knowledge comes from Slashdot. So God help me. But is this vulnerability really useful to a hacker? If I understand it, because padding is not properly implemented, the hacker MAY receive some random data at the end of the 48 byte data. I realize there are people who have the patience to tape together shredded documents so they can read them, but in this case the hacker cannot ensure that the random pieces of data that he will receive even belong to a single "document." So my question, is this a theorectical vulnerability that would be extremely difficult to use, or is it demonstratable that a hacker could easily obtain useful information?

  30. ...or... by leonbrooks · · Score: 2

    ...`fix' your machine into the deck at terminal velocity. Trustworthy Computing at its best!

    --
    Got time? Spend some of it coding or testing
  31. Looks pretty harmless by heikkile · · Score: 5, Insightful
    It is a flaw alright, but I fail to see it as very serious. It is not a remote exploit, nor a local one. It leaks basically random bytes from the memory, without telling where in the memory they come from, and without any way for the attacker to specify where in the memory he wants to read. So, yes, there could be a password in it, but there could as well be a snippet of executable code or binary data, or whatever. It would take a lot of sniffing of these, and a lot of filtering, before anything useful would come out of it.

    I am sure someone will rush to correct me if I am wrong about this.

    --

    In Murphy We Turst

    1. Re:Looks pretty harmless by pclminion · · Score: 3, Informative
      So, yes, there could be a password in it, but there could as well be a snippet of executable code or binary data, or whatever.

      No! It would most likely be data from some other packet that was sent or received previously. The OS doesn't allocate network buffers willy-nilly, it tries to reuse the buffers if possible. This means the memory used to send a short packet is most likely going to be reused from a previous network buffer. Meaning the data out on the wire is probably going to be someone else's network traffic that you shouldn't have seen.

      I agree that the problem would be much less severe if you really were getting bytes from random spots in memory, but that isn't what happens. Operating systems tend to allocate a big chunk of memory for buffers, then reuse it over and over.

  32. XQ says... by leonbrooks · · Score: 2
    WHY would you assume that?

    • Because it's often true, especially for remote-root class exploits
    • Because it gets a rise from their audience
    • Because the editors are too outright lazy toi actually spend 30 seconds with Google, CERT etc checking

    Just a guess...
    --
    Got time? Spend some of it coding or testing
    1. Re:XQ says... by fucksl4shd0t · · Score: 2
      WHY would you assume that?

      • Because it's often true, especially for remote-root class exploits
      • there aren't any "root" class exploits, since there's no "root" user in Windows.
      • Because it gets a rise from their audience
      • Sensationalism at its best, but not journalism of any sort.
      • Because the editors are too outright lazy toi actually spend 30 seconds with Google, CERT etc checking
      • Do they actually read the stories before posting the link, or do they depend on the synopsis of the story before making the decision to post it? There's a great deal of potential exploit of slashdot if they depend on the synopsis, the sort of exploit they criticize windows for.
      --
      Like what I said? You might like my music
    2. Re:XQ says... by leonbrooks · · Score: 2
      there aren't any "root" class exploits, since there's no "root" user in Windows

      I'm going to assume that you're blonde and not just trolling. There is no root, but there is complete carte-blanche access to every bit on the system. This is `root class' access since it is in the same class as having root on a real OS. Doiung this over the 'net is `remote-root class'. In point of fact, root can be freely renamed and may have its ultimate authority restricted (e.g. by capabilities) on a Unix box, so in this regard root has extended its feature set to encompass Administrator-style operation as well.

      Sensationalism at its best, but not journalism of any sort.

      Do you see me arguing with that?

      Do they actually read the stories before posting the link, or do they depend on the synopsis of the story before making the decision to post it?

      I think they mainly rely on misreading the synopses. They're also apparently in the habit of refusing good stories for several days at a run.

      There's a great deal of potential exploit of slashdot if they depend on the synopsis, the sort of exploit they criticize windows for.

      Um, what? You can social-engineer practically anything. The kind of exploit Windows is characterised by is the we-didn't-plan-ahead type, the this-needed-a-rewrite-half-a-decade-ago type.

      Microsoft are always in too much of a rush to capture market share, so put their effort into this or that shiny new feature instead of making the basics work right. Linux started out with nothing to lose, every step uphill, no marketing or legal department, so it has had to constantly prove its merit in order to gain acceptance. And it has.

      --
      Got time? Spend some of it coding or testing
  33. This Was Intentional by ONOIML8 · · Score: 2

    What makes you think this topic was an accident? I have a hunch that the /. editors posted this as an anti-microsoft blurb on purpose. With that in mind they didn't need to read the stinking article.

    If you look at recent "environmental" "news" they've put up on here they've done the same sort of thing: did not read the target article or totally disregarded it and added their own political opinion.

    Hemos has an anti-Microsoft axe to grind. Not that I blame him there but I think he's a wee bit too eager.

    --
    . Quit playing Monopoly with Bill. Switch to one of many non-Microsoft products today.
  34. Good point! by leonbrooks · · Score: 2

    Perhaps, since the site only speaks English, they meant to say `i1n'?

    --
    Got time? Spend some of it coding or testing
  35. Cisco isn't vulnerable: by Ayanami+Rei · · Score: 5, Informative
    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  36. Am I the only one tired of this? by los+furtive · · Score: 4, Funny

    Great, first we had users who posted replies without reading the articles.

    Then we had editors who posted articles without checking if they had already been posted.

    Now we have users who submit articles that are neither read by the user nor the editor before being posted.

    What's next? The person who writes the article doesn't read it before a user sees the link, submits it for an editor to post twice in the same day?

    --

    I'm a writer, a poet, a genius, I know it. I don't buy software, I grow it.

    1. Re:Am I the only one tired of this? by mstyne · · Score: 2

      I think what's next is people stop reading /.

      --
      mstyne: real name, no gimmicks
  37. This flaw is a non-issue by rmckeethen · · Score: 5, Informative

    Consider the length of time this so-called vulnerability has lurked in the device driver code for all those operating systems, than ask why no one discovered the problem sooner. Could it be that there's nothing to be worried about?

    I'm guessing this problem has gone undetected so long because uber-short frames don't naturally occur on most Ethernet installations. Networks typically send real data, not empty frames, that's why we build them in the first place. You have to intentionally generate super-small frames if you want to see them. All the examples @Stake provides are based on ICMP Echo/Echo Replies, where you can specify the packet length at the command line. Show me some real network traffic that exhibits this problem, than I'll start to worry.

    Still not convinced? Well, consider that you can't exploit the issue beyond even a single router, and that the vulnerability in most cases is just rehashed data, stuff that's already gone out on the wire. How big a security issue is that? Seems like the least of my problems. I'd worry more about one un-patched system on the network or one stupid marketroid opening a TELNET secession to the web server than I'd worry about this.

    I'm going to go out on a limb here and declare this a non-issue. I'm sure the guys over at @Stake are happy to have something to show their bosses (and the media) so soon after the holidays, but it just doesn't look very serious from where I'm sitting.

  38. Problem I had with net coding by Tyreth · · Score: 2
    A little while back while I was experimenting with sockets programming, I came across a strange behaviour (or I thought was strange). I discovered that even if I cleared a char array on the client receiving the message, for some reason the packet I received from the server would contain the new information, with the old tacked on the end. So in a chat example, if my first packet had the message "Hello" and the second said "Bob", then the second would actually contain "Boblo". I tried all I could to clear the char array because I was presuming that the problem was with the client. Then I discovered I could solve this with memcpy of nulls (I think) into the char array first before sending. I can't remember if I did this on the server or the client.

    Sorry I'm being vague, but a person who is competent at socket programming will _probably_ know what I'm talking about. So I'm curious, is this the same problem we read about here that I encountered, or is it just a misunderstanding of mine into the details of socket programming? I'd love to understand.

    Thanks

    1. Re:Problem I had with net coding by LordKaT · · Score: 2, Interesting
      So I'm curious, is this the same problem we read about here that I encountered . . .

      This problem is similar in that it is memory releated, but it has nothing to do with server software, and everything to do with device drivers. Your problem was memory on the server side of things, specifically, the buffer you used needed to be cleared out before you used that buffer again, otherwise the old data would be still be in the buffer, until new data came along that was as long (or longer). Basically, you would need to sniff the packets in order to get the overflow of memory, otherwise it was just poor coding on your part. Here's an example:

      main()
      {
      // . . . some init stuff here
      char *buffer = "wookie"; // assume we used this
      // . . . socket stuff here
      send(wookie); // send "wookie"
      *buffer = "wokie";

      /* *buffer now contains "wokiee" because the last e was never cleared. If we were to send this, the client would receive wokiee. We need to clear this (memset or something else) before we put data in it */
      }

      --LordKaT

    2. Re:Problem I had with net coding by Tyreth · · Score: 2

      Thanks. Though I remember trying to just blank the char out - or even use a new char for the second send and it still had the same problem. Which seemed really strange to me. Only a memset/memcpy (can't remember, think the latter) seemed to work.

    3. Re:Problem I had with net coding by Tyreth · · Score: 2
      This sounds like a "tyreth does not know C" problem more than a socket problem

      Thanks for the vote of confidence. I was asking for an answer, because I am willing to learn and don't feel a need to pretend that I do know everything about programming.

  39. Re:Or maybe Slashdot wont post news unless its ant by Michalson · · Score: 5, Insightful
    While not 100% true I do see truth in that. For anything to get on the front page these days it seems to require at least one of the following:
    • Microsoft is bad, we don't know why, but it is
    • Another article just like it is already on the frontpage
    • The Poster has provided enough FUD about the article to fill a landfill
    • Someone got arrested in the vicinity of a tech company. IT MUST BE A THREAT TO OUR RIGHTS!
    • Crazy, unsupported rumor. Likely about Apple.
  40. Another redundant post by Photon+Ghoul · · Score: 2

    This is getting pretty old.

    I can deal with unprofessionalism on Slashdot (dupes, unverified sources), since it's really not a professional journalistic news source and has never claimed to be. I can deal with bias against Microsoft, the U.S. government, corporations, Red Hat, Church of Scientology, etc. because no one ever said the editors were being objective. I can deal with regurgitated Register posts and the constant WSJ (free registration required!) posts.

    What I can't deal with are article submissions being approved when the submitter doesn't read the article they are submitting *and* making unfounded biased FUDish comments about it. The editors not reading the article and commenting on it in the blurb is bad enough.

    It's embarassing to ever point anyone else to Slashdot and it's very hard to take it even the slightest bit seriously.

    1. Re:Another redundant post by Photon+Ghoul · · Score: 2

      Up until now, because I liked it... faults and all. Now, I'm not sure I am going to keep reading it.

  41. noticed this 6 years ago by martin · · Score: 5, Interesting

    The firm I was workign for at the time noticed this 6 years ago on AIX.

    We informed CERT/IBM - nothing happened.

    NOW it it makes all the headlines.

    what impact does it have - none, unless the stuff in the PADing area contains the unencrypted data that was originally send encryped. Or am I missing something like I normally do?

    1. Re:noticed this 6 years ago by Russ+Nelson · · Score: 2

      This vuln is at least fifteen years old. To exploit it, you need physical access to the Ethernet. Before the days of switched networks, physical access to the Ethernet meant access to EVERYTHING: telnet sessions, pop3 session, ftp transfers, all with passwords in the clear. Switched networks just make it a little harder to intercept the data (you have to forge ARP replies).
      -russ

      --
      Don't piss off The Angry Economist
  42. memset on windows?? by Anonymous Coward · · Score: 2, Interesting

    >> Since they don't specify the OS, I'm assuming these are drivers for Windows.

    Whenever I read "memset", I think aloud "unix".

    Windows programmers talk about ZeroMemory and FillMemory, not memset. In drivers, that would be RtlZeroMemory and RtlFillMemory.
    memset exists for compatibility, but it's just a wrapper around FillMemory.

    Secondly, for security reasons, Windows ensures that no app will ever find remnants of another app's data in its memory space (all allocated memory is erased before is't given to the requester), which significantly reduces the risk that sensitive data would be transmitted.

    Normally, if the app passes it less than 46 bytes of data, the driver would have to copy it to its own buffer space at the lowest execution level to avoid hitting addresses that aren't mapped to physical memory later (would cause a BSOD if it happened above dispatch level).
    If that buffer is allocated dynamically it would be empty, if it's static it would contain some part of the previous packet - not so much risk of finding sensitive data there, since it's just repeating something that has already been on the network.

    BTW, the CERT advisory contains a long list of checked systems. There are only six names where it says "Not Vulnerable", and one of those six is Microsoft, so heck yeah, please keep feeling safe because *n*x is so damn secure by defi^H^H^H^H religion.

    1. Re:memset on windows?? by Junks+Jerzey · · Score: 3, Interesting

      Windows programmers talk about ZeroMemory and FillMemory, not memset. In drivers, that would be RtlZeroMemory and RtlFillMemory.
      memset exists for compatibility, but it's just a wrapper around FillMemory.


      memset is a standard C library function. Here's a hint: the standard C library exists under Windows, too. I have never called ZeroMemory or FillMemory, period.

    2. Re:memset on windows?? by hanwen · · Score: 3, Insightful
      Whenever I read "memset", I think aloud "unix".

      Secondly, for security reasons, Windows ensures that no app will ever find remnants of another app's data in its memory space (all allocated memory is erased before is't given to the requester), which significantly reduces the risk that sensitive data would be transmitted.

      please keep feeling safe because *n*x is so damn secure by defi^H^H^H^H religion.

      Here is a clue for you.

      This is about drivers, leaking kernel memory, not drivers leaking application memory.

      Drivers are not applications, since drivers run in kernel space. Since memory is generally allocated in Linux by mmapping files, applications can not get "garbage data" from the operating system.

      memset is part of the ISO/IEC 9899 standard for the C programming language. If your Windows library doesn't have it, complain to your vendor. This has nothing to do with Unix vs. Windows.

      --

      Han-Wen Nienhuys -- LilyPond

  43. no "root" user in Windows by wiredog · · Score: 2

    Yes there is. It's called "administrator".

    1. Re: no "root" user in Windows by fucksl4shd0t · · Score: 2

      Yes there is. It's called "administrator".

      Somehow I have a feeling that you're aware that an administrator in Windows doesn't map directly to root on real OSs. For one thing, ANYONE can be an administrator. Now, I know you can make root of regular users, but typically you don't. If someone actually is an administrator on the network, he doesn't use a root-level account as his normal, everyday, email-reading and web-surfing account. However, on a Windows network, it's quite common to give an everyday email-reading web-surfing account administrative priviledges, or some portion thereof.

      The "role" is the same, for the most part, and has varying degrees of delegation, but the "implementation" is different.

      --
      Like what I said? You might like my music
    2. Re: no "root" user in Windows by wiredog · · Score: 2
      The "role" is the same, for the most part, and has varying degrees of delegation, but the "implementation" is different.

      But that's true of ,say, unix 'root' vs Vax VMS 'superuser'. Root doesn't map directly to the equivalent on any non-unix OS.

    3. Re: no "root" user in Windows by fucksl4shd0t · · Score: 2

      But that's true of ,say, unix 'root' vs Vax VMS 'superuser'. Root doesn't map directly to the equivalent on any non-unix OS.

      I hate to sound rude, but what's the point?

      There isn't a "root-class" exploit in Windows, but there are exploits that allow system-level priviledges to be assigned to a remote user (localsystem account is different than administrator or domain administrator), there are exploits that allow administrator priviledges to be assigned to an intruder (administrator is different than localsystem and domain administrator) and there are exploits---well, you get my point.

      but there's no "root-class" exploit.

      On a UNIX box there are still several different subclasses of "root-class" exploit, and if you want to badly enough you can bundle the 3 accounts I mentioned as well as a few other groups in windows and call it "root-class", but it's still not the same.

      If I crack into a UNIX host and root it, I now have complete and total power over the machine, because I am root. If I crack into a Windows box, in order to establish complete and total power over the machine I have to gain LocalSystem and Administrator priviledges both (The main difference is that Administrator usually can't run as service while LocalSystem can--needed for trojans to do anything really useful). On the domain level the differences become more sincere.

      I realize I was nitpicking to begin with. :)

      --
      Like what I said? You might like my music
    4. Re: no "root" user in Windows by fucksl4shd0t · · Score: 2

      Any decisions made to browse or do email as administrator are the user's fault, it has nothing to do with the implementation. There are plenty of stupid Linux users too who do the same thing (/w root obviously).

      True, I'm not trying to say that Linux is better in this regard. In fact, based on my writeup, Windows is better. :) HOWEVER, in the world of Windows administration, it is normal for the administrator to use his administrator account for that stuff, whereas in the Linux world (and UNIX world, as far as I know) it is NOT normal to do so.

      But how people behave on their own computers is entirely their own problem. I administer my home computers, and I use a regular user account and make judicial use of the "su" command. :)

      --
      Like what I said? You might like my music
    5. Re: no "root" user in Windows by benwb · · Score: 2
      The main difference is that Administrator usually can't run as service while LocalSystem can--needed for trojans to do anything really useful

      Once you have administrator priveldges on a windows box you are god. You can grant yourself any additional priveleges you need (including the run as service right). Some domain policy settings can override some of this when running in an active directory forest, but I can`t think of anything that I couldn't do as a member of the administrators group in any of the nt based windows derivatives.
    6. Re: no "root" user in Windows by benwb · · Score: 2

      Teach me to preview
      s/priveleges|priveledges/privileges/g

    7. Re: no "root" user in Windows by fucksl4shd0t · · Score: 2

      For one thing, ANYONE can be an administrator.

      Oh right, and root is only for guys name "Steve" who eat Burger King Whoppers.

      I was referring to the fact that it's a point and click operation to assign someone administrative priviledges. It's not so simple to turn a regular user into root. That's a different case than logging in as root from the get go, I'm talking about priviledges assigned to an account here. I suspect (but don't know for a fact) that it's possible to give a regular user account permanently root-level access, it's still a different story.

      This has ABSOLUTELY NOTHING to do with the "implementation" (though your fervent zealotry was clear when you contrasted Windows against "real OSs"), but rather common usage: Every guide on Windows administration since the days of NT 3.51 had admonished that one use the administrator account only for administrative purposes.

      Actually, it does. Implementation isn't just a matter of how the developers implemented their user security model, it's also a matter of how the end-user has implemented their security policy.

      I'll admit right now that my experience in administering in both worlds is EXTREMELY limited. :) So I could be shooting from the hip here. It's also one-sided. I have had a lot of contact with NT administrators, compared to very little contact with *nix administrators.

      In any case if one did a poll of the general Slashdot community, I would bet pretty big bucks that a very good portion of them are running under the root account, or a root priviledge account

      Ok, how about somebody reply who does this? :) The poll should also include:

      • Are you logged in at work?
      • Does your user account at work have these priviledges assigned?
      • Does your company have a policy allowing or forbidding you to assign root-level rights to a user account?
      • Keep in mind that there is a different mindset involved. Now, before you go accusing me of being an elitist, I am specifically not saying that one mindset is superior to the other. I don't know that to be true. :) But the mindsets are different, so different things happen.

        Now you can accuse me of being an elitist. I don't give a shit. :)

      --
      Like what I said? You might like my music
    8. Re: no "root" user in Windows by Nyarly · · Score: 2
      Actually, the single biggest difference between the various "super-user" accounts in Windows and in Unix and progeny is that the super-users aren't trusted to act as other accounts without knowing their passwords under Windows.

      I think the philosophy is that this limits the impact of Administrator or LocalSystem attacks on a Windows machine, since in order to become another user, you need to change their password. I for one think that that rationale is pants, but then I cut my teeth on Irix and Solaris. Ultimately, a super-user attack is a super-user attack, whether you call it Administrator privledges or a root login; demanding a password to change accounts just makes life difficult for legitimate sysadmins.

      This has been your 30 seconds of pedantry.

      --
      IP is just rude.
      Is there any torture so subl
    9. Re: no "root" user in Windows by leonbrooks · · Score: 2
      Every guide on Windows administration since the days of NT 3.51 had admonished that one use the administrator account only for administrative purposes.

      It doesn't seem to have had any effect. Every Windows `power user' I know runs as Administrator most or all of the time, very few Linux/Unix power users do. Perhaps Microsoft should try something else.

      --
      Got time? Spend some of it coding or testing
  44. Re:Someone please mod down wrong. by schon · · Score: 3, Informative

    this is uninformed spouting of the mouth.

    you mean his post, or yours?

    Block IMCP if you don't need it

    Ahem; if you run TCP/IP, you always need it.

    ICMP is used for control messages between systems - it's used for control messages (the 'C' and 'M' in ICMP) for TCP and UDP packets.

    Without ICMP, your connections can take longer, or (in some cases) not work at all. All modern OSes support path MTU discovery - and PMTU discovery relies on ICMP messages. If you block these messages, your clients will be unable to reach sites if part of your path to them has a smaller MTU than the MTU of your local interface.

    You may know a lot about SSH, but you don't know squat about TCP/IP. ICMP is used for more than just 'ping'.

  45. Re:Or maybe Slashdot wont post news unless its ant by nagora · · Score: 3, Funny
    Microsoft is bad, we don't know why, but it is

    If you don't know why by now, you haven't been paying attention.

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  46. no error checking by DrSkwid · · Score: 2

    stdout might not be writable

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    1. Re:no error checking by fucksl4shd0t · · Score: 2

      crap, I"ll have to check the stupid printf prototype now. Ok, I'll just ask. what's the printf prototype? :) Or rather, what type does it return?

      Although I've never heard of stdout not being writable...

      --
      Like what I said? You might like my music
    2. Re:no error checking by SpaceLifeForm · · Score: 2
      as non-root

      helloworld >/var/log/messages

      --
      You are being MICROattacked, from various angles, in a SOFT manner.
  47. Re:Driver signing by fucksl4shd0t · · Score: 2

    Unfortunately, MS' website doesn't seem to say much about what WHQL actually does. Further investigation on that website seems to reveal that the signature only means that a driver is "compatible" with a Windows release, and that not installing unsigned drivers "may prevent problems such as ... system instability". So, in the end, signed drivers are compatible with Windows and should be more stable than the unsigned. Oh, and that this copy is unmodified from the copy WHQL got. It seems Microsoft doesn't read too much into what its signing policy means for driver quality beyond "does it install, and will it crash?" ...

    Microsoft hasn't exactly been in the business of certifying that stuff is secure. It's just like your car dealer selling you a car with an alarm system, automatic locks, etc, but saying "You might still get robbed."

    Now, personally, I don't think Microsoft should be held responsible if they certify a driver as stable on their system and it turns out to have vulnerabilities. Furthermore, I don't think Microsoft should be held responsible for their architecture lacking certain secure characteristics.

    HOWEVER

    The dialog that displays when you install a driver leads the user to believe that the driver being installed is both stable and secure (I don't recall the exact wording, since it's been so long since I've used Windows). Furthermore, the dialog for ActiveX installation does the same thing AND tells you that if "an Authority" hasn't certified the control, then it may compromise your system. Furthermore, it says something about if you install a control that's not safe for scripting, then your system may be compromised.

    The driver scenario is similar still. First, when it's signed all that means is that what Microsoft has on their server that they're sending to you and what you receive is the SAME THING. In OSS, of course, we just provide checksums. When you apply this "signing" to an activex control, you're only really getting a signature that says that the download you made was not modified IN TRANSIT. You don't always know if the developer signs shit or not, and there's plenty of useful activex controls that aren't signed. Furthermore, signing it according to Microsoft and Verisign (the Authority mentioned) only costs money. That's it. Just pay a fee.

    As for safe for scripting, well, the developer of the control decides that.

    So, the bottom line is, regardless of where you get the driver or the activex control, it's still the DEVELOPER or the COMPANY MAKING THE DRIVER that you are trusting with your system. Considering that you trusted them enough to put their hardware in your computer in the first place, you're in something of a rut. And Microsoft's misleading dialogs do a great deal to improve your own position, because you can say "I was duped into thinking it was safe for my kids!".

    The wording of the dialog reads to me the same as the words on the game that says "Ages 7+". So my 4-year-old might get hurt by things that would be obviously stupid to the average 7-year old, but the average 7-year-old wont' get hurt by things that are obviously stupid (about the toy, of course).

    --
    Like what I said? You might like my music
  48. Re:Driver signing by fucksl4shd0t · · Score: 2

    Crap, I forgot to mention something.

    When Verisign signs something (after the developer has paid them), the binary is certified as being the binary that they reviewed. But they don't actually review it, as far as I know. BUT, when your stupid IE tells you that something is signed, that means that the binary you are receiving is exactly the same as the binary verisign received. But this fact does NOT certify that the developer didn't program in vulnerabilities either intentionally or unintentionally.

    --
    Like what I said? You might like my music
  49. not Mitigated by Bishop · · Score: 2

    this attack can be mitigated

    Mitigate is not the word you are looking for.

    mitigate, v: To make less severe.

  50. Here's another vulnerability. by FreeLinux · · Score: 3, Interesting

    I've found another similar vulnerability in Windows IP stack. I'm sure that I am not the first to discover this but, it has existed for a long time and has never been fixed. I have verified the vulnerability on all Windows platforms except XP, which I simply haven't bothered to look at.

    The "vulnerability" is very similar in behavior to the one described in the article but, is at the IP level rather than the link layer. The vulnerability has to do with padding of IP packets on Windows systems. Windows uses the contents of one of its buffers (sorry I can't say which one) to pad IP packets.

    This is very easily reproducable when sniffing ping packets. The data portion of the packets are padded with the contents of the buffer. There are other utilities that demonstrate this behavior as well, but it is most easily reproduced with a simple ping and the bigger the ping packet the more data you'll see.

    If you have been using IE and then sniff ping packets, you will see the data from your previous browsing. If you just logged in, you can sometimes find your password padding the ping packets.

    As I said I have verified this on all WIndows platforms except XP. I have also looked for it on numerous Linux platforms and have NOT found Linux to suffer the same vulnerability. That is, Linux does NOT appear vulnerable.

  51. BUT can you follow through? by Drestin · · Score: 2
    OK, did you bother to check the CERT Vulnerability note itself?

    Wow, according to this Windows is NOT vulnerable

    According to another post here Linux IS vulnerable

    Reading the fluff piece isn't good enough. Go to the source and get the real deal.

  52. Re: Read the f*cking CERT note by Drestin · · Score: 4, Informative

    If you read the actual CERT Vulnerability note and seen that Windows is not vulnerable.

  53. MS doesn't NEED a fix by Drestin · · Score: 2

    If you read the CERT Vulnerability note and seen that Windows is not vulnerable.">actual vulnerability note itself you'd see that Windows isn't even vulnerable. So it's linux that has to patch a hole Windows doesn't have.

    1. Re:MS doesn't NEED a fix by Russ+Nelson · · Score: 2

      The drivers Microsoft *ships* are not affected. Microsoft doesn't ship a driver for every Ethernet card one might use.
      -russ

      --
      Don't piss off The Angry Economist
    2. Re:MS doesn't NEED a fix by Drestin · · Score: 2
      And, I repeat, MS drivers are not vulnerable (yes, the ones MS ships) and therefore doesn't need a fix. Why would you associate a vulnerability in a driver not shipped (or written) by MS with MS (which is, I assume, your implication).

      Drivers for linux are vulnerable so do need fixing. (p.s., sorry for the bad link in the original post, I meant: CERT note)

  54. Re: Fix within a week? LINUX - NO WAY! by Drestin · · Score: 2

    Well Mr. Coward, you didn't bother to find out that Linux is vulnerable but Windows is not. MS has already issued a statement about this but I see nothing from Linux yet. Looks like the shoe is on the other foot now - haha.

  55. Some Vulnerable Linux Drivers by Drestin · · Score: 2

    Device Driver Original Description
    3c501.c A 3Com 3c501 Ethernet driver for Linux
    3c507.c An EtherLink16 device driver for Linux
    3c523.c net-3-driver for the 3c523 Etherlink/MC card (i82586 Ethernet chip)
    3c527.c 3com Etherlink/MC32 driver for Linux 2.4
    7990.c LANCE Ethernet IC generic routines (AMD 7990 LANCE, local area network controller for Ethernet)
    8139too.c RealTek RTL-8139 Fast Ethernet driver for Linux (based on rtl8139.c device driver which is also vulnerable) RTL 8129, 8139 chipsets
    82596.c A generic 82596 Ethernet driver for Linux
    8390.c A general NS8390 Ethernet driver core for Linux
    a2065.c Amiga Linux/68k A2065 Ethernet Driver
    aironet4500_core.c Aironet 4500/4800 driver core
    am79c961a.c driver for the am79c961A Lance chip used in the Intel (formally Digital Equipment Corp) EBSA110 platform.
    ariadne.c Amiga Linux/m68k Ariadne Ethernet Driver
    arlan.c This module provides support for the Arlan 655 card made by Aironet
    at1700.c A network device driver for the Allied Telesis AT1700
    atari_bionet.c BioNet-100 device driver for linux68k
    atarilance.c Ethernet driver for VME Lance cards on the Atari
    atari_pamsnet.c PAMsNet device driver for linux68k
    atp.c Attached (pocket) Ethernet adapter driver for Linux (Realtek
    RTL8002 and RTL8012 chips)
    bagetlance.c Ethernet driver for VME Lance cards on Baget/MIPS
    declance.c Lance ethernet driver for the MIPS processor based DECstation family
    depca.c A DIGITAL DEPCA & EtherWORKS ethernet driver for Linux
    eepro.c Intel EtherExpress Pro/10 device driver for Linux
    eexpress.c Intel EtherExpress 16 device driver for Linux
    epic100.c A SMC 83c170 EPIC/100 Fast Ethernet driver for Linux (This driver is for the SMC83c170/175 "EPIC" series, as used on the SMC
    EtherPower II 9432 PCI adapter, and several CardBus cards)
    eth16i.c An ICL EtherTeam 16i and 32 EISA Ethernet driver for Linux
    fmv18x.c A network device driver for the Fujitsu FMV-181/182/183/184
    gmac.c Network device driver for the GMAC Ethernet controller on Apple G4 Powermacs
    isa-skeleton.c A network driver outline for Linux
    lance.c An AMD LANCE/PCnet Ethernet driver for Linux
    lasi_82596.c Driver for the Intel 82596 Ethernet controller, as munged into HPPA boxen
    lp486e.c Panther 82596 Ethernet driver for Linux
    ni5010.c A network driver for the MiCom-Interlan NI5010 ethercard
    ni52.c net-3-driver for the NI5210 card (i82586 Ethernet chip)
    ni65.c ni6510 (am7990 'lance' chip) driver for Linux-net-3
    pci-skeleton.c This driver is for boards based on the RTL8129 and RTL8139 PCI Ethernet chips
    saa9730.c SAA9730 Ethernet driver
    seeq8005.c A network device driver for the SEEQ 8005 chipset
    sgiseeq.c Seeq8003 Ethernet driver for SGI machines
    sk_g16.c
    smc9194.c A driver for SMC's 9000 series of Ethernet cards
    sonic.c
    sun3lance.c
    tc35815.c
    via-rhine. c A Linux Ethernet device driver for VIA Rhine family chips
    wavelan.c WaveLAN ISA driver
    znet.c An Zenith Z-Note Ethernet driver for Linux
    Wavelan_cs.c Supports version 2.00 of WaveLAN/PCMCIA cards (2.4GHz)
    xirc2ps_cs.c Xircom CreditCard Ethernet Adapter IIps driver
    Xircom Realport 10/100 (RE-100) driver.
    This driver supports various Xircom CreditCard Ethernet adapters including the CE2, CE IIps, RE-10, CEM28, CEM33, CE33, CEM56, CE3-100, CE3B, RE-100, REM10BT, and REM56G-100.

  56. Hemos is an MS shill by Salamander · · Score: 2

    That's the only explanation that makes sense. He's trying to discredit MS-bashers by providing such an excellent example of false and childish anti-MS claims. The original @Stake paper (don't blame me for the format) not only lists vulnerable Linux drivers, it seems to list only Linux drivers. Windows is mentioned exactly once, and only in a vague afterthought kind of way; the focus is on the vulnerability as it exists on Your Favorite OS.

    --
    Slashdot - News for Herds. Stuff that Splatters.
  57. Microsoft Certified Drivers by Antity · · Score: 3, Insightful

    Microsoft on the other hand has to round up dozens of vendors and get them all to apply fixes, and there will be stragglers. Then there is the question of how to get the patches onto customer's machines.

    Don't forget that after the vendors fixed it, the new drivers have to be re-certified and signed by Microsoft or their Great OSes[tm] will bark on everyone installing them - which wouldn't shine a bright light on the vendor.

    Last thing I remember was that having a new driver certified by Microsoft takes several weeks to months.

    An interesting question aside: If so many drivers (if you believe in the article's wording) are affected, why did they pass the Microsoft quality/security "certification" in the first place?

    Seems to me that their certification tests aren't worth the bits they're written on - probably they just check that the drivers don't crash the system and so on. (well, and sometimes, not even this.)

    --
    42. Easy. What is 32 + 8 + 2?
  58. Re:Someone please mod down wrong. by aridhol · · Score: 2
    your clients will be unable to reach sites if part of your path to them has a smaller MTU than the MTU of your local interface.
    I suppose you've never heard of packet fragmenting, then? MTU discovery tries to ensure that your packets won't be fragmented by routers, but if you send larger packets, they'll be fragmented by routers and re-assembled by the destination machine.
    --
    I can't say that I don't give a fuck. I've just run out of fuck to give.
  59. Stupid by photon317 · · Score: 2


    This is another example of a so called "security team" finding a minor problem and trumping it up to sound like Armageddon is upon us in an attempt to boost their own visibility and credibility.

    Executive Summary of Bug:

    Many ethernet drivers on many OSs exhibit this problem. It is possible to send a packet to the target machine which triggers the target machine to send back a very short reply packet. Inside this very short reply packet, there maybe be as many as 30 or so bytes of data that should have been zeros. This data is from some other packet recently sent out by the target machine. This data is:
    (1) unlikely to be the data you were looking for (2) extremely short
    (3) probably was encrypted before being transmitted the first time if it was truly sensitive information

    In the real world, there will probably be many better avenues of attacking a machine than attempting to leverage this exploit. Leveraging this exploit will require a lot of patience and good luck, as well as poor security practices on the target's side to begin with. You have many better things to worry about, move along please.

    --
    11*43+456^2
    1. Re:Stupid by photon317 · · Score: 3, Informative


      Oh and I might add that this won't work over an IP connection only (e.g. across the net). You need to be on the same ethernet segment as the target. This greatly limits the usefulness again. While we're at it, if you were on their segment, and it's not switched, you likely already are seeing every packet the target machine transmits anyways. Oh and by the way, there's exploits out there already to make most switches give up this data as well, so in all likelyhood this gained you nothing.

      --
      11*43+456^2
  60. MS is okay? by hakalugi · · Score: 2, Interesting
    Microsoft Corporation Information for VU#412115

    Date Notified 06/25/2002

    Date Modified 01/09/2003 10:55:58 AM

    Status Summary: Not Vulnerable

    Vendor Statement

    Microsoft does not ship any drivers that contain the vulnerability. However, we have found samples in our documentation that, when compiled without alteration, could yield a driver that could contain this issue. We have made corrections to the samples in our documentation, and will include tests for this issue in our certification process.

    --
    If she floats, she's a witch.
  61. Re:Slashdotted your credibility-and everyone sees by lostboy2 · · Score: 2

    Well, it's been discussed on /. that news sites sometimes edit their stories without notice. So, it's possible that the article didn't include the bit about which systems are vulnerable when the poster submitted the story.

    I'm not saying that this what happened in this case. On the other hand, the article is three days old.

    Still, I agree with you about the assumption regarding Windows.

  62. Is this a problem with HIPAA? by lostboy2 · · Score: 2

    This is beyond the limits of my networking expertise, but does this mean it's possible for sensitive client or medical information to be passed in the padding?

    If so, it seems that this would be a problem with HIPAA.

    Granted, the extra bits of a 46 byte packet isn't much space, but then a social security number is only 9-characters.

  63. Re:Slashdotted your credibility-and everyone sees by HiThere · · Score: 2

    That's the way I read it too.
    OTOH, the point about articles being updated without noice posted was also apropos. It's *not* clear that they fucked up. They may have, or the article may have been edited.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  64. Re:Slashdotted your credibility-and everyone sees by thelexx · · Score: 2

    "But an ASSUMPTION like above about "Well, there's a problem, it must be Windows!" just makes my ears perk up immediately and want to check the facts. Why doesn't it for the Slashdot editors?"

    Because not only do the editors dislike MS, but also because MS richly deserves to never be given the benefit of the doubt, on anything, ever again.

    --
    "Gold still represents the ultimate form of payment in the world." - Alan Greenspan, 1999
  65. exploiting by Phrack · · Score: 2, Informative

    Windows CAN be vulnerable. Found several locally. Hardware companies using too much Microsoft example code, I imagine.

    Simple to exploit.
    Mac OS X/Linux:ping -c 1 -s 0 10.10.10.10
    Solaris: ping 10.10.10.10 0 1
    Windows: ping -n 1 -l 0 10.10.10.10
    (where 10.10.10.10 is, of course, target host). Solaris doesn't seem to even want to *send* the echo request with 0 payload. Then again, I didn't investigate that too hard. IOS will definately not let you specify datagram size small enough to exploit (for that matter, it pads the echo request properly, unlike my test Win2k box with Xircom card.

    Collect in favorite packet sniffer and observe. In Ethereal, it's added as Trailer under the Ethernet frame. Don't expect it to make sense.

    Routers may or may not impede it. Checking about half a dozen local private class C's, I found 20 machines returning frame data. One linux, a few Windows, and a few VoIP devices. Those were crossing a Cisco L3 switch. It sorta routes, it sorta switches. However, as expected, crossing a 7204 easily screws the pooch.

    So, for someone on the outside to make use of this, they'll have to break into a machine elsewhere on your network and setup some automatic exploit. To allow that to happen, you've got big troubles already besides already transmitted frame data.

    And anyway, 18 bytes of previously transmitted frame data are not much to worry about. If you're not already deploying the basic security that would foil this.. just get out of the game.

    --
    Dump the IRS - http://www.fairtax.org
  66. in the posters defence, by geekoid · · Score: 2

    a great many articles/stories done assume windows, and seldom mention any other OS unless it is expicitly stated.

    so for most media Computers == Windows.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  67. This is silly. by Dagmar+d'Surreal · · Score: 4, Informative

    When I first saw this, I thought to myself, "Surely Steve Gibson's name is on the report somewhere" because this is the sort of lunacy one usually finds his name on.

    Much to my suprise, @Stake's name was on it. Looking further, I see that Eweek has genuinely made a mountain out of a molehill. Seventeen bytes of randomly chosen data can be snatched from a remote machine, provided it's literally in the same building as the attacker, and provided it's got a cheap-o network card. Pardon me while I quake in fear for the safety of the little children.

    Why do we have to be in the same building? Because if the packet in question goes through most routers, they're quite likely to crumple the bits up and throw them away because of it's past use as a means for covert communication. ...and while it's good that the memory leakage is of contiguous bytes (otherwise they'd be entirely useless) seventeen bytes is a _really_ small window for any meaningful data to come through. If you were lucky, you might be able to get part of a (presumeably encrypted) password, or two and a half words from a typical email. It's also possible that fancy arp-foolery would get you *all* the victim's network traffic, making it the long and obnoxious way to go about doing something as simple as sniffing packets.

    Their statement about it being "trivial to exploit" should have stopped at just saying it was "trivial". It was good of @Stake to bring this to the attention of programmers, although quite possibly publishing in PDF format made it look a little more important than it really is. ...What Eweek published about it was downright silly.

  68. Not a speed hit at all by Skapare · · Score: 2

    The cost in time needed to pad the frame out to 46 bytes is about the same as the time needed to copy the data over from some buffer when the frame actually is 46 bytes. Now if the driver is so high performance that it never copies anything, and is transmitting into hardware straight from the originally queued packet buffer, then yeah, padding to 46 bytes at this point does cost a wee bit. But how often are you sending so many packets less than this size and needing the performance in the CPU? It's not an issue at all with larger packets.

    --
    now we need to go OSS in diesel cars
  69. That's the way it should be, damnit! by somethingwicked · · Score: 2
    I was referring to the fact that it's a point and click operation to assign someone administrative priviledges

    There is absolutely NOTHING wrong with this being easy to do! Would you prefer to have to do ten complicated steps to accomplish the same task??? It still will not prevent it from being done and will only take more time.

    The fault lies in how easy it is to convince most people to assign admin privileges to someone else.

    I will, however, agree that administative privileges are handed out many times when not necessary.

    --

    ---"What did I say that sounded like 'Tell me about your day?'"---

  70. Re:Microsoft Bashing by MrScience · · Score: 2

    Hmm... Too bad the facts are in your way. Of course, I understand that FUDers don't bother looking at facts.

    --

    You quitting proves that the karma kap worked. The most annoying of the whores shut up. --CmdrTaco

  71. Clue. by twitter · · Score: 3, Informative
    Read the article, what a great idea! I'd never have thought that's what Slashdot was good for. Solid advice worthy of a +5 troll rating. So what do we find?
    Thanks to some vagueness in the standards defining IP datagram transmission on Ethernet networks, it's not entirely clear exactly how the padding should be done. Some implementations do it on the NIC, while others handle it in the software device driver

    Ding! This means that all NICs that have the problem have that problem under any OS unless the card can be overcome by software. Additionally, "software drivers" under any OS can have the same problem.

    Is the problem more likely under, M$ junk? Of course it is. The free software world will move to fix any driver problems, and there are only a few dozen drivers in the world to work the thousands of different brand name cards. The closed source world has thousands of drivers to fix by companies that may not even exist anymore, and because it's closed and the user won't know any better, why would anyone bother?

    Of course this completely ignores whole models that are available in the free software world to prevent such problems of untrusted networks in the first place. I don't really care if my NIC pads packets with chunks of the last SSH packet. Encryped noise is just that and you can have as many packets as you like of it. If you played it over a speaker it would sound like this "Shushshhshhhshhhhhshhhhsh!" and I sugest you do shush.

    --

    Friends don't help friends install M$ junk.

    1. Re:Clue. by Keith_Beef · · Score: 2

      Thanks to some vagueness in the standards defining IP datagram transmission on Ethernet networks, it's not entirely clear exactly how the padding should be done.
      But to quote RFC 1042
      When necessary, the data field should be padded (with octets of zero) to meet the IEEE 802 minimum frame size requirements.

      So, while it isn't clear where the values of zero should come from, it looks clear to me that they should be zeroe values, and not values pulled from some previously used buffer or packet.

  72. Perhaps reading would help draw conclusions by TheAncientHacker · · Score: 2

    The Microsoft statement says that Windows doesn't ship with the bug and no 3rd party driver shipped with Windows have the bug but if you build your own driver from their sample code in the Device Driver kit without changes then it is possible that your code could have the bug. And that they're changing the sample code to include the fix in the source. Maybe drawing a conclusion based on what's written would be better than just "MS are weasels"

  73. don't be so glad by twitter · · Score: 2
    In addition, you also have to be able to get this data. As mentioned by mmol_6453, you can only get the Ethernet frames if you are on the same LAN or if the victim is tunneling the Ethernet frames through a VPN. If there is an IP router between you and the victim, you will probably not be able to get the leaked bytes (and I am glad to see that several routers listed in the CERT advisory [cert.org] are not vulnerable).

    Heh! What this means is the same thing as always. Your network security is only as good as your weakest link. If you have an M$ box on your local net and someone owns it, as is so easy to do, it can sniff packets from other silly OS that don't use SSH or similar for ALL local comunications. Let's say I type a password on a local computer and that password gets padded into that ethernet frame. Ha, the M$ machine has got you. A more sinister device to leak, would be your "broadband router" box that sits next to your cable modem. If it leaks and you have an owned M$ box on your network, that M$ box can be used to request small packets through the router and thus sniff your whole network's traffic. Failure and comprimise are generally the result of a combination of minor flaws, unless you are M$ and you just make an email client that automatically executes code, sound and what not from unknown third parties. The weak link breaks a chain.

    --

    Friends don't help friends install M$ junk.

  74. Re: Read the f*cking CERT note by pc486 · · Score: 2

    Like other posters have stated, Windows is vulnerable with the NIC drivers being the problem. Microsoft claims it doesn't ship bad drivers but my Xircom CardBus Ethernet II is vunerable (Win2k). I believe I got the driver on Windows Update :).

  75. Read the articles before posting, please? by cascadefx · · Score: 2
    Blockquoth the poster:
    Eweek has their typical (puffy, low on tech details) take on it here. Since they don't specify the OS, I'm assuming these are drivers for Windows.


    First off, the linked eWeek article specifically states:
    "The Linux, NetBSD and Microsoft Windows operating systems are known to have vulnerable link layer implementations, and it is extremely likely that other operating systems are also affected."

    Not to defend eWeek's journalistic or technical integrity, but they do a pretty good job of summing up the pertinent facts... such as the vulerability affecting the above implementations.

    Secondly, This is a Hyperlink. They are sometimes used on the World Wide Web, to link relevant and useful resources together. Had you followed this particular link, you would have found the CERT advisory about the problem AND a link the @Stake's own advisory and white paper about the problem.

    Thank you

  76. Re:Slashdotted your credibility-and everyone sees by Arandir · · Score: 2

    WHY would you assume that? Just from the blurb the poster included it immediately seems the kind of oversight that would have the POTENTIAL at least to affect multiple systems.

    It's called dogmatism.

    There's a significant number of Open Source advocates, including nearly all Slashdot editors, who take it as an article of religious faith that Linux has no bugs, Windows has three bugs per line of code, and other operating systems simply do not exist.

    Thus, when they see "flaw found in...", they automatically assume it must be in Windows, and if it ever occured in Linux, it must have been fixed a long long time ago.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
  77. If you have to be inside the nearest router... by Kjella · · Score: 2

    ...you have tons of better ways to do this. Put a key sniffer on his keyboard, or listen to the EM-field of his screen or bug his place. Or simply get a life.

    Kjella

    --
    Live today, because you never know what tomorrow brings
  78. Maybe I should be more worried, but... by iceT · · Score: 2

    How much sensitive information could be in less that 46 bytes? Granted, it's a bad programming practice, but seriously, what are the odds that something important like the formula to Willie Wonkas Ever-lasting Gobstopper would be in those padded bytes?

    Based on the typical internet usage, I'm guessing they'd get up to 45 bytes of flesh-tone JPEG data, or the words "you to can have up 3 or 4 inches added to yo".

    --
    -- You can't idiot-proof anything, because they're always coming out with better idiots.
  79. What about alarms by Allnighterking · · Score: 2

    A lot of equipment in a network uses 9 consecutive 0's as an alarm signal. Hence the telcom standard of using 6 0's then 6 1's as the "pad" (oh and yes you do have to check for 9 legit 0's in a row and make "adjustments") I can see it now every time my nic sends a short packet alarms are going off all over the telco route.. *grin*... the other point is. Just because it does it... doesn't mean it's signifigant. In other words is enough real data leaked and is it leaked in a consecutive manor. Can I reconstruct useful info from this data or is this an over reaction of coulda woulda shoulda maybe might. In other words if I send 10000 packets of data with 1% short that means 10 short packets. Now if this is taken from random data streams on the box in a real time manor then it won't be

    A. Consecutive data
    B. Enough to construct meaningful information.

    I don't really think you have to worry about your credit card numbers being transmitted in the clear here. Now if you have a system that is constantly transmitting (a number of systems do, do this ) then you do have a serious leak. In two seconds of continuous transmission a lot of data can get out if it's 100% padding. Maybe we can finally get the source code to M$ this way by monitoring what comes out of Redmond :)

    --

    I'm sorry, I'm to tired to be witty at the moment so this message will have to do.

  80. Lies, Damned lies, and Microsoft by Black+Copter+Control · · Score: 2
    [ Microsoft] Vendor Statement
    Microsoft does not ship any drivers that contain the vulnerability. However, we have found samples in our documentation that, when compiled without alteration, could yield a driver that could contain this issue. We have made corrections to the samples in our documentation, and will include tests for this issue in our certification process.

    My reading: Microsoft doesn't make any vulnerable drivers (Microsoft doesn't make (m)any Ethernet drivers). Their sample code is vulnerable, and in the future they will be testing drivers for this bug before certifying them. -- Current MS certified drivers May be vulnerable -- especially if they used MS's suggested code snippet.

    In short, YMMV.

    --
    OS Software is like love: The best way to make it grow is to give it away.
    1. Re:Lies, Damned lies, and Microsoft by Black+Copter+Control · · Score: 2
      From the rapidity of MS's response (same day), I'm going to guess that they are few (if any) drivers actually made by Microsoft that were addressed by their response. I would also guess that there are many drivers that ship WITH current MS operating systems (2000, XP, CE) that are vulnerable, but many (most) people are going to presume from MSs response that this is not the case -- and MS knows this.

      In other words, if I'm right, MS constructively lied in their declaration.

      --
      OS Software is like love: The best way to make it grow is to give it away.
  81. Re: Fix within a week? LINUX - NO WAY! by karlm · · Score: 2
    MS statements aren't very reliable. Remember the fmous "that vulnerability is purely theoretical" claims? Someone else here claimed they got a vulnerable driver from Windows Update. Maybe MS is nice and distributes 3rd party drivers through thier update service, but I doubt they've thuroughly tested all of the drivers they ship on thier CD.

    Unless you've personally tested your driver, I'd play it safe and go with the statement of the publishers: Linux, NetBSD, and Windows are vulnerable.

    You also seem to wish that Linux would relase a statement. Linux cannot release a statement. Linus can. Red Hat can. Mandrake can. Linux cannot. Windows cannot. Cobol cannot. VB Script cannot.

    Looks like the shoe is on at least three feet now, but some of the feet appear to be in denial. Oh, and "haha" doesn't help your post look informed or intelligent.

    --
    Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
  82. Re:Someone please mod down wrong. by schon · · Score: 2

    I suppose you've never heard of packet fragmenting, then?

    Yes, I've heard of it. And unlike you, I actually know how it works in relation to PMTU discovery.

    MTU discovery tries to ensure that your packets won't be fragmented by routers, but if you send larger packets, they'll be fragmented by routers

    No, they won't.

    PMTU discovery works by setting the "DO NOT FRAGMENT" bit of the IP header. Packets that are too large are dropped, NOT fragmented, and an ICMP message is sent to the originating host, telling them to re-send a smaller packet.

    If you're gonna correct someone, make sure you know what you're talking about first.

  83. Re:Someone please mod down wrong. by aridhol · · Score: 2
    For the PMTU, yes it's marked DNF. The host computer should be intelligent enough to send a smaller packet after enough DNF packets disappear into the ether.

    Once a PTMU has been calculated, the data packets should not be marked DNF, as the path may change as routers change states, and the PTMU may change and fragmenting still occur.

    --
    I can't say that I don't give a fuck. I've just run out of fuck to give.
  84. Re:Someone please mod down wrong. by schon · · Score: 2

    For the PMTU, yes it's marked DNF

    OK, so what's your point then? (Oh, and it's marked 'DF', not 'DNF')

    The host computer should be intelligent enough to send a smaller packet after enough DNF packets disappear into the ether.

    "Should be"? First, we're talking about what "is" and "isn't", not "should be"... and second, no, it SHOULDN'T be.

    If the host is just going to assume that a dropped packet is due to someone misconfiguring their firewall - and not just because the packet was dropped for some other reason - what happens when "enough" packets disappear because of some other reason (like, say - temporary link outages, congestion, etc..)?

    The "intelligent enough" host begins making it's packets smaller, which causes more overhead for the troubled link. If the dropped packets are because of congestion, you're actually making the problem worse instead of better (because smaller packets impose higher overhead on a network, both because the payload is smaller relative to the packet size, and there are more packets for the routers to process.)

    Once a PTMU has been calculated, the data packets should not be marked DNF

    Try reading RFC 1191, which describes PMTU discovery, and directly contradicts your statement.

    Section 6.3 (Purging stale PMTU information) states this: "Because a host using PMTU Discovery always sets the DF bit" (emphasis added.) Seems the guys who invented PMTU discovery disagree with you.

    data packets should not be marked DNF, as the path may change as routers change states

    This is the perfect reason why hosts should continue to set the DF bit, not a reason why they shouldn't.