Slashdot Mirror


D-Link Firmware Abuses Open NTP Servers

DES writes "FreeBSD developer and NTP buff Poul-Henning Kamp runs a stratum-1 NTP server specifically for the benefit of networks directly connected to the Danish Internet Exchange (DIX). Some time last fall, however, D-Link started including his server in a hardcoded list in their router firmware. Poul-Henning now estimates that between 75% and 90% of NTP traffic at his server originates from D-Link gear. After five months of fruitless negotiation with a D-Link lawyer (who alternately tried to threaten and bribe him), he has written an open letter to D-Link, hoping the resulting publicity will force D-Link to acknowledge the issue. There are obvious parallels to a previous story, though Netgear behaved far more responsibly at the time than D-Link seem to be."

108 of 567 comments (clear)

  1. List of Affected Products: by SuperficialRhyme · · Score: 5, Informative

    From TFA: "A number of D-Link products, so far I have at least identified DI-604, DI-614+, DI-624, DI-754, DI-764, DI-774, DI-784, VDI604 and VDI624, contain a list of NTP servers in their firmware and using some sort of algorithm, they pick one and send packets to it."

    1. Re:List of Affected Products: by SuperficialRhyme · · Score: 4, Informative

      I asked for details and this is what he provided to me. I haven't gotten to do this yet:

      "If you download the firmware from DLink and run unarj on it
      you get a file called something like nml.mem.

      Run strings on that and grep for GPS.dix.dk to make sure it is not
      listed in there."

    2. Re:List of Affected Products: by codegen · · Score: 2, Informative

      The mac address is only visible on the local network. After the packet hits
      a gateway, the mac address is gone (only the IP address remains).

      --
      Atlas stands on the earth and carries the celestial sphere on his shoulders.
    3. Re:List of Affected Products: by Anil+Purandare · · Score: 2, Informative
      DI-604

      Ugh. I use one of those at home. I'm glad now that I set a default NTP server when I first set it up, but I doubt this is something most users would do. Here are the instructions for doing this. I don't know if this applies to the other models listed above.

      This might also be useful: List of NTP Pool Servers

    4. Re:List of Affected Products: by imp · · Score: 2, Insightful

      Anyway, my point is that the guy concentrated more on exposing his problems and demanding payment for his expenses than detailing the problem itself, which would be healthier to his servers, as this would prompt at least some more people to update their routers.


      Actually, you haven't read the letter, have you? In it he outlines the problem fairly well. He lists the actual expenses that he's incurred because this bone-headed dlink stunt has cost him a ton of money. He'd be very happy if dlink just said 'ok, we were wrong, here's the fixed firmware, sorry for the hassle'. He does present the 'ntp.dlink.com' solution there.

      When corprate customer misbehave and abuse system resources, it costs people actual money. In this case, a lot of money, as well as jeorpodizing a service to the users in denmark that Poul-Henning has been providing to them out of the kindness of his heart. Now to have some evil company come in and abuse that is bad enough. But to paint him as a money grubbing scum is over the top.

      Warner
    5. Re:List of Affected Products: by ajs · · Score: 3, Insightful

      I don't get why D-Link doesn't just solve the problem. All they need to do is put up an ntp.dlink.com with a simple mock DNS server that checks the requesting IP, and returns the closest known, public (or authorized for that network) NTP server as a CNAME. In most of the cases, that's going to be the IP's ISP-provided NTP server, which D-Link could easily compile a list of from ISP Web-sites. It's like 2 weeks of one person's work to write the server, gather data, and solve 80% of the problem (and avoid doing this to companies that CAN afford to sue in the future). This would also allow organizations to request special listings in D-Link's table.

      Even in the case where the request comes from a recursive lookup, it should (in almost all cases) come from a DNS server which indicates the rough location (in terms of Internet topography) of the client.

      Of course, they could also obey DHCP responses (either to the device or to a directly connected IP) as a fallback, solving even more of the problem.

    6. Re:List of Affected Products: by COMON$ · · Score: 2
      Oh I am aware of that, but I am thinking of my brother and grandparents. Along with several hundred other people I have set up with D-Link routers. Of course I can reconfigure them in the future but I would bet good money that the majority of people out there who own d-link products dont know what firmware is. Always remember, we are in a minority. I think he took the best action he could aside from changing his domain and IP. If there is no response to his open letter then he will be forced to do one or the other.

      Interesting question that you bring up is whether or not the custom firmware for d-links is in question as well.

      --
      CS: It is all sink or swim...oh and did I mention there are sharks in that water?
    7. Re:List of Affected Products: by sp0rk173 · · Score: 2, Insightful

      Simple or not for a slashdotter, i know several users who can't even figure out the default password to their routers, despite it being plainly stated in their operating manuals (the particular case i'm thinking of is a relative of mine who called me asking what his linksys wireless router's password was. The manual clearly states that it is "admin" in several places).

      Most users of routers these days have no idea what NTP means, nor what an NTP server is...nor even what firmware is. Do you really expect that him putting hours of work into researching which routers are and are not effected, then posting those on a website that a tiny percentage of users even know about will bring any measurable mitigative effect on the current problem? How will the majority of D-Link users even know about this issue? I can assure you that most of them do not read slashdot or even know who this dude is. Going directly to the source of the problem (ie, D-Link) really is the only way to get this corrected.

    8. Re:List of Affected Products: by Anonymous Coward · · Score: 4, Informative

      From the RFC website: http://www.rfc-archive.org/getrfc.php?rfc=4330

      10. Best Practices

            NTP and SNTP clients can consume considerable network and server
            resources if they are not good network citizens. There are now
            consumer Internet commodity devices numbering in the millions that
            are potential customers of public and private NTP and SNTP servers.
            Recent experience strongly suggests that device designers pay
            particular attention to minimizing resource impacts, especially if
            large numbers of these devices are deployed. The most important
            design consideration is the interval between client requests, called
            the poll interval. It is extremely important that the design use the
            maximum poll interval consistent with acceptable accuracy.

            1. A client MUST NOT under any conditions use a poll interval less
                    than 15 seconds.

            2. A client SHOULD increase the poll interval using exponential
                    backoff as performance permits and especially if the server does
                    not respond within a reasonable time.

            3. A client SHOULD use local servers whenever available to avoid
                    unnecessary traffic on backbone networks.

            4. A client MUST allow the operator to configure the primary and/or
                    alternate server names or addresses in addition to or in place of
                    a firmware default IP address.

            5. If a firmware default server IP address is provided, it MUST be a
                    server operated by the manufacturer or seller of the device or
                    another server, but only with the operator's permission.

            6. A client SHOULD use the Domain Name System (DNS) to resolve the
                    server IP addresses, so the operator can do effective load
                    balancing among a server clique and change IP address binding to
                    canonical names.

            7. A client SHOULD re-resolve the server IP address at periodic
                    intervals, but not at intervals less than the time-to-live field
                    in the DNS response.

            8. A client SHOULD support the NTP access-refusal mechanism so that
                    a server kiss-o'-death reply in response to a client request
                    causes the client to cease sending requests to that server and to
                    switch to an alternate, if available.

      -daedone

    9. Re:List of Affected Products: by brunson · · Score: 2, Informative

      The right server to put in there is "pool.ntp.org". I would have hoped the someone at D-Link was aware of that DNS pool.

      --
      09F911029D74E35BD84156C5635688C0
      Jesus loves you, I think you suck
    10. Re:List of Affected Products: by dougmc · · Score: 2, Insightful
      From the RFC website: http://www.rfc-archive.org/getrfc.php?rfc=4330
      Yes, and that's a relevant thing to add to this discussion, but you should keep in mind (or mention if it's already in mind) that RFC stands for `Request for Comments', not `Rules that must never be broken' or even `Follow these or you'll be sent to Gitmo.'

      Violating a RFC may make you a bad person, and certainly it looks like D-link is in the wrong here, but it's not like there's anybody out there enforcing RFCs in any way beyond `you shouldn't be doing that!' (unless they're kooks, of course.

      Now, maybe you could sue somebody for violating a RFC, and perhaps that's what Mr. Kamp should do, but I'm no lawyer and he's already spoken with many about this, so I suspect he has considered it. But it's not likely that any actual laws are being broken here.

      Now, if Mr Kamp wanted to play hardball, he could have his legitimate users of his NTP server move to another name, and then modify the GPS.dix.dk server to return a totally bogus time, which would probably help get the current users of the routers to upgrade their firmware. I suspect that only a small fraction of the users would even notice, but those that do would call D-Link, and those calls would cost D-Link money ...

      Yes, Mr Kamp shouldn't have to do this, and maybe the /. effect (which does go beyond mere web traffic) will prompt D-Link to do what they can to fix the problem they've caused, but it's always an option, one which he's probably already considered.

  2. Moochers by suso · · Score: 5, Insightful

    Give people an inch and they take a mile. I don't see why D-Link and Netgear couldn't just make their own stratum-1 NTP servers. I mean, if you trust the brandname enough for your routing, don't you trust them enough for your time as well?

    1. Re:Moochers by archen · · Score: 4, Insightful

      I mean why in the hell does cheap dlink crap need to connect to stratum-1 servers? Seriously these things should be running on stratum-3 or lower. I doubt the FBI will come into your home with national security at stake and the whole world ENDS because your $40 dlink router is off by half a second. Why doesn't dlink run their own damn ntp server off of the stratum-1 (making them stratum 2 - stratum 1 is sortof expensive). There is no need for these things to have this level of time precision - they just need ballpark correct time.

    2. Re:Moochers by suso · · Score: 3, Insightful

      I'm not considering good will, appreciation, or the right thing to do. None of these things apply to a business unfortunately.

      Eh hem, at the risk of sounding like a troll, they apply to my business damnit and don't you forget that.

      The problem is, when you do the right thing, like enforcing security over convience, customers don't always appretiate it.

    3. Re:Moochers by typical · · Score: 4, Interesting

      It's cheaper for D-Link to freeload off other people.

      That being said, D-Link has acquired quite a bad reputation in my book. The last time they were prominently mentioned on Slashdot was when their routers were randomly silently redirecting a small chunk of HTTP traffic to D-Link advertisements, and causing the obvious mayhem in non-human-readable HTTP traffic.

      I'm also wondering just how much mayhem this guy could cause on various networks by playing with the time he returns. I'm not advocating that...I'm just pointing out that D-Link is rather leaving the owners of their routers open to whatever he chooses to do to them. Adding NTP support to a product is one thing -- hardcoding it to reference an NTP server that you can't guarantee is trustworthy is another thing. Suppose, for instance, this guy drops the name due to the expenses and someone else picks it up...

      To be blunt, buying D-Link hardware at this point means that you're kind of, well, asking for whatever the hardware does to you.

      --
      Any program relying on (nontrivial) preemptive multithreading will be buggy.
    4. Re:Moochers by archen · · Score: 2, Informative

      just a correction, I sorta got stratum 0 confused in there, it should be lowered by a stratum, but honestly many recommend you connect to stratum 2 servers to lighten the load on the stratum 1 who's main purpose should be time distribution. (or high presision for those in need)

    5. Re:Moochers by boneshintai · · Score: 4, Informative

      That was Belkin.

    6. Re:Moochers by Moonwick · · Score: 2, Informative

      Startum 1 servers aren't "expensive" nor are they a limited resource; any time server that pulls its timebase from GPS, for example, is stratum 1.

      --
      Only on slashdot can a posting be rated "Score -1, Insightful".
    7. Re:Moochers by Just+Some+Guy · · Score: 2, Interesting
      Suppose, for instance, this guy drops the name due to the expenses and someone else picks it up...

      ...or does what I'd do, and find out if any NTP replies can crash DLink's hardware. Move my real NTP server to a new IP and hostname and start advertising that, then start serving bad packets on the old address.

      DLink might be more interested in fixing the problem if 75% of their hardware was returned each month for random failure.

      --
      Dewey, what part of this looks like authorities should be involved?
    8. Re:Moochers by mpe · · Score: 2, Informative

      Startum 1 servers aren't "expensive" nor are they a limited resource; any time server that pulls its timebase from GPS, for example, is stratum 1.

      The problems come where you have embedded devices which have a small number of (S)NTP servers hardcoded. This can easily create a distributed denial of service, especially since a coder likely do this is also likely to make other mistakes in their implimentation.
      If the idea is for the device to autoconfigure it needs to be picking randomly from a large list or able to discover which server(s) it should be using. e.g. DHCP, SLP, etc.

  3. Couldn't they filter by MECC · · Score: 2, Insightful

    I'd think they could just firewall off just their ntp servers, and only allow certain networks in - their networks. Of course, it wouldn't be open anymore, but with PHBs trolling around like daleks, opening things up the general internet public is getting more and more difficult.

    --
    "We are all geniuses when we dream"
    - E.M. Cioran
    1. Re:Couldn't they filter by DES · · Score: 4, Informative

      A good idea, but not easily doable, since the allowed networks include most of Denmark. He would have to filter traffic based on the AS of the sender; this would require a full BGP feed and probably also a continuously updated mirror of the RIPE database.

    2. Re:Couldn't they filter by grimwell · · Score: 2, Informative

      Because there are ~2000 legit users of his ntp server. But in the end that is probably the solution he'll have to do... rename his ntp server, allow legit users to update their config and then point gps.dix.dk at a collection of boxes on D-Link's network.

      --
      If the govt becomes a lawbreaker, it breeds contempt for law, it invites man to become his own law, it invites anarchy
    3. Re:Couldn't they filter by b1t+r0t · · Score: 2, Insightful
      After all, wouldn't everyone else not be affected since the NTP pool can re-route the traffic to the new server?

      What the hell are you babbling about? There's no such thing as an "NTP pool" that can "re-route" anything. The D-Link just has a hardcoded list and keeps trying whichever ones it feels like until it gets a response.

      And if he renames his server, he just breaks it for the people who are supposed to be using it. He could try creating an alias for his server and convincing his users to switch over a period of time, but the abuse would still keep coming during that time. And that still doesn't stop the DNS queries. Also note that in the Netgear case, IP numbers were hard-coded, so no "renaming" could be done, and it was nearly impossible to filter the traffic early enough to make a difference.

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
    4. Re:Couldn't they filter by pla · · Score: 2, Interesting

      What the hell are you babbling about? There's no such thing as an "NTP pool" that can "re-route" anything.

      Pot, I'd like to introduce you to Mr. Kettle.

      Try pinging "pool.ntp.org". Now you now what the hell the GP babbled about.

      The NTP server in question does not (so far as I know) participate in the open NTP pool, but that fact differs drastically from saying "There's no such thing as an ``NTP pool`` that can ``re-route`` anything".



      And if he renames his server, he just breaks it for the people who are supposed to be using it.

      "Gee, I have to PAY 80% of my bandwidth cost to let an abusive user keep using my FREE service". Something there doesn't quite sound right, eh?

      I don't really see the problem with just changing the address, and in his situation, I don't think I would have even bothered trying to contact D-Link about the issue - I'd just make the change email the users that asked permission (proper NTP-etiquette says that you should always ask first, though server admins almost never turn anyone down), and leave it to the users to change over). It doesn't matter if he has 10 or 10,000 users - It only takes about 15 seconds to change one entry in an ntp.conf.

      For an example, I keep my masquerade box sync'd as a stratum-3 to a dozen timeservers, and every now and then, one will change. If the admin emails me, I just update my list; if not, a few months later I might notice that one server has stopped sending me data and I pick a new one. Not the end of the world - Not even enough of a problem that I even notice it except by pure chance. And unless all twelve went down without me noticing, NTP will intelligently just use the ones that do still respond (and even if they did all die, NTP learns your machine's hardware drift well enough over time that you'd still probably stay accurate to within a few seconds per year).

  4. Easy fix by mcgroarty · · Score: 4, Funny

    If he can detect that the majority of connections are from D-Link products, then he can detect which connections are from D-Link products. The easy solution? Whenever a D-Link product connects, report a very very wrong time. :)

    1. Re:Easy fix by holdenholden · · Score: 5, Informative

      He says that such a solution is hard to implement on Cisco, and would be too CPU intensive. FTFA: "Filtering the D-Link packets requires inspection of fields which are not simple to implement in Cisco routers, and in particular such filtering seems to send all packets on the interface through the CPU instead of fast switching, so ingress filtering the packets at the ingress of AS1835 is totally out of the question."

    2. Re:Easy fix by gstoddart · · Score: 2, Insightful
      If he can detect that the majority of connections are from D-Link products, then he can detect which connections are from D-Link products. The easy solution? Whenever a D-Link product connects, report a very very wrong time. :)

      Except, he'd still end up paying the $8000 USD bandwidth fees for the privelege of lying to people he'd rather not be connecting to him in the first place.

      An awfully expensive practical joke, don't you think?

      So he's stuck paying the bill, unless he wants to disconnect his legitimate users.
      --
      Lost at C:>. Found at C.
    3. Re:Easy fix by Ilex · · Score: 2, Funny
      Thus making all D-link hardware wonky.


      From my experience with DLink I doubt many people would notice any difference.
    4. Re:Easy fix by Anonymous Coward · · Score: 2, Funny
      hard to implement on Cisco

      Then pehaps he should find a better router vendor. I hear this company called dlink sells routers, perhaps the'd be better.

    5. Re:Easy fix by gstoddart · · Score: 2, Informative
      How long do you think D-Link would take to remove his ntpd from the firmware if having his ntpd makes the D-Links look defective? Hint: Support phone calls cost D-Link $$$.

      How long do you think it would take most people to even notice? I bet most people have never heard of NTP.

      How many people do you think are likely to upgrade their firmware? The ones they've already shipped are doing this.

      Hint: If this is a default setting that people are unaware of, they will never cause a suppport call to happen, but they will continue to affect this guys bandwidth bill.

      As he pointed out, had D-Link done this differently, they could have redirected the NTP from within their own organization. As it is now, it's a burned in value that isn't likely to change.
      --
      Lost at C:>. Found at C.
  5. Hasn't anybody at D-Link heard of by bersl2 · · Score: 5, Insightful

    pool.ntp.org?

    1. Re:Hasn't anybody at D-Link heard of by fruity_pebbles · · Score: 4, Informative

      The pool guys have been talking of implementing a $company_name.vendor.ntp.pool.org setup. Having the $company_name specificity would allow them some leeway if an individual vendor does something silly. I don't know if any vendors have bought into this though.

  6. Re:Im confused by Nohea · · Score: 5, Informative

    NTP server use is tiered. So client PCs are not supposed to hit the tier 1s, they should hit 2nd tier or a local ntp server.

    You don't use the root DNS servers for all your DNS requests, right?

  7. Re:Im confused by phil+reed · · Score: 5, Informative

    Yes, you're confused. And, you didn't read the article. The author is pissed because he's running an NTP server intended to be accessed only by Danish networks, and for use by servers, not clients. D-Link products are only marketed to clients, and not just Danish clients.

    --

    ...phil
    "For a list of the ways which technology has failed to improve our quality of life, press 3."
  8. Repost of Digg comment by Bogtha · · Score: 4, Informative

    If there's one thing I hate more than incompetence, it's people who don't care that they are incompetent and carry on churning out crap regardless of the problems it causes others.

    According to this page, D-Link have an office operating in Denmark. This makes them subject to Danish law whether they like it or not. I don't know whether Denmark's computer crime laws cover this, but it wouldn't surprise me.

    --
    Bogtha Bogtha Bogtha
  9. pool.ntp.org by martin · · Score: 2, Insightful

    Should be using pool.ntp.org surely........

    or am I being daft again..

  10. Blacklist time by phil+reed · · Score: 3, Insightful

    Time to add D-Link to the hardware vendor blacklist. Whenever you're asked by your non-tech friends what hardware they should buy, recommend anything BUT D-Link, and tell them to actively AVOID D-Link.

    --

    ...phil
    "For a list of the ways which technology has failed to improve our quality of life, press 3."
    1. Re:Blacklist time by bhtooefr · · Score: 2, Informative

      I already have done a complete 180 on recommending D-Link, since much of the D-Link equipment I use and work with has failed spontaneously.

      And that was BEFORE this.

    2. Re:Blacklist time by Anonymous Coward · · Score: 2, Informative

      Actually there are some pretty good alternatives out there.
      I have been using and recomending both SMC and Asante products. They work flawlessly and the price is good too.

    3. Re:Blacklist time by IDontAgreeWithYou · · Score: 2, Funny

      I've done the calculations. In five years the geek community will have to manufacture everything they use themselves from raw materials that they dug up themselves, because every manufacturer will blacklisted for some petty reason or another.

      --
      Finding other idiots on /. that agree with your opinion doesn't make it any less stupid.
    4. Re:Blacklist time by RedBear · · Score: 2, Insightful

      Time to add D-Link to the hardware vendor blacklist. Whenever you're asked by your non-tech friends what hardware they should buy, recommend anything BUT D-Link, and tell them to actively AVOID D-Link.

      I always wonder about something whenever someone suggests boycotting an entire company's products like this because of a few little problems. Namely, which perfect heart-warming angel company am I supposed to shop with from now on? Don't Linksys, Netgear, Belkin, IOGear, etc. all have their own problems? Last time I checked Belkin was building some seriously boneheaded ideas into their routers, and got burned for it pretty bad. Are we supposed to build our own routers out of Linux boxen or something to satisfy your outrage over some technical glitches? Please get over yourself unless you can provide us with a good argument that Company X is somehow immensely more evil than companies A, B, and C. We have to get our cheapo networking equipment somewhere.

    5. Re:Blacklist time by bzipitidoo · · Score: 2, Interesting
      Well, first D-Link did a boneheaded thing in their default setting. No problem. Some noticed and tried to tell them. Maybe a stupid incompetent mistake, but at this point an honest one. But D-Link is refusing to fix the problem, and behaving poorly and childishly. That's more serious. They're like a kid who accidentally knocked a glass off the table and then denied breaking it even though you were right there and saw the whole thing happen. Would any of you let your children get away with b.s. like that? No way! Do you want to deal with a company that treats people that way? I don't. Now if this was the only bad thing D-Link had ever done, I would agree that a permanent boycott of all their products is unreasonable. But I've heard too many stories, as well as been burned personally by their lousy equipment. It was no fun having to redo a bunch of network installations because their miserable cards screwed it all up by dropping just a very few bytes. Made it fail after going all the way thru the installation. I don't have to consciously boycott them. I simply avoid their products because I want equipment that isn't going to give me grief. I'd be happy to buy their stuff if they clean up their act. Until then, no sale.

      What do you do when every networking company carries on like that? You can't boycott them all, right? I can, and I will. If I have to do it myself to get decent equipment, then that's what I'll do. But there's no need. There is a fair amount of decent stuff out there. You just have to hunt for it. Recently, I bought a new router/hub/firewall. Took me 3 tries to find one that was acceptable. It's annoying to have to wade through product reviews, keep an eye on whatever you get for the first few days to be sure it's working right, and return the bad stuff, but there is enough crap out there you have to do it. Buying and returning bad products hurts them more than a simple boycott.

      BTW, if you're curious, the acceptable router was an SMC 7004VBR, and the bad ones were a Linksys WRT54G and a Trendware-- I forget the model number, but it had an extra feature, a USB printer port.

      The Linksys was especially disappointing after reading all the rave reviews in favor of it. Linksys really spoiled the WRT54G when they changed from version 4 to version 5 at the start of the year. There was one other bad thing that they fixed in spades. Older firmware versions would get you banned from dyndns.org for abuse. Very similar to what D-Link is doing to this NTP server. Not only did Linksys fix it, they went to the trouble and expense of getting dyndns.org to certify the WRT54G. Most routers just use dyndns; they don't bother with certification. Compare that to D-Link's behavior over this NTP problem. Too bad version 5 of the WRT54G was such an otherwise poor router. I'd try Linksys again sometime because their handling of their dyndns problem shows me they're trying to improve, and they do have the reputation of being the best at the wireless networking.

      --
      Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
  11. Re:Im confused by Chyeld · · Score: 4, Informative

    He hosts a NTP server with the intention of it being used by a certain audience. He's not pissed people outside of that audience are using the server, he's pissed that D-Link decided to abuse the service he's providing and now the overwhelming majority of the people using his service are outside the intended audience.

    Sorta like how server admins get pissed when an article posted on their site causes them to be Slashdotted.

    And honestly, the fact that D-Link is acting in the way it is while he trys to get them to resolve the issue probably isn't helping matters.

    Then again, as a former owner of a D-Link product which rebooted itself anytime I went over 50 simultaneous connections (think P2P), I don't doubt they'd be too cheap to actually just run their own.

  12. I just bought a DI-624+ by Aggrajag · · Score: 3, Informative

    The DI-624+ is not on the list and it is possible to manually change the NTP server which the router uses.

  13. Never buying D-Link again! by niskel · · Score: 2, Interesting

    I have never once had a good piece of D-Link hardware. I bought both the DI-624 wireless router and the DWL-G520 PCI wireless card. First up the router didn't do UPNP properly; it simply did not work. A call to tech support told me to upgrade the firmware because they knew that UPNP simply didn't work. After the firmware upgrade, port forwarding didn't work at all either. No solution for the router yet. As for the wireless card. After installing it, my system would completely hardlock after about 5 minutes of use. I called D-Link tech support and had to deal with all the questions for clueless people such as "Do you have the drivers?" and "Is it plugged in right?". After being elevated two or three tiers of tech suport, I was finally able to get an RMA. I sent the card to D-link and waited a week or so for my new card. I plug in the new card and what happens? Same deal! Hardlock in 5 minutes of use! Now I have to wade through tech support all over again and end up getting another RMA. Wait another week; new card makes not one lick of difference. So I decide, I will just return the bugger to the store. The store wouldn't take it back because it has been 30 days since I baught the card! 30 days of tech support and RMAs. I call D-Link once more. This time I get to top level tech support and the guy said "Oh yeah, that card doesn't work with certain VIA chipsets, sorry.". I am quite annoyed because it says nothing of the sort on the box of the card. So I politely ask that since the card doesnt work as advertised if I could have a refund. He said "Oh no, we can't do that it is against our policy.". He then offered me an 802.11b card for a $15 administration fee.

    1. Re:Never buying D-Link again! by utexaspunk · · Score: 2, Insightful

      I had heard a lot of complaints like this about D-Link hardware and had thus avoided them when purchasing network products. But a few months ago, I was in the market for a wireless router. I started off with a Netgear router because I had good success with one of the old purple metal boxes I bought a long time ago. I live in an apartment with a lot of nearby wireless networks, so perhaps the SNR was just too small, but I was constantly losing the connection. Even the wired ethernet connection would drop off momentarily on a regular basis. I fiddled with it for a long time to no avail, so I figured maybe they've gone downhill since moving to the pretty white boxes. When I lived with my parents for a year after college, they had a Linksys WRT54G that seemed really reliable and powerful (although their aluminum siding and roof probably didn't hurt) so I exchanged the Netgear for a Linksys. No problem with the wired connection, but again the wireless problems persisted.

      I decided I'd get smart about it and look at reviews online and I saw a lot of good reviews for the D-Link DI-634M. I was a little wary because of what I'd heard before, but I went ahead and gave it a shot. Let me tell you- this thing is GREAT. Set up was a breeze, I didn't have to fiddle with anything, the signal is strong and steady from all over the apartment and in our courtyard downstairs -enough even the wired connection is noticably faster. Maybe the company has had a turnaround, or maybe this product is just an exception, or maybe it's due to fail on me at any minute, but so far I've been quite impressed with this product. YMMV.

    2. Re:Never buying D-Link again! by plague3106 · · Score: 2, Insightful

      I have to disagree; I have nothing be dlink routers and wireless adapaters, and they all work fine for me. I never had a problem with them.

  14. Re:Im confused by 99BottlesOfBeerInMyF · · Score: 4, Insightful

    So let me get this straight... this guy hosts an NTP server and is pissed because... its being used as an NTP server?

    If I set up an NTP server, say for my university, and left it open for others, I also might think it a bit unorthodox if a multinational corporation hardcoded all there gear (which was deployed internationally) to query it. This is for several reasons. First, it generates unneeded bandwidth and violates convention by not using a local NTP server. Second, it means thousands of people are relying on one person for their gear to work properly, a person the company did not even bother to consult. What if he decides to change the time by five hours, just for fun? It is bloody irresponsible of the manufacturer to give him that option. And what happens if the server is deprecated or the hostname and IP changed in a reworking of the network? Tons of wasted traffic as they ping his IP space.

  15. He's not just any guy. by Anonymous Coward · · Score: 2, Insightful

    He's not just any guy. He is one of the main FreeBSD developers. His work is used directly and indirectly by millions of people (yourself included) each day. It's even quite possible that D-Link uses FreeBSD.

    When we see how much this man gives to the community for free, and the extremely high-quality of his work, I can't but help support him in this matter.

    I, for one, would consider donating to a fund to help him battle this menace, even though I'm not a Danish citizen. I would hope that Netgear, Cisco and others would help him financially, as well.

  16. Re:Fishy by rycamor · · Score: 2, Insightful

    And it never occured to him to systematically unplug each device to see if it was the one causing the problem and then spend $99 on a new router? Something seems mighty fishy to me.

    Either this is a very weak attempt at a troll, or an incredible demonstration of ignorance.

  17. D-Link ha! by SpaghettiPattern · · Score: 2, Informative

    I own a D-Link Ethernet ADSL modem and guess what, the local IP adress is fixed to 192.168.0.1. Nope, no changing that thing. If I had known beforehand... I had to completely renumber my network. I only had 8 NICs and two LANs but was pissed off nevertheless.

    --

    I hadn't the slightest objection to his spending his time planning massacres for the bourgeoisie... (P.G. Wodehouse)
  18. Re:just change the DNS by thinkliberty · · Score: 2, Insightful

    if you dont want people to use your NTP server then logic would dictate dont set one up in the first place

    That is one of the dumbest things I have ever heard.

    Using your twisted logic there is nothing wrong with spammers sending people hundreds of thousands of unsolicited commercial email a day. If people don't want spam then they should not have set up an email address right?

  19. Re:Im confused by honkycat · · Score: 5, Insightful

    He followed standard protocol for NTP servers, which is to list the restrictions on the use of your server with its entry on the NTP server list. System administrators are supposed to check this to make sure they're not making an unauthorized connection. They're also supposed to contact the NTP server administrator to let him know they're using the server, unless the server admin states otherwise.

    You can learn all this and check the list to be sure you comply within 10 minutes thanks to the power of Google. Any responsible company would know this and do so. D-Link made a big mistake (not in terms of the impact on them, sadly) and is evidently refusing to own up.

    As others have pointed out, it's not easy to implement the restrictions that would enforce the access policy. It's also sad, though not surprising, that one would have to. It'd be one thing if the server was the target of script kiddie DOS attacks, but a legitimate company selling network products really ought to know better (and care).

  20. Re:Why didn't he take the "bribe"? by bloodredsun · · Score: 4, Informative

    Sorry to correct your rant, but he does say in TFA that the offer was so low that it didn't even cover his costs. That would be a good enough reason to say no wouldn't it?

  21. wrong easy fix. try this... by swschrad · · Score: 5, Interesting

    send a private communication to the authentic users (not the robot moochers from D-Link) that on date X, the new IP service address will be unhacked.gps.dix.de or whatever suits him.

    on date X, send bogus packets in response... not just wrong time, but seriously wrong time, like a packet with time of 9s in all fields, which would be most seriously wrong.

    hopefully, it would lock up the offending junkpiles, and clear the problem right smartly.

    the general idea in engineering an end to these things is to find a way to blow up the crooked machine by a seriously wrong entry that will screw up the internals. since they took an ugly and cheap shortcut by using firmware tables, they probably don't error-check their inputs from NTP and other services. so there should be a memory jump and a crash in those pirate boxes someplace.

    and that puts the onus back where it belongs, on supercheap designers for obnoxious companies that don't give a shit about network etiquette. the market will punish them. that's how it should be for slap-happy outfits.

    --
    if this is supposed to be a new economy, how come they still want my old fashioned money?
  22. They're clearly wrong here by MikeRT · · Score: 5, Insightful

    So why didn't they just own up to the mistake, update the firmware and cut him a check for his expenses plus a 5% or so to apologize for the inconvenience? Bureaucrats and lawyers who cannot admit that they are wrong only end up creating more public disgust with their behavior. When you find yourself digging a hole, stop digging!

    1. Re:They're clearly wrong here by rAiNsT0rm · · Score: 2, Insightful

      Whoa, Whoa, Whoa here! You tryin to get yourself sued or have men in black suits show up at your door?!?

      let's get this straight, businesses taking responsibility for their mistakes, paying restitution to the poor bastard who was wronged with a little extra compensation *instead* of paying four times the amount to a lawyer and the guy getting a check for $40 and a free happy meal? Preposterous!!!

      Seriously, between this and the paper I read about tying congressional pay raises directly to minimum wage increases it almost seems like Americans are finally waking up and starting to get tired of being walked all over like a doormat. Nah, must just be April Fools.

      --
      http://teasphere.wordpress.com - A little spot of tea
    2. Re:They're clearly wrong here by TubeSteak · · Score: 2, Insightful

      Big companies tend to treat certain groups of people like terrorists (we don't negotiate with terrorists) because they're afraid that if they give money to one of them, more will come out of the woodwork.

      Your solution might be obvious to us, but when it's your money... you might do what they did and just hope the guy goes away. Like TFA says, he can't afford to sue them, so other than publicly shaming D-Link, all he can do is bugger off.

      Either way, I hope some idiot programmer(s) gets fired at D-Link. You shouldn't have someone writing firmware if they don't know best practices & I don't know of many companies that wouldn't fire someone who screwed up so visibly.

      --
      [Fuck Beta]
      o0t!
    3. Re:They're clearly wrong here by DES · · Score: 4, Informative

      No, he can't "just firewall the server" and "tell the few people that would affect". There are thousands of legitimate users distributed across thousands of ASes covering thousands of IP ranges which may change from day to day or even hour to hour. His server is directly connected to the core switch at the Danish Internet Exchange, where all major Danish networks exchange BGP routing information and domestic IP traffic, and its purpose is to provide a stratum-1 reference for NTP servers on these networks. To determine which IP ranges may legitimately access his server, he would need a full BGP feed and a continuously updated copy of all as-block and aut-num records in the RIPE database.

  23. D-Link is just a bad net citizen by cdrudge · · Score: 4, Interesting

    It's not the first time that D-Link's crappy programming has affected a service. DynDNS.com last year started blocking all update requests that match a user-agent of client/1.0, beleived primarily to be several D-Link routers. D-Link has been mum on a response last I heard.

    1. Re:D-Link is just a bad net citizen by Jesus_666 · · Score: 2, Informative

      I ended up writing a simple perl script to handle the updates instead.

      Here's a ready-made Perl-scripted daemon for this kind of stuff: http://ddclient.sourceforge.net/

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  24. Re:Why didn't he take the "bribe"? by sheehaje · · Score: 2, Informative

    .... Well, if you read the article....

    It's not just about money, it's also about client routers using bandwidth meant for BGP routers used by ISP's. It's a public network, but one intended for ISP's to transfer Data, not for Client use.

    He is asking for some reimbursement for the troubles he's endured, but D-Link is saying he is extorting them.

    IMHO, it is a problem D-Link did cause by their incompetence, and what is being asked is reasonable. The problem won't go away totally, because it relies on the average joe customer to actually update firmware, and now he has to deal with the situation for a long time to come. To be able to continue his "free" service, he may now have to pay for bandwidth that was free to him before D-Link wrongly implemented a protocol feature in some of their routers.

  25. Re:Fishy by Mr.+Vandemar · · Score: 3, Funny

    And just when I thought reading comprehension on Slashdot couldn't get any worse...

  26. Wasn't this already patched? by kryptobiotic · · Score: 2, Interesting

    I recently installed the new firmware for my 614+. It was released on 3/20/06 and had the revision info "Fixed NTP." Does anyone know how to find out which NTP server the router is using?

  27. Re:Im confused by typical · · Score: 5, Interesting

    There are three conventions being violated:

    * To keep the network working, the NTP system is tiered. Anything other than a time server used to redistribute time to other machines should probably access a Tier 3 system, or a Tier 2 if that is not possible. It should never hammer a Tier 1 -- this can screw up the rest of the NTP network.

    * There are large lists of NTP servers, and they list access restrictions. As pointed out in the letter, this guy explicitly stated in his access rules that this server was not for client use.

    * As pointed out in the letter, this guy explicitly stated in his access rules that this server was not for use outside of Denmark.

    You may not be used to this sort of thing, because no such set of agreements exists for, say, webservers. However, in the NTP world, network administrators respect these, and it is why the time system continues to work.

    What D-Link is doing hurts all Danish NTP users, and freeloads off a volunteer (D-Link is selling the product and profiting from it -- let *them* handle the traffic and factor any bandwidth costs into their product cost). It opens their product to potential abuse if the server becomes malicious (a properly-designed router would allow the user to specify an NTP server, or if the user is unable to configure a router, to do what the letter suggested and use a D-Link-controlled name.). It violates agreements that have been generally respected by the NTP-using administrator community for many years.

    --
    Any program relying on (nontrivial) preemptive multithreading will be buggy.
  28. Why not rename the server by 91degrees · · Score: 3, Insightful

    Change the DNS name. Granted, he gives reasons for not wanting to do this, but the only practical alternative is to shut down the server entirely. This will still require 2000 or so system administrators to reconfigure their servers, so he might as well provide a logical alternative.

  29. OS fingerprint filtering with pf by DeBeuk · · Score: 2, Informative

    FreeBSD uses pf (well, it can use pf if you want to) as a packet filter. It has the wonderful option to filter traffic according to the OS fingerprint, as in you can block traffic originating from specific operating systems. I'd advice this guy to block all traffic from these dlink devices.
    If there's no fingerprint on record yet you could generate it yourself, it's not that difficult to generate one.

    --
    Reality has a notoriously liberal bias -- Stephen Colbert
  30. Stupid idea.... by JaJ_D · · Score: 2, Insightful

    ...why don't you change the one they (D-Link) use to (basically) lie about the time! Deliberatly send out the wrong information. Altered the config for the customers of dix and let the D-Link customers go mad at D-Link

    Brutal but (in theory) affective....

    Jaj

  31. Re:wrong easy fix. try this... by kindbud · · Score: 2, Interesting

    the market will punish them.

    The market has no mechanism for punishing them. It is completely helpless to deal with this. It takes a sysadmin from a left-socialist country to deal with the things the market cannot.

    --
    Edith Keeler Must Die
  32. Re:A couple of possibilities by jbolden · · Score: 2, Insightful

    I think unauthorized is going to be tough to prove.

    1) The name of the server is public
    2) The address of the server is public
    3) The access to the server is public
    4) No attempt has been made to limit traffic.

    To use your trespass analogy:

    land that borders a public park without a fence without anything distinguishing it from the park.

    More importantly the time doesn't meet the criteria:

    (A) information contained in a financial record of a financial institution, or of a card issuer as defined in section 1602(n) of title 15, or contained in a file of a consumer reporting agency on a consumer, as such terms are defined in the Fair Credit Reporting Act (15 U.S.C. 1681 et seq.);

    (B) information from any department or agency of the United States; or

    (C) information from any protected computer if the conduct involved an interstate or foreign communication;

    ________

    As for theft of service. No way. DLink would need control of the service. I assuming you mean criteria (b) below:

    a) -- deception or threat
    b) -- Knowingly or purposely diverts another's services to the actor's own benefit or to the benefit of a third person, when the actor has control over the disposition of services to another to which the actor is not entitled; or
    c) -- holding personal property beyond the expiration of rental period without consent of the owner." He can't allege anything of the sort.

  33. Re:Fairly simple fix by nsayer · · Score: 2, Informative

    RTFA. He discusses this.

    1. He's already out a bunch of money trying to figure out what happened.

    2. He could change the DNS name, but then every legitimate user would have to change their configuration, and there's no guarantee D-Link wouldn't just update the firmware with the new name.

  34. cname to the rescue by spatenbrau · · Score: 4, Insightful

    I'm surprised phk is screwing around writing long-winded letters. Much faster would have been to just add a dns A-record entry by the name of private-ntp.dix.dk for the legit users and have them use that server. The old gps.dix.dk entry should be made into a CNAME for www.dlink.com. That would put the crushing levels of ntp traffic back where it belonged -- right on Dlink's doorstep.

  35. Block it and watch by mOOzilla · · Score: 2, Insightful

    Block it and watch as the chaos follows with consumers returning "defective" products :)

  36. someone proof read my letter plz by tehwebguy · · Score: 3, Insightful

    ATTN: President & CEO
    17595 Mt. Herrmann St
    Fountain Valley, CA 92708

    I have recently read an open letter to D-Link available at the following URL:
    http://people.freebsd.org/~phk/dlink/

    I must say that I am disgusted with D-Link's poor choice of action. D-Link may
    think that abuse such as this will go un-noticed, but that is not the case.

    While I don't expect my actions to bring your corporation to its knees, I am the
    "geek" of my family, and I have taken a personal stand by ordering Linksys
    products to replace any and all of the D-Link networking gear that my parents,
    siblings, cousins, and roomates are using. I hope that my sacrifice puts a dent
    in the damage your corporate negligence has caused Mr. Kamp.

    --
    -- lol pwned
  37. Poul-Henning clarifies by phkamp · · Score: 5, Informative

    Let me clarify a number of details here.

    1. My server has not replied to the packets sinde the CodeRed virus/worm abused NTP servers to coordinate attacks. That was a couple of years ago. I doubt D-Link ever even tried to test this.

    2. NTP is a timing protocol. You do not want to do expensive and timeconsuming filtering on the packets because that disturbs your timing performance.

    3. If I have to sue D-Link, it will be either in USA or Taiwan. Both their Danish marketing office and the UK european office will be able to deflect a lawsuit to their mothership.

    4. If you download a firmware file from D-Link, it is often a ARJ archive. unpack that and run strings. If you see GPS.dix.dk in there, please use another version. If the firmware you run is older than about a month, please update it.

    5. The list of products in my open letter is unlikely to be complete, those are the only ones I have been able to positively identify (using the method above). If you find out other products are affected, please email me.

    6. We do have a number of very interesting sections of our penal code here in Denmark that are very likely to apply. Only problem is, they havn't been tried in a court yet. So I have to persuade an overworked criminal inspector to raise a criminal case against a foreigner over a, lets face it, quite small monetary amount. Then I have to spend a lot of time making sure that we convince a judge who have never heard of NTP that they are guilty and then if I win, I can see some D-link manager make a checkmark in their pocket book: "Remember to not visit Denmark under true name". I have better things to use my life for.

    I can see a couple of hits from a C-class belonging to "D-Link Irwine": please escalate this guys, your bosses don't read slashdot.

    Thanks for all the supportive email.

    Poul-Henning

    --
    Poul-Henning Kamp -- FreeBSD since before it was called that...
    1. Re:Poul-Henning clarifies by Spaceman40 · · Score: 2, Insightful

      I figured - I mean, it depends on how they store their strings, definitely. At the very least, you could open up a plaintext editor (vim or whatever) and change it to another name with the same length, but you'd have to make sure you changed it wherever it appeared.

      Even so, it doesn't fix the underlying problem: D-Link is using level (my vocab escapes me) 1 NTP servers for mass-produced client hardware, with only a firmware way of changing them. There are several problems just there that won't be fixed by changing this one name.

      --
      I [may] disapprove of what you say, but I will defend to the death your right to say it.
    2. Re:Poul-Henning clarifies by jeavis · · Score: 2, Informative

      The problem is that he gets a free ride at DIX based on his server using only a nominal amount of bandwidth. The UDP traffic he's receiving is more than DIX is willing to tolerate for gratis colocation, and there is no reasonable way to stop it on the receiving end.

    3. Re:Poul-Henning clarifies by mpe · · Score: 3, Insightful

      I can see some D-link manager make a checkmark in their pocket book: "Remember to not visit Denmark under true name".

      Can't that easily be re-written to "Remember not to visit the European Union"?

    4. Re:Poul-Henning clarifies by Kazymyr · · Score: 2, Interesting

      I own a DI-604. I just went to D-Link's support site and tried to download the latest firmware for it. There wasn't any. I poked around, nothing. I went to their FTP site, the directory that should have held firmware upgrades was empty. Poked around in other directories, many firmwares for other routers are also missing.

      Looks to me like someone is covering tracks.

      --
      I hadn't known there were so many idiots in the world until I started using the Internet -Stanislaw Lem
  38. Osama Bin Laden by Skapare · · Score: 2, Funny

    D-Link must be run by Osama Bin Laden. That's why no one can be reached (hiding in the mountains of the Afghanistan and Pakistan border). Obviously, this attack has something to do with that cartoon thing.

    --
    now we need to go OSS in diesel cars
  39. D-Link Business Development by Qbertino · · Score: 4, Interesting


    Ok, let's do some good. Are we slashdot, or what?

    D-Link Business Development and Strategic Partnerships, E-mail: bdm@dlink.com

    >>>
    To whom ever it may concern:

    Hello.
    I just learned of you companies notably persistent inability and unwillingness to deal with a serious design flaw in a growing range of your products. This flaw is severly disrupting internet services for a large amount of internet participants and even though you have been informed in detail of these effects your products are having, you have done nothing of substance to resolve the issue and compensate for the damage done.

    Until I learn that the issue described in the open letter do D-Link, available under http://people.freebsd.org/~phk/dlink/, was resolved in a professional and mutualy satisfying manner I will not purchase any D-Link products and will strongly discourage anybody asking for my expertise as a professional in the IT field from buying D-Link products or from engageing in any sort of business relationship with D-Link.

    Sincerely
    An Internet User

    Mistakes in this one? Please post corrected version below and then add a 'mailto' link to the address.
    Grammar Nazis, it's your turn!


    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:D-Link Business Development by tengwar · · Score: 2, Funny
      Dammit, I refuse to visit any town where there's a reseller of D-Link products.

      Nuke them from orbit. It's the only way to be sure!

    2. Re:D-Link Business Development by Anonymous Coward · · Score: 3, Funny

      Could you also mention that they still owe me $15 for a rebate. Thanks.

    3. Re:D-Link Business Development by Todd+Knarr · · Score: 2, Funny

      I sent the following:

      Date: Fri, 7 Apr 2006 10:09:27 -0700 (PDT)
      From: Todd Knarr <xxxx@xxxxxx.xxx>
      To: sale@dlink.com, customerservice@dlink.com
      Subject: DLink router use of Danish NTP server

      This is in reference to the open letter to DLink from Danish sysadmin Poul-Henning Kamp (http://people.freebsd.org/~phk/dlink/). Abuse of an NTP server in express violation of the service agreement in the Stratum-1 server list is, in my opinion, inexcusable. Willful refusal to correct the abuse when requested is, if anything worse. Hard-coding the server name into the firmware, so that changes are difficult or infeasible, as opposed to DLink maintaining their own DNS records so that changes are simple, is also inexcusable in any technically-competent organization.

      I have been comtemplating purchase of a DLink DI-784 router/AP, a DWL-7100AP access point and a DWL-AG660 CardBus adapter. If DLink doesn't correct their error as Mr. Kamp asks, I will be taking my purchases to NetGear instead. They, at least, have demonstrated a willingness to fix their mistakes when asked. I will also be recommending to my friends that they avoid DLink products in the future.

      One customer, voting with his dollars.

      We'll see what kind of response I get.

  40. Re:List of Affected Products: - ERR Wrong Answer by MerlynEmrys67 · · Score: 4, Informative
    Can you please show me where the Source MAC address exists in an IP packet that has been forwarded over the internet from (for example) the United States - to a server in Denmark?

    Now that you look at your ethernet sniffs (I assume you just went running off and ran ethereal) look at the source ethernet address... Hmmmmm - doesn't that look familiar, like maybe it looks kinda like your first hop routers MAC address.

    Nice try -

    Thank you, Come Again

    And please read either Stevens or Comer before posting on networking topics again

    --
    I have mod points and I am not afraid to use them
  41. Path to Justice by doublem · · Score: 5, Interesting

    1. Buy the domain name off this poor guy / arrange for alternate hosting if it can't be sold.

    2. Take a collection from the /. community to set up an alternate server.

    3. Wait a month for all the legitimate users to switch to a new URL.

    4. Fire up a server at the old URL reporting Midnight, Jan 1, 1900

    5. Let D-Link deal with users accusing D-Link of failing to sell a Y2K compliant product in 2006.

    --
    "Live Free or Die." Don't like it? Then keep out of the USA
  42. rewritten for clarity by Anonymous Coward · · Score: 2, Informative


    Dear Sir or Madam,

    I have learned of your company's persistent unwillingness to deal with a serious design flaw in a growing range of your products. This flaw is disrupting internet services for a large number of users. You have been informed in detail of the problems you are causing, and you have done nothing of substance to resolve the issue and compensate those involved.

    The issue I refer to is described in the "open letter to D-Link", available at http://people.freebsd.org/~phk/dlink/.

    Until this problem has been resolved in a professional and universally satisfactory manner, I will not purchase any D-Link products and will act in my capacity as an I.T. professional to discourage others from doing so.

    Sincerely,

    Writing Style Nazi

    (I'm not a spelling nazi, so please check this again)

  43. Re:wrong easy fix. try this... by SatanicPuppy · · Score: 2, Insightful

    The real issue is, as no one seems to be recognizing, that you have to set your desktop machine to connect to the router, and sync the time.

    And since D-Link is not a brand with a great reputation in the segment of the population who knows HOW to do that, all we're going to end up with is a bunch of routers with crewy internal time, and a bunch of clueless users who will never know it.

    --
    ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
  44. No... by way2trivial · · Score: 3, Interesting

    Consider this. To use NTP, they have to use it to spec.

    open specifications are still the property of the creators. (kinda like the GPL)
    they are licensed to 'the world' to use, so long as the specification is followed.
    the spec in this case, includes disallowing certain services to certain levels of useage

    So, the creators of NTP spec can (in an extreme beyond all belief example)
    deny d-link further permission to use NTP at all.

    Further, if they are not following the spec (honoring requests by the NTP server not to be used
    in this manner) you could as the owner of one of the devices(one again, extreme example)
    sue d-link for advertising/listing on the box of the products in question,
    for saying they are ntp capable- when it's proven they are not compatible with the spec.
    (the spec that includes respecting requests not to be used in this manner)
    what are your damages? at least the cost of the affected hardware.

    --
    every day http://en.wikipedia.org/wiki/Special:Random
  45. cname isn't enough by Terje+Mathisen · · Score: 2, Informative

    PHK have (of course!) considered moving his box to a new DNS name, the problem lies in the way it is used:

    By moving it, he'll require every single BGP router in Denmark to be reconfigured, if you read his Open Letter you'll notice that he has considered and rejected this option as unworkable.

    Terje
    (Who's been hosting windows ntp binaries for several years now, at http://norloff.org/ntp/)

    --
    "almost all programming can be viewed as an exercise in caching"
  46. Re:WTF??? by LurkerXXX · · Score: 2, Insightful
    Why not just take the money and be satisfied?

    If you'd bother to read the article, you'd see that their offer didn't even cover his most direct expenses, let alone all the inderects this thing has/will cause.

    If you make an open NTP server you don't have any legal rights other than to turn it off

    His NTP server lists it's terms of service. D-link is breaking those. I think a court is better suited to say if this is illegal than some idiot on /. who can't even RTFA.

  47. Email Addresses by wonkavader · · Score: 2, Informative

    customerservice@dlink.com
    webmaster@dlink.com
    analysts@dlink.com
    sale@dlink.com
    broadband@dlink.com
    bdm@dlink.com
    oem@dlink.com
    productinfo@dlink.com
    hr@dlink.com
    edusales@dlink.com
    si@dlink.com

    1. Re:Email Addresses by bp+m_i_k_e · · Score: 2, Informative

      Add the investor relations address (ir@dlink.com.tw) which is attributed to a few different people.

      Gavin Lee
      Deputy Manager, Investor Relations & Corporate Communications
      886-2-6600-0123
      ir@dlink.com.tw

      Tracy Wang
      Media Contact, Investor Relations & Corporate Communications
      886-2-6600-0123
      ir@dlink.com.tw

      A.P. Chen
      CFO
      886-2-6600-0123
      ir@dlink.com.tw

      ralio_sung@dlink.com.tw
      (from http://emops.tse.com.tw/server-java/t58main?TYPEK= sii&page=profiles&list=alphabet&alphabet=D)

  48. Re:Splendid admins over there at pool.ntp.org by ajs · · Score: 4, Informative

    Someone else replied, but let me actually EXPLAIN.

    pool.ntp.org is a collection of volunteer NTP servers, served up via DNS. You should not expect to get meaningful results from pointing a Web browser at such a host name, but because it is random, you could end up hitting Amazon.com (assuming they volunteered) or some guy that just set up an Apache server.

    http://www.pool.ntp.org/ is what you meant, as a simple google search for "pool ntp" would have told you.

  49. Re:WTF??? by LurkerXXX · · Score: 5, Interesting
    It doesn't seem like a moral crusade to me.

    He discovered a problem.
    He contacted the company causing the problem.
    He explained the problem, and simply asked them to fix it.
    They didn't.
    They put him off.
    They threw a lawyer at him to threaten him.
    They offered 'compensation' that didn't come close to covering his costs.

    He was trying to do it all quietly and nicely, not crusading, and they wouldn't have it.

    So instead of going through the often extremely troublesome and lengthy legal procedings (which are even worse than normal since this is an international case), he was hoping to publically embarrass the company into fixing the problem they caused. Seems like a reasonable attempt at a speedy solution, not a crusade.

  50. Easy answer, boycott D-Link by wwphx · · Score: 2, Interesting

    I've owned their products before but never much cared for them, I prefer Linksys & Cisco. But I know consulting people who do like their products, and I'm going to be talking to them today and tomorrow.

    I just sent them the following email:

    "I am a networking consultant, Cisco certified, and I talk to a lot of people about home wireless networking. I will not recommend D-Link products and today will begin actively campaigning against them for the unethical access and trouble that you have given to the GPS.dix.dk NTP server. When you have patched your products and made amends to the owner of the NTP server, then I will consider recommending your products again."

    Their feedback link is on the bottom of their index page.

    --
    When you sympathize with stupidity, you start thinking like an idiot.
  51. Re:wrong easy fix. try this... by jonadab · · Score: 2

    > on date X, send bogus packets in response... not just wrong time,
    > but seriously wrong time, like a packet with time of 9s in all
    > fields, which would be most seriously wrong.

    It would be better, on date X, to just stop the service (at the old, hardcoded-in-the-routers address, leaving the new service at the new address). This is both kinder to end users (who did not know about this when they bought the hardware and probably still don't) and also a better use of network resources.

    Anyway, shouldn't stratum-1 NTP servers reject (or drop) all requests except from known stratum-1 and stratum-2 NTP servers (and maybe stratum-3 NTP servers on certain approved networks)? I thought stratum 2 was where publically open NTP servers were supposed to live, with private ones for local networks on stratum 3 using a stratum-2 server.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  52. Letter to *MY* ISP by Anonymous Coward · · Score: 3, Interesting

    I opened a problem ticket with my ISP (who, incidentally, has been VERY responsive in the past) to try to get them to block or redirect the DNS entry for this dude's NTP server:

    Subject: D-Link Abuse of NTP: Action Requested

    I'm certain that most of the technical staff at speakeasy reads slashdot, so you may have seen this before, but please take a peek at:
    http://people.freebsd.org/~phk/dlink/

    It would make me very proud to be a $ISP customer if $ISP were to redirect *all* ntp traffic pointed to GPS.dix.dk were redirected to pool.ntp.org (or some other round-robin ntp alias). Although D-Link really needs to step up to the plate and do the right thing, I think that this would be an excellent way to lend a hand to somebody providing core internet services for free.

    I'm certain that a good portion of your customer base uses D-Link equipment and any load that can be taken off of this poor guys host will be appreciated. Additionally, if a press announcement is made by $ISP about provding some relief for this guy, it will draw attention to the problem, and possibly other ISP's will follow suit.

    I thank you in advance for your consideration of this issue and am very glad to be a customer of $ISP. I know if I were writing this support request to a Bell company or some other type corporation, it would fall on deaf ears at best.

    -$ISP Customer

  53. Re:Im confused by jonadab · · Score: 2, Informative

    It's a stratum-1 NTP server. Stratum-1 NTP servers are *ONLY* supposed to be used by other stratum-1 NTP servers and by stratum-2 NTP servers, *not* by any random device on the internet. A LAN router should *NEVER* be using a stratum-1 NTP server; it should be using a stratum-3 NTP server if possible, or *maybe* a stratum-2 server, with special permission, under unusual circumstances, if there is no stratum-3 server available. If D-Link won't do anything, this guy's going to have to notify everyone who runs a stratum-1 or stratum-2 server in Denmark, give them time to reconfigure, and then shut down the service.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  54. Re:wrong easy fix. try this... by bani · · Score: 2, Interesting

    if he did that, d-link would probably sue him for damages. this is how corporations think.

  55. Re:WTF??? by LurkerXXX · · Score: 5, Informative
    I would have contacted a lawyer right after step four

    Right, because lawyers are cheap... right.

    I like how he doesn't mention any numbers.
    He already has dedicated hosting, do they charge him $1 per megabyte or something?

    If you'd bother to RTFA, once again, he answers how much the hosting is costing him. He talks about numbers all over the place.

    " because I offer this service free of charge and NTP is a low bandwidth protocol, the organization behind the DIX has graciously waived the normal DKR 27.000,00 (approx USD 4,400) connection fee."

    " the current theory is that I will have to close the GPS.DIX.dk server or pay a connection-fee of DKR 54.000,00 (approx USD 8,800) a year as long as the traffic is a significant fraction of total traffic to the server."

    " I owe $5000 to an external consultant who helped me track down where these packets came from."

    " I have already spent close to 120 non-billable hours (I'm an independent contractor) negotiating with D-Link's laywers and mitigating the effect of the packets on the services provided to the legitimate users of GPS.dix.dk."

    " Finally I have spent approx DKR 15.000,00 (USD 2,500) on lawyers fees trying to get D-Link to negotiate in good faith."

    " If I closed the GPS.dix.dk server right now, wrote off all the time I have spent myself, then my expenses would amount to between DKR 45.000,00 and DKR 99.000,00 (USD 7,300 to 16,000) and several hundered administrators throughout Denmark would have to spend time reconfiguring their servers.

    If on the other hand we assume I leave the service running and that the unauthorized packets from D-Link products continue for the next five years, the total cost for me will be around DKR 115.000,00 + 54.000,00 per year (approx USD 18,500 + USD 8,800 per year) or DKR 385.000,00 over the next five years (USD 62,000). " block the NTP traffic from anything outside his network if it is sooooo expensive for him. You can do that at the ISP level in most cases.

    He also mentions how blocking traffic is not feasible, and why, IF YOU'D BOTHER TO READ THE FUCKING ARTICLE. Learn how to read or STFU about him being an asshole.

  56. Re:WTF??? by bernywork · · Score: 2, Insightful

    Who cares what they were going to pay him? It was less than his costs. It still doesn't solve the issue of what they are going to do about the problem given that they caused it.

    Have you ever worked as a sysadmin or worked admin'ing servers at an ISP? Hell, worked on anything big that has something to do with the internet? Your cable / DSL line doesn't count here.

    --
    Curiosity was framed; ignorance killed the cat. -- Author unknown
  57. Poul-Henning clarifies more by phkamp · · Score: 2, Insightful

    We are not talking HTTP here. Robots.txt does not apply.

    The place where the service restriction is clearly written out, the "stratum 1 list" is the only place where DLink can have found the name of the NTP server in the first place.

    As several posters have pointed out: consumer devices like these have no need to query stratum 1 servers.

    As I said clearly in my letter: filtering will not prevent me from getting hit with bandwidth charges of $8800/year.

    I have not tried sending any bogus return packets because that would hit innocent consumers who bought D-Links defficient products.

    And for the people who could have identified the source of these packets so much faster and easier: Drop me an email, I'll be sure to ask for your help next time.

    Finally, I can see that more than 40 people at D-Link Irwine (192.152.81.0/24) have read the open letter now, please guys: get somebody to call me or email me so we can get this matter settled. (both email and phone# is in the open letter)

    Poul-Henning

    --
    Poul-Henning Kamp -- FreeBSD since before it was called that...
  58. Re:WTF??? by phkamp · · Score: 2, Informative

    Dear Zardo,

    I never use anonomity to hide behind, I have no opinions of which I am ashamed.

    You seem to be missing a very fundamental point in this: I live in Denmark.

    Danish lawyers are not allowed to work on contingency. You get your bill first, then the verdict.

    Therefore, $2500 in lawyers fees is actually not very much over here. If I tried to get this case in front of a judge, I would have to pay something like ten times that.

    Furthermore, you seem to question a lot of things you could have determined for yourself by reading the actual letter I wrote.

    Finally, I have probably done more for the internet and open source than you will ever be able to imagine so if you want to paint me as a simple extortionist, you may have a bit of trouble making people belive you.

    In all likelyhood, I wrote the function which protects your password.

    Poul-Henning

    --
    Poul-Henning Kamp -- FreeBSD since before it was called that...
  59. Here's what I'd do by Introspective · · Score: 2, Interesting

    The problem is really one of economics more than anything else, so the solution has to be cheap.

    He's correct that performing complex packet matching on a Cisco router would load it too much - they just don't have the CPU to do that function for any significant traffic load.

    I would configure the switch that the NTP server is on to have a SPAN port - a port to which all traffic is copied. Most Cisco switches will do this without any problem. On that SPAN port, connect a Linux box with a bit of CPU power - 2GHz would be tons. On the Linux box, setup tcpdump to match the packet patterns that D-Link routers are sending ( from TFA he has this as detected by a network consultant ).

    From the output of tcpdump, extract the source IP addresses. A fairly small perl script would probably do it. Take these IP addresses and massage them into access-lists for the upstream router to block, again perl or TCL/Expect would be reasonable tools. Routers are good at blocking large lists of IP addresses - its not such a load for them as the list gets compiled and pushed onto the hardware. Depending on his router model a few thousand ACL lines would be fine.

    Alternatively, he could use the same approach to detect the non-D-Link source IPs - permit these and block anything else. From his stats of legit -vs- D-Link sources this would result in a shorter access list.

    The only issue here is that a D-Link behind a shared-NAT'd IP address would result in that address being blocked, but there shouldn't be too many of these. And legally he can block anything he wants - his service has no written guarantee to he should be legally safe (yeah, IANAL).

    To keep costs and time down, he can probably get help from the local University ( a cool project for any CompSci students ) to do the code and Linux setup, or help from the local LUG - I'd bet there would be plenty of volunteers to set it up, and I could imagine it being done within a couple of days.

    Kerry

  60. D-Link SOLVED the 'client/1.0' user agent spoofing by Anonymous Coward · · Score: 2, Informative

    1. D-Link update with a USER_AGENT of 'client/1.0' (how original). This violates all published dynamic DNS specifications, be it DynDNS, TZO.COM, no-ip etc
    2. DynDNS blacklists these D-Link routers (block all agents using 'client/1.0')
    3. D-Link responds by changing USER_AGENT to be '$username/1.0' (where $username is your ddns username).

    I'm NOT kidding you. They took the time to do a string change to circumvent blocking, but not solve the problem! Fuck, why not set the USER_AGENT to 'Mozilla' while you're at it. Jerks.
      (earth to D-Link... send at LEAST 'dlink_piece_of_shit/1.0'... or better yet send 'dlink [router:$routerver/firmware:$fwver]' so maybe only SOME of your routers get blacklisted. )

    DynDNS blocks D-link routers. TZO, and no-ip currently do not.

    Who pays for the customer's phone angst? Not D-Link... they've already set Support expectations SO LOW no professional will talk to them.

    I even put one of their fucking routers WAN ports under a packet sniffer, and SENT THEM A HOW-TO on fixing their router! My request was last seen in Mumbai-istan-dia by a script reader named 'Steve'. These people follow RFCs as well as Myspace or GoDaddy. Outsourced Customer service is not going to be proactive about protecting a reputation of their employer's employer.

    D-Link have 6 "OEM developers" who are outside contracters. When they have to fix a bug in one OEM's product, there is NO CODE SHARING with the other development teams. It's the customer's fault for not reporting the bug in every affected model, you see...

    Why should D-Link care about stealing anyone's bandwidth from their own firmware bugs?
    From their perspective, these things still fly off the shelf at Best Buy.

    You can enable dynamic DNS in a D-link, and if you do NOT set the username and password (meaning the DDNS will fail), they HAMMER on the update server. Oh gee, a failed update means RETRY right?
    The motherfucking OEM coders in Taiwan skip reading the specs because they are only written in English.
    If QA doesn't complain, ship it.

    Disclaimer: I work for one of these dynamic DNS companies. Avoid D-Link... go with Linksys or SMC or Buffalo or US Robotics. For the love of god stay away from D-Link PLEASE!

  61. This is how bad it was by Snaller · · Score: 2, Informative

    The guy had help in finding out who it was who abused his service, by Richard Clayton, he writes in his blog about this: "on a typical day he'd receive 3.2 million bad packets (that's 37 a second!). "

    Here he explains how he traced down who was behind, what he calls a DDoS attack: His blog

    --
    If Google really cared they would fix Android Chrome to reflow text, instead of discriminating