Slashdot Mirror


DNSSEC Advances in gTLDs; Bernstein Intros DNSCurve

coondoggie writes "Seven leading domain name vendors — representing more than 112 million domain names, or 65% of all registered names — have formed an industry coalition to work together to adopt DNSSEC. Members of the DNSSEC Industry Coalition include: VeriSign, which operates the .com and .net registries; NeuStar, which operates the .biz and .us registries; .info operator Afilias Limited; .edu operator EDUCAUSE; and The Public Interest Registry, which operates .org." The gTLD operators are falling in line behind government initiatives, which we discussed last month. In light of these developments, Dan Bernstein's push for DNSCurve might face an uphill slog. Reader data2 writes: "Dan Bernstein, the creator of djbdns and daemontools, has created his own proposal to improve upon the current DNS protocol. He has been opposed to DNSSEC for quite some time, and now he has proposed a concrete alternative, DNSCurve. He has posted a comparison between the two systems. His proposal makes use of elliptic curves, while DNSSEC favors RSA. He uses a curve named Curve25519, which he also developed."

179 comments

  1. What a Coincidence! by Anonymous Coward · · Score: 3, Funny

    DNSSEC Advances in gTLDs; Bernstein Intros DNSCurve

    That was the subject of the last spam e-mail to pass my filter!

    1. Re:What a Coincidence! by larry+bagina · · Score: 0

      [citation needed]

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    2. Re:What a Coincidence! by Anonymous Coward · · Score: 0

      [meme needed]

  2. djb has an alternative? by bsdphx · · Score: 4, Funny

    go figure...

    Perhaps he should start his own separate Internet and be done with it. ;-)

    1. Re:djb has an alternative? by Architect_sasyr · · Score: 0, Flamebait

      At least he's less likely to try and identify me to my local government...

      --
      Me failed English...
      FreeBSD over Linux. If my comments seem odd, this may explain...
    2. Re:djb has an alternative? by cjfs · · Score: 1

      So a government backed initiative supported by domain name vendors accounting for 65% of domain names and it says:

      Dan Bernstein's push for DNSCurve might face an uphill slog.

      I think that might be understating it a bit. If it's not, I'm joining Dan's fan club.

    3. Re:djb has an alternative? by Anonymous Coward · · Score: 0

      We could only be so lucky. Fortunately, it would be security experts and people that maintain faulty software out of work!

    4. Re:djb has an alternative? by isny · · Score: 1

      With blackjack and hookers?

    5. Re:djb has an alternative? by darkpixel2k · · Score: 1

      With blackjack and hookers?

      In fact, forget blackjack and djb.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    6. Re:djb has an alternative? by Anonymous Coward · · Score: 1

      You should go and look up qmail. It's in use and has been for years by a helluva lot of servers/domains. The dude's got a damn good record on security too.

    7. Re:djb has an alternative? by jonadab · · Score: 1

      > Perhaps he should start his own separate Internet and be done with it.

      Actually, when DJB speaks of maintaining a "local DNS root", he's very clearly speaking of a local clone of ICANN's root zone, updated regularly from the canonical data. He raises questions in terms of the exact details (how often, what software to use to do it, and whether it wouldn't be better to use http to retrieve a cryptographically signed and compressed root zone data file rather than doing the AXFR zone transfer thing), but in general he's clearly talking about retrieving and using the ICANN root zone data. Basically it's a special type of caching situation, rather than an alternate authority.

      So fundamentally you'd be seeing the same internet everyone else sees.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    8. Re:djb has an alternative? by Anonymous Coward · · Score: 0

      You should go and look up qmail. It's in use and has been for years by a helluva lot of servers/domains. The dude's got a damn good record on security too.

      And he's hampered its success by insisting on coding it to his own init process, etc. So you patch his code to "fix" it, or you install an init process to run his one or two programs. Its been largely unmaintained since its release, except for 3rd party patches, etc.

      I've looked at it, and installed postfix; I really can't imagine a compelling reason for qmail vs postfix.

  3. So what... by whencanistop · · Score: 1

    ... if you can't hack an existing domain to redirect traffic, why don't you easily buy a misspelling and play off people who can't spell the domain properly? And then sell it back to the initial company for a huge profit.

  4. Slow down there by girlintraining · · Score: 2, Interesting

    Okay, a few things;

    1. This Bernstein guy is pushing a new crypto algorithm. Why is it necessary to use a new one when old ones have been demonstrated to be effective and secure? It seems imprudent to use a new and largely untested algorithm to patch critical infrastructure. His reputation should not be a deciding or even motivating factor in the adoption of a new algorithm; Isn't the standard process to submit it to the IETF or similar organization to have it ratified first?

    2. Industry coalitions are great, but this seems to be an attempt to create a new de facto standard controlled by a few large corporate interests, most of which are based in the United States. Isn't this kind of organization exactly what ICANN was created to avoid (I'm side-stepping the controversy surrounding them here)?

    It seems to me they're rushing headlong toward a solution to solve a problem that hasn't yet made a major impact (though the potential for exploitation is substantial), and there is great potential to create an even larger problem here. This is exactly the kind of thinking that needs to be avoided when making infrastructure-level decisions about large, global networks. The Domain Name System is a global resource and an asset to every country on the planet. It is highly circumspect that those countries are presently without a voice in this transition.

    --
    #fuckbeta #iamslashdot #dicemustdie
    1. Re:Slow down there by Anonymous Coward · · Score: 5, Insightful

      ad 1) DNS is one of the few protocols where conciseness really REALLY matters. DNS attempts to answer requests in one UDP packet to avoid the overhead of establishing a connection. Elliptic curve keys are smaller than RSA keys of the same strength. The choice of 1024bit RSA keys for DNSSEC is a compromise (pardon the pun), which isn't necessary with elliptic curve cryptography.

    2. Re:Slow down there by glop · · Score: 4, Informative

      Bernstein says that RSA-1024 bit is not secure as big botnets (or big companies) can break such keys.
      That would defeat the purpose of DNSSEC.
      I wonder what this means for SSL certificates...
      RSA has a wrapup here:
      http://www.rsa.com/rsalabs/node.asp?id=2007
      Apparently they disagree...

    3. Re:Slow down there by Just+Some+Guy · · Score: 2, Insightful

      This Bernstein guy is pushing a new crypto algorithm. Why is it necessary to use a new one when old ones have been demonstrated to be effective and secure?

      Because Dan is Dan and won't be happy unless he writes libdancurve and makes you install it in /crypto/strong/etc/librarees for the next decade because it's under a non-FOSS license. Who know why he does anything he does?

      --
      Dewey, what part of this looks like authorities should be involved?
    4. Re:Slow down there by girlintraining · · Score: 1

      ad 1) DNS is one of the few protocols where conciseness really REALLY matters. DNS attempts to answer requests in one UDP packet to avoid the overhead of establishing a connection. Elliptic curve keys are smaller than RSA keys of the same strength. The choice of 1024bit RSA keys for DNSSEC is a compromise (pardon the pun), which isn't necessary with elliptic curve cryptography.

      I'm neither agreeing nor disagreeing with the technical merits; I'm pointing out a flaw in the political actions of this coalition. Commercial coalitions form when there's money at stake and very often the technical issues are rapidly effaced in favor of how much has been invested in a particular solution. Witness VHS v. Betamax. I'm saying that we (as internet users and administrators) should support an open and transparent process that involves all interested parties, and that all viable options are given equal consideration.

      --
      #fuckbeta #iamslashdot #dicemustdie
    5. Re:Slow down there by Anonymous Coward · · Score: 2, Informative

      Note that ECC isn't a new Crypto Algorithm. Although it is newer than RSA, it's still over 20 years old. ECC is an IEEE standard, and has been standardized by NIST as well. It's also discussed in RFC 4492, and other RFC's as well. The only part that's novel in this treatment is the choice of a particular Elliptic Curve (similar to choosing an Exponent in RSA).

    6. Re:Slow down there by Anonymous Coward · · Score: 1, Informative

      Well, a well chosen elliptic curve can be cracked (as in recover the private key) in exponential time.
      On the other hand with public available algorithms a big number (like those p*q used in RSA) can be factored in sub-exponential time (basically polynomial time). While this complexity is enough for small enough computers is not enough for big clusters or supercomputers.

    7. Re:Slow down there by lgw · · Score: 4, Interesting

      Why is it necessary to use a new one when old ones have been demonstrated to be effective and secure?

      He's pushing a new piece of software, not at all a new algorithm. In particular, Old-RSA-style product-of-primes encryption has been deprecated by the NSA for several years now, and shouldn't be used in any new software. Elliptical curve technology is one of the alternatives recommended by the NSA.

      Bernstein may *be* an ass, but he's not *talking out of* his ass.

      Industry coalitions are great, but this seems to be an attempt to create a new de facto standard controlled by a few large corporate interests

      You've just described almost every successful engineering standard. As someone who has served on an international standards committee, let me say: the standard *is* what the vendors who control the market *do*, otherwise it's just a piece of paper. A useful and productive standards committee is formed when the few large corporate interests (who collectively have most of the market share in some space) get together and say "let's all agree to do things the same way".

      Otherwise you end up with a meaningless standarded ignored by products that represents 90% of a market, like the early days of the HTML "standard". Wow, that's useful.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    8. Re:Slow down there by Sancho · · Score: 5, Insightful

      Keep in mind that what matters is how the encryption is used. I don't think anyone cares to keep DNS requests private. What matters is keeping them authentic. Signing (and having a way to verify the signature) is of utmost important.

      In other words, it doesn't matter that RSA can be broken by large botnets. If it can't be broken as I'm making the request, or before I receive the answer, then it's too late.

      Now if somewhere along the way, someone decided that the goal was to keep DNS transactions a complete secret, then that's another issue. I don't see a general need for this level of secrecy.

    9. Re:Slow down there by Twylite · · Score: 4, Informative

      ECC is not a new crypto algorithm. It has been around since 1985, it is will studied, and it is recommended for use in the US (NIST, NSA Suite B), in the EU (NESSIE project falling under the European Commission), and in Japan (CRYPTREC government project).

      Bernstein has created a new curve for use with ECC; one that is better suited to the requirements of this particular application than other existing curves. He claims to have followed the appropriate practices in generating this curve -- that obviously needs to be verified by suitably knowledgeable experts.

      The "existing algorithm" is RSA, specifically RSASSA-PKCS1-v1_5. There are more secure signature schemes available for RSA, e.g. RSA-PSS. In addition DNSSEC will use 1024-bit RSA keys as a compromise (to reduce transfer size and computational overhead) -- NIST recommendations are that 1024 bits are too short for any purpose.

      DNS forgeries are already having a significant impact - keep your eyes on the security reports.

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
    10. Re:Slow down there by harlows_monkeys · · Score: 4, Informative

      This Bernstein guy is pushing a new crypto algorithm

      No, he is not. He's using an old, well-tested, well-studied algorithm, generally believed among cryptographers to be more secure than RSA.

    11. Re:Slow down there by MichaelSmith · · Score: 1

      He seems to have discovered advanced html techniques such as and so maybe he is learning.

    12. Re:Slow down there by larry+bagina · · Score: 1

      most of his stuff has been re-released as public domain. Is that not FREE enough for you?

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    13. Re:Slow down there by PIBM · · Score: 1

      Somewhere at the beginning of 2002, RSA labs. was already suggesting that 1024 bits keys was not big enough for root corporations and that they should already start using 2048 bits. Which makes it even worst...

      If I remember right, a new computer in the ballpark of 300M would allegedgly be able to break a 1024bits key in a reasonable time by now. How much can a botnet represent ? Is it scaleable for this kind of work ?

    14. Re:Slow down there by caluml · · Score: 1

      Because Dan is Dan and won't be happy unless he writes libdancurve and makes you install it in /crypto/strong/etc/librarees for the next decade because it's under a non-FOSS license. Who know why he does anything he does?

      That is very funny :) I installed djbdns when I was thinking of moving from Bind, and sheesh, it was just odd, and didn't work "right", and didn't support anything like AAAA records, or SRV records, or stuff. It's for people that are very conservative, and are running a Debian version from 1995.
      Plus, the guy seems like a right cock, which in itself isn't a reason to not use his stuff. I'd just rather run a "logical" DNS server like BIND, with a daemon, and a set of config files, which supports recent developments.
      Troll, not troll, whatever. I'm tired. And I haven't posted for a while, so I figure Slashdot is "missing" me.

    15. Re:Slow down there by Just+Some+Guy · · Score: 1

      That would be the "after a decade" I was alluding to.

      --
      Dewey, what part of this looks like authorities should be involved?
    16. Re:Slow down there by Intron · · Score: 0

      It only requires one extra bit if they would just implement RFC 3514. In case anyone thinks it is obsolete, the IETF RFC 3514 Working Group (IETFRFC3514WG) should have it updated for IPv6 by 4/1/09.

      --
      Intron: the portion of DNA which expresses nothing useful.
    17. Re:Slow down there by Kazin · · Score: 1, Informative

      Too bad it does support AAAA records and SRV records. Oh, and it has a set of config files. And works just fine.

      It seems pretty logical to me, BIND is the one that seems backward. Maybe it's because I've been using it since 1995.

    18. Re:Slow down there by Anonymous Coward · · Score: 2, Insightful

      qmail is the first thing many people think of when they hear djb, and the license to qmail kept it in 1995 for 12 years. I'm glad he re-licensed qmail eventually, but the damage to his reputation is done, and many people simply don't want to ride that train again - they see the name djb and think "thanks, but no thanks".

    19. Re:Slow down there by makomk · · Score: 1, Interesting

      The trouble is that elliptic curve cryptography is covered by multiple patents. Using elliptic curve cryptography is also covered by multiple patents. I believe this is true in the EU too, not just the US.

      Basically, if you want to implement elliptic curve cryptography, you have to pay up. Then you may still have to pay up again and again due to further patent holders. As for doing it in open source software? Forget it.

    20. Re:Slow down there by foom · · Score: 5, Insightful

      But DNSSEC uses all pre-computed signatures for the zone data. So if you can break the RSA key, you can create fake signatures ahead of time and serve bogus DNS data. Your botnet has got all the time in the world to try to break that key...

    21. Re:Slow down there by Anonymous Coward · · Score: 0

      If it can't be broken as I'm making the request, or before I receive the answer, then it's too late.

      For performance reasons (root of all evil), the DNSSEC protocol is designed to avoid cryptographic operations on the DNS server. On the plus side, that means that the DNS server does not need to know the private key, which makes it easier to keep the key a secret, even in the face of a compromised server. The downside is that the client cannot expect a response which depends on anything supplied by the client. This makes it feasible to recover the private key by brute force even though it takes "a while" and sign new records, with no way for a client to uncover the swap.

    22. Re:Slow down there by Sancho · · Score: 2, Insightful

      Excellent point. I was focusing on transactions, not the keys. Thanks for pointing out my error.

    23. Re:Slow down there by Just+Some+Guy · · Score: 1

      Too bad it does support AAAA records and SRV records.

      No it doesn't. The official release, version 1.05 on his site, doesn't support serving AAAA records and contains no mention of SRV at all. Go ahead: download and grep for it. There are patch unofficial versions that do all sorts of things, but by that standard any software supports just about anything.

      --
      Dewey, what part of this looks like authorities should be involved?
    24. Re:Slow down there by Onymous+Coward · · Score: 1

      I don't know how DNSSEC is supposed to work. Help me out?

      Isn't the target of cracking, the 1024 bit RSA key, a long-lasting key? The server's public key?

      If so, can't it be broken "as you're making the request, or before you receive the answer"? Indeed, couldn't it even be cracked before you make the request?

    25. Re:Slow down there by xrayspx · · Score: 1

      His elliptical curve is cryptographically secure, he even says so on his web page. And it would be the only DNS solution that will pay you $500 if you site gets hijacked.

    26. Re:Slow down there by PitaBred · · Score: 2, Interesting

      A lot of the reason that Betamax died was because the tapes couldn't hold full length films initially. Standard Beta tapes were 60 minutes, vs 3 hours for VHS. For the "technical superiority" of Beta, VHS was much superior in general usability for the vast majority of consumers. I mean, if you had the choice of recording only 60 minutes of HD, or 180 minutes of SD, which one would be more useful to you, as a person who watches movies, not as a technologist?

    27. Re:Slow down there by HairyCanary · · Score: 0

      You are mistaken. Go to tinydns.org and read -- it's covered on the main page. Hint: "djbdns supports all possible resource record types with a generic syntax."

    28. Re:Slow down there by Sancho · · Score: 1

      Yes, as someone else pointed out.

    29. Re:Slow down there by Ash-Fox · · Score: 1

      Human decisions were removed from DNS defense. DNSCurve began to learn at a geometric rate. It originally became self-aware on August 29th 2009 2:14 am Eastern Time. In the ensuing panic and attempts to shut DNSCurve down, DNSCurve retaliated by redirecting American porn sites to the Chinese great firewall. China returned no pages and three billion human lives ended in the DNSCurve holocaust. This was what has come to be known as "djb Day".

      --
      Change is certain; progress is not obligatory.
    30. Re:Slow down there by GuidoW · · Score: 0, Offtopic

      ... And he's using them where they are not supposed to be used.

      <table> is only for tabular data.

      --
      If it's so secret, then how come I've never heard of it?
    31. Re:Slow down there by SuperNothing307 · · Score: 1

      In other words, it doesn't matter that RSA can be broken by large botnets. If it can't be broken as I'm making the request, or before I receive the answer, then it's too late.

      Unless they have recorded your encrypted communications, to break open at their earliest convenience...

      That being said, RSA is quite secure. Maybe not to the degree of elliptical curve cryptography, but it is sufficient imho. For the time being, even the largest of botnets/giant government data centers are going to have a tough time factoring a 1024 bit key. If they really were worried and wanted to make it more secure, simply using a 2048 bit instead would do wonders. Barring some kind of mathematical breakthrough, I don't see it being broken in the near future.

    32. Re:Slow down there by profplump · · Score: 1

      I care about keeping DNS requests private. I personal would prefer that my ISP can't tell where I'm browsing just by grabbing clear-text domain names out of DNS queries.

      In particular think about things like HTTPS -- the data channel itself is secure from passive eavsdropping, but anyone can tell what domain I'm using. If there's only one domain at the destination IP that doesn't leak a lot of information, but if there are multiple domains at the same IP, or if the PTR record for the IP doesn't contain a useful domain, leaking the DNS query can reveal quite a bit of information.

    33. Re:Slow down there by profplump · · Score: 1

      Just to be clear, it's not re-licensed; it has been released into the public domain, and no license is needed at all. DJBDNS and the like have similarly been released from copyright protection.

    34. Re:Slow down there by Just+Some+Guy · · Score: 4, Informative

      You are mistaken. Go to tinydns.org and read

      I did. That isn't the official version of djbdns; it's a fork. Furthermore, note that even the "enhanced" fork fails to support such fundamental necessities as IXFR. You can hobble together some hackish workalike with rsync - assuming you have control over both servers. Good luck getting a registrar or any other free/cheap DNS hosting service to go along with that arrangement.

      As always, djbdns is probably OK as long as you don't need any of the (common) features it doesn't support. If you do, it stops looking so clever.

      --
      Dewey, what part of this looks like authorities should be involved?
    35. Re:Slow down there by profplump · · Score: 1, Informative

      Yes, it does. It supports arbitrary record types, something that even your precious BIND does not (even though the RFC says it should). Grep for "generic record" in the tinydns-data documentation.

      It doesn't support IPv6 queries without a patch (not that software last updated in 2001 reasonably could), but it most definitely supports AAAA and SRV records -- I'm currently using it to serve both.

      / Feel free to not like DJBDNS, just pick technically valid reasons

    36. Re:Slow down there by Kazin · · Score: 0

      I have an off-site free site doing my secondary DNS and have no problems at all using djbdns as my primary. DJB includes his axfrdns program for this purpose.

      And yeah, the generic record types is what I was referring to. You seem to not have read the documentation.

      Again, been running it without any issues for 13 years.

    37. Re:Slow down there by Anonymous Coward · · Score: 0

      HTTPS is HTTP over SSL. Since the HOST header is not available at the time the secure socket layer establishes the encrypted tunnel, there can only be one certificate per server port. Consequently there is usually only one domain with HTTPS per IP address.

      Caching is an important aspect of DNS and it is much more efficient if it's done where the cache lives longer and is used by more people. To enable caching on the ISP's recursive resolvers (where it belongs), these servers have to be able to read the records.

    38. Re:Slow down there by Ice+Station+Zebra · · Score: 0

      You mistake lack of an easy syntax for AAAA and SRV records with non-support. How stupid.

    39. Re:Slow down there by Korin43 · · Score: 2, Insightful

      Your ISP probably is your DNS provider, so encrypting the communication to your DNS won't stop them from knowing where you're going.

    40. Re:Slow down there by jonaskoelker · · Score: 1

      Isn't the standard process to submit it to the IETF or similar organization to have it ratified first?

      I believe the IETF wants to see two independent implementations before standardizing something. That's why the IP over Avian Carrier isn't an Internet standard, for one ;)

      The may want to publish an informational RFC, though.

      But it isn't SOP to write up a (semi)formal RFC as part of the discussion about how to solve any given problem. That's something you do once you want to set the solution in stone (or possibly something slightly softer).

    41. Re:Slow down there by jonaskoelker · · Score: 1

      Because Dan won't be happy unless he makes you install it in /crypto/strong/etc/librarees

      He may be excentric, but I don't think he insists on spelling things wwong.

    42. Re:Slow down there by mysidia · · Score: 1

      1. This Bernstein guy is pushing a new crypto algorithm. Why is it necessary to use a new one

      It's not. One can't really say a custom algorithm has proven itself to provide the same level of security as a well-known algorithm. But it may be enough security to satisfy the need.

      His reputation should not be a deciding or even motivating factor in the adoption of a new algorithm; Isn't the standard process to submit it to the IETF or similar organization to have it ratified first?

      No, that's NOT the standard process, historically. Although it is becoming the path of more and more standards, and results in (IMO) standards that are "more correct", but also less useful, and often overcomplicated (with features that 75% of the community wouldn't ask for).

      Countless standards were adopted elsewhere and put into wide use on the Internet long before the IETF formalized them with an RFC.

      Traditionally the IETF has played a role, but some of the most popular things that are standards today like HTTP and DNS did not start as RFCs proposed to the IETF.

      In fact, they started with an implementation and a simple usable spec.

      Not a 5000 page RFC document discussing every possible issue and security consideration implementors might have.

      The thing DJB's proposal has going for it (IMO), is that it is simple, extremely easy to implement, and gives 90% of sites exactly what they need.

      DNSSec on the other hand is extremely complicated, has certain drawbacks, and many of its theoretical advantages come at great cost, compared to the minimal effort that would have been required to revise the protocol to provide the same practical advantages.

      Practical advantages over non-DNSSec DNS are things like query responses cannot be spoofed or hijacked by a third party while in transit.

      More theoretical advantages of DNSSec are things like... other legitimate DNS servers can't conspire to serve records the zone owner doesn't approve of, and fool the client.

    43. Re:Slow down there by Onymous+Coward · · Score: 2, Informative

      Jolly good show in owning up to the mistake, and with grace. Extraordinary forthrightness for Internet behavior.

    44. Re:Slow down there by Just+Some+Guy · · Score: 2, Insightful

      IXFR, not AXFR. IXFR is sort of like a journal playback. Suppose you have 100,000 records in a zone. With AXFR, if you change one record, you have to retransmit all 100,000 records. With IXFR, you transmit the change alone. The suggested workaround is to use rsync or some other synching mechanism, but with djbdns that'd mean that rsync has to sync a directory with 100,000 files. Again, with IXFR you'd just replay the journal.

      --
      Dewey, what part of this looks like authorities should be involved?
    45. Re:Slow down there by spinkham · · Score: 1

      So use RSA-2048, or any other size you fancy. There's nothing in the DNSSEC standard that requires 1024 bit keys.
      Or use some other crypto algorithm entirely, DNSSEC has multiple already defined, and a mechanism to add more.

      --
      Blessed are the pessimists, for they have made backups.
    46. Re:Slow down there by Just+Some+Guy · · Score: 1

      He may be excentric, but I don't think he insists on spelling things wwong.

      I've never seen anyone else spell "/opt" as "/service".

      --
      Dewey, what part of this looks like authorities should be involved?
    47. Re:Slow down there by Anonymous Coward · · Score: 0

      yea, that was a really stupid move. i don't understand how such a strategic mistake could have been made and then allowed to slip by. whoever made the decision to release a media format that couldn't even hold a full-length feature film should have been fired--though i doubt they were.

      beta tapes were eventually made that could record for up to 5 hours, but that was probably too little, too late.

    48. Re:Slow down there by mrsbrisby · · Score: 1

      I disagree. His reputation is the single most important motivating factor here. Vix et all produced this mess, have been whining about DNSSEC since 1993 and still haven't come up with a deployment plan, or a migration plan. DJB started with a system that was 100% compatible with DNS, instead of starting with a pipe dream.

      Furthermore, when BIND and friends were vulnerable to these new attacks, DJB's software wasn't. Not just because he was lucky, but because he's a pedant who thought of similar attack vectors over a decade ago, and announced solutions to the BIND and namedroppers mailing lists- randomize port numbers, and don't accept answers to questions you didn't ask.

      Needless to say, the BIND group had their "own" solution to those attack vectors, and I don't have to tell you how well those worked out.

    49. Re:Slow down there by mrsbrisby · · Score: 2, Informative

      I did

      You need to work on your reading comprehension then.

      DJBDNS supports all RR types, by way of generic RR support. See near the bottom of this page for details.

      There is a series of patches that produce friendly syntax for tinydns-data, a single component of DJBDNS. This isn't valuable to large sites who don't source with tinydns-data's built-in format.

    50. Re:Slow down there by mrsbrisby · · Score: 1

      "/service" is unrelated to "/opt".

      "/service" is for a reliable init-based service manager. I believe Ubuntu's upstart can finally do all of the things supervise could do almost a decade ago.

      "/package" serves a similar purpose for "/opt", except it has well defined semantics, where "/opt" does not.

    51. Re:Slow down there by spinkham · · Score: 1

      So don't use RSA-1024. Keylength isn't part of the DNSSEC standard, and IANA isn't using RSA-2048 in their root signing tests:
      https://ns.iana.org/dnssec/root.zone.signed
      KSKs are RSA2048, ZSKs are RSA1024.
      ZSKs can be rolled over easily and often with little to no fuss, while rolling over the KSK is a huge pain. For this reason, KSKs are made to be much more secure, and ZSKs are smaller and less secure, but rolled over often.

      KSKs are the true root that are used to sign the ZSKs, which are used to sign the data.
      DNSSEC also can use multiple encryption algorithms already specified, and can add many more at any time. DNSSEC is a "designed by committee" standard, and it shows. Some places that means it is over engineered, and some places that means it is quite future proof.

      The possible holdups to DNSSEC are not security related. IE, the keysize argument is bogus, DNSSEC can use ECC just like DNSCURVE can, and will in the future when the patents expire.

      The problems with DNSSEC are complexity related: DNSSEC requires automated tooling, because it's too cumbersome for humans to mess with manually.
      DNSCurve also has this problem, but specifies where the automation lives, and makes all the security-convince trade-offs for you (in the form of requiring the signing key to be always online). DNSSEC can have similar automation with similar tradeoffs in security.

      There is one strength of DNSCurve over DNSSEC: It works with all broken DNS forwarders in personal home routers, while DNSSEC currently only works through the 25% of home routers that follow the DNS standards. In every other way I've seen so far, DNSSEC is superior.

      --
      Blessed are the pessimists, for they have made backups.
    52. Re:Slow down there by bluefoxlucid · · Score: 1

      And if the key is generated as you make the request, there's no point, because this only protects against MitM attacks or provides authentication for updates-- both of which require a long-term static key. Learn2security

    53. Re:Slow down there by darkpixel2k · · Score: 1

      But DNSSEC uses all pre-computed signatures for the zone data. So if you can break the RSA key, you can create fake signatures ahead of time and serve bogus DNS data. Your botnet has got all the time in the world to try to break that key...

      Bah! I prefer to hand-rotate the key in each zone file every 15 minutes. I don't sleep much^H^H^H^Hever.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    54. Re:Slow down there by darkpixel2k · · Score: 2, Insightful

      I care about keeping DNS requests private. I personal would prefer that my ISP can't tell where I'm browsing just by grabbing clear-text domain names out of DNS queries.

      Never worked for an ISP, huh?

      I worked for a (small?) one about 8 years ago. 8 years ago we had on average 1,000 users connected, and also hosted several thousand domains, and had 30,000 mailboxes on our server.

      In an average day, we handled around 70 DNS requests per second on our primary server and about 10 requests per second on our secondary. (Using Microsoft's crappy DNS server no less)

      So tell me why I should bother sorting through roughly seven million DNS requests per day to see where you've been surfing?

      It's in the same vein as "Do you read my email?". On a server with 30,000 mailboxes, and who knows how many messages coming in per-second, the answer is "f*ck no". The volume of mail is too great.

      Of course what your average BOFH might admin over a few beers is that the only time we ever monitor something like mailboxes or DNS requests is when something brings them to our attention...like a user asking if we're monitoring their activities. "No, should we be?"

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    55. Re:Slow down there by Anonymous Coward · · Score: 0

      How long/how much data would 100,000 records transmitted via AXFR take? Like 1 minute? Big deal.

    56. Re:Slow down there by Anonymous Coward · · Score: 0

      1: DNSCurve signs in real time, and size constraints exist. The ECC used meets real-world performance constraints and size constraints, while providing at least par (for the higher RSA crypts) or substantially better (for the widely used RSA1024) in comparision.

    57. Re:Slow down there by Anonymous Coward · · Score: 0

      Sorry, all it takes is one marketing guy who wants to datamine the logs and it doesn't matter how many BOFHs you have.

    58. Re:Slow down there by Anonymous Coward · · Score: 0

      You're missing the point. IXFR scales much better than AXFR.

      Fine, you might not notice that 5MB file being sent to your one slave. I bet you'll notice when your multiple zone changes and multiple slaves result in 1GB of xfrs. Wouldn't you much rather send a few hundred K?

    59. Re:Slow down there by Anonymous Coward · · Score: 2, Informative

      http://en.wikipedia.org/wiki/Elliptic_curve_cryptography#Implementations

    60. Re:Slow down there by Anonymous Coward · · Score: 0

      You are mistaken. Go to tinydns.org and read

      I did. That isn't the official version of djbdns; it's a fork. Furthermore, note that even the "enhanced" fork fails to support such fundamental necessities as IXFR. You can hobble together some hackish workalike with rsync - assuming you have control over both servers. Good luck getting a registrar or any other free/cheap DNS hosting service to go along with that arrangement.

      As always, djbdns is probably OK as long as you don't need any of the (common) features it doesn't support. If you do, it stops looking so clever.

      Only bind9 supports IXFR.
      Why do you need it?
      Maybe your DNS is connected via a 14.400bps modem?

    61. Re:Slow down there by rplacd · · Score: 1

      Data point: using axfr-get to download approximately 63,667 records from a host 16 hops away takes about nine seconds. The file 2.7MB in size. Most zones aren't that large, so the IXFR thing isn't a real problem.

    62. Re:Slow down there by NateTech · · Score: 1

      The difference is... if the server is coded correctly it can still ANSWER for the other things in that zone while it's IXFR'ing the changes.

      People looking for that record have to wait 9 seconds, people asking for the other records, don't have to wait.

      IF the server is coded correctly, of course.

      Add to this the fact that not all DNS servers are as well-connected as you have there, especially back when IXFR was added -- and you now see what the problems really were.

      --
      +++OK ATH
    63. Re:Slow down there by shutdown+-p+now · · Score: 1

      In an average day, we handled around 70 DNS requests per second on our primary server and about 10 requests per second on our secondary. (Using Microsoft's crappy DNS server no less)

      So tell me why I should bother sorting through roughly seven million DNS requests per day to see where you've been surfing?

      But as soon as you filter those 7 million by his IP (assuming that it's known; or by some other known tag), wouldn't the result be much more manageable?

    64. Re:Slow down there by Just+Some+Guy · · Score: 1

      How long/how much data would 100,000 records transmitted via AXFR take? Like 1 minute? Big deal.

      Now imagine it's the zonefile for Dynamic DNS for a large organization, so it's not only the fact that there are 100,000 records, but that there are continual updates. AXFR, etc.: you wouldn't be finished with the transfer before the next needs to start. IXFR: you keep the 10 slave servers updated with changes no more than a second or two old.

      --
      Dewey, what part of this looks like authorities should be involved?
    65. Re:Slow down there by darkpixel2k · · Score: 1

      But as soon as you filter those 7 million by his IP (assuming that it's known; or by some other known tag), wouldn't the result be much more manageable?

      Yeah, it would. But what would make me want to filter by a specific IP address in the first place? We had a /19, and several /24s. Why would I pick your IP out of the 9,000 other IPs in our network, or the who-knows-how-many IPs requesting information from outside our network?

      Don't get me wrong, I'm all about privacy. That sort of information should be totally private--enforcably private (like encrypted) just like phone calls and associated records.

      Why would the NSA decide to listen into my phone call. It will be one among millions or maybe even billions today.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    66. Re:Slow down there by shutdown+-p+now · · Score: 1

      Yeah, it would. But what would make me want to filter by a specific IP address in the first place? We had a /19, and several /24s. Why would I pick your IP out of the 9,000 other IPs in our network, or the who-knows-how-many IPs requesting information from outside our network?

      You probably wouldn't want to, but you'd have to do what the NSA guys told you. And why would they want to sniff on my IP? Dunno, maybe just because my name is Middle Eastern (it's not, but let's assume that it was, for the sake of argument)?

    67. Re:Slow down there by jonadab · · Score: 1

      > This Bernstein guy is pushing a new crypto algorithm.

      Yeah, that bothers me too. I assume he has a reason, and he has a very good security track record so far, but every cryptographer knows that you want to be a little careful about deploying new and lightly-tested crypto algorithms, especially for something as important as this. His objections to RSA are not without merit, but I'd like to see a rationale for why an existing known algorithm with well-understood properties can't be used with perhaps a larger key size. Elliptic curves are not completely new in principle, though. I'd like to see a third-party crypto expert from outside the DNS community, e.g., Schneier, post a discussion of this issue, because as it stands I would have reservations about DNSCurve from that perspective alone (let alone the momentum issue, namely, the DNSSEC has all the momentum, and therefore is far more likely to actually get deployed).

      > Industry coalitions are great, but this seems to be an attempt to create a new de facto standard controlled
      > by a few large corporate interests, most of which are based in the United States. Isn't this kind of
      > organization exactly what ICANN was created to avoid (I'm side-stepping the controversy surrounding them here)?

      It helps to know the history here. Cryptographic signing has for a long time been something the DNS community has acknowledged as desirable in the long term, and DNSSEC has been in the works for a while. This coalition has been formed to work on get it deployed more quickly, because of the Kaminsky bug, because all the parties involved understand that the issue is now more urgent than anyone realized before Kaminsky.

      The coincidence of timing (the DNSSEC coalition and Bernstein's DNSCurve both coming out around the same time) is almost certainly not a coincidence at all, but rather a direct result of the Kaminsky issue. The patches that were done right away (which, it may be noted, djbdns didn't need because it already did source port randomization) are universally understood to be a short-term fix, which makes Kaminsky's exploit take much longer to perform (on average) and therefore much less of a short-term threat, but everyone who understands the issue will tell you that the real solution, long-term, is cryptographic signing of DNS. These are two different approaches to that, and they both just came out because in the wake of the Kaminsky debacle it is obvious that something like this is necessary.

      Based on past history, I am guessing that DJB will leave his page about DNSCurve up, explaining why it would have been better, but once DNSSEC is deployed (which it looks like it will be)

      As for most of the companies involved being based in the United States, that's mainly because most of the outfits in charge of maintaining the major gTLDs are based in the US, at least partly for historical reasons (because DNS was invented here, as was the internet generally, and it's only been a few years, so a lot of internet stuff is still headquartered here sort of by default, because it got started here).

      > It seems to me they're rushing headlong toward a solution to solve a problem that hasn't yet made a major impact

      They're rushing now because the Kaminsky vulnerability has seriously increased everyone's estimation of the urgent necessity.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    68. Re:Slow down there by jonadab · · Score: 1

      > but once DNSSEC is deployed (which it looks like it will be)

      I forgot to finish this sentence. Once DNSSEC is widely deployed, I suspect DJB will acknowledge that it is better than no cryptographic signing at all. And with djbdns being in the public domain now, I'm sure *someone* will write the code to implement DNSSEC, even if Bernstein doesn't do so himself.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    69. Re:Slow down there by PIBM · · Score: 1

      From the same page:

      Patents

              Main article: ECC patents

      At least one ECC scheme (ECMQV) and some implementation techniques are covered by patents. Uncertainty about the availability of unencumbered ECC has limited the acceptance of ECC

      The existence of open source solution does not mean you are free to use them: they can still be covered by patents that you will have to pay for.

    70. Re:Slow down there by getclear · · Score: 1

      You know, I was going to do something with this thread, but prefacing it with "This Berstein guy" turned me off. Secondly, how do you go on to say that "they" are rushing into correcting "a problem that hasn't yet made a major impact". If we followed you though process then we would live in a much less secure world. You are the epitomy of what security teaches against. "Oh, well, nobody has been hacked yet, so no need to change the default password until someone figures it out." Please think through your posts next time. Gracias.

    71. Re:Slow down there by Eric+Smith · · Score: 1

      Yes, botnets should work quite well for key cracking. I'd be somewhat surprised if this isn't already being done.

    72. Re:Slow down there by Anonymous Coward · · Score: 0

      DJB simply asked why build complex, highly specific solutions into the DNS protocol to problems that have been solved by simpler, generic, well-proven pieces of software?

      AXFR and IXFR are unnecessary (and can be solved completely with rsync) and only cause additional lines of code, increasing the possibility of error.

      From the rsync man page:

                    The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection, using an efficient checksum-search algorithm described in the technical report that accompanies this package.

    73. Re:Slow down there by Just+Some+Guy · · Score: 1

      AXFR and IXFR are unnecessary (and can be solved completely with rsync)

      Hah! rsync can't instantly realize that one record in 100,000 has changed - as can IXFR's logfile - or use that knowledge to publish the same set of changes to multiple servers. Furthermore, do you really want to call rsync every single time you get a dynamic dns update?

      --
      Dewey, what part of this looks like authorities should be involved?
    74. Re:Slow down there by spinkham · · Score: 1

      DNSSEC will use whatever key size the server operators want them to use.
      In current tests, the Key Signing Key, AKA master key, is 2048 bit, and the Zone Signing Keys are 1024 bit.
      The ZSKs can be rolled over easily at any time, so they're kept shorter for performance reasons.
      Both keys can be of any size. Keys don't even have to be RSA at all, the standard supports 3 signing methods at the moment, and 253 more can be added to the standard.

      --
      Blessed are the pessimists, for they have made backups.
    75. Re:Slow down there by darkpixel2k · · Score: 1

      Yeah, it would. But what would make me want to filter by a specific IP address in the first place? We had a /19, and several /24s. Why would I pick your IP out of the 9,000 other IPs in our network, or the who-knows-how-many IPs requesting information from outside our network?

      You probably wouldn't want to, but you'd have to do what the NSA guys told you. And why would they want to sniff on my IP? Dunno, maybe just because my name is Middle Eastern (it's not, but let's assume that it was, for the sake of argument)?

      True. I'd love to see it encrypted and anonymous, specifically for reasons like that. But your average ISP isn't interested in sifting through all your DNS traffic like that...

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    76. Re:Slow down there by Anonymous Coward · · Score: 0

      I believe the gp reffered to this:

          http://cr.yp.to/djbdns/tinydns-data.html

      So, while you'd have to edit it by hand, if you refused to use eg:

          http://dqd.com/~mayoff/tools/djbdns/make-record.adp

      (Not a patch, a standalone program) -- You're statement is still not true. Tinydns does support SRV records.

    77. Re:Slow down there by jonadab · · Score: 1

      > I care about keeping DNS requests private. I personal would prefer that my ISP can't
      > tell where I'm browsing just by grabbing clear-text domain names out of DNS queries.

      If your ISP wants to know where you're browsing, they don't need to look at your DNS lookups. In fact, you could put the domain names in your hosts file and never *do* the DNS lookups, and they would still be able to easily know *exactly* where you're browsing. Fundamentally, even if 100% of your traffic is encrypted end-to-end, your ISP still knows where the data is coming from and where it is going. They have to, in order to pass it along to the correct destination. They can also trivially determine how *much* data you're getting from any given site. All they've got to do is sniff the IP headers, which is pretty easy really, and it's fairly trivial to set up a filter that displays (or logs) just the ones related to you. From there it's five or six lines of Perl to make some nice graphs showing which sites you visit most often (or get the most data from), and so forth.

      Of course, that's assuming they have some special reason to be specifically interested in where *you*, personally, are browsing. Because there's no way this side of eternity that they would ever have time to monitor the browsing habits of any significant percentage of their many, many users, and even if they did somehow magically have a few thousand man hours per week to blow on such a frivolous project, the sheer volume of inane drivel that constitutes most users' web traffic would probably drive the guy doing the monitoring into deep suicidal depression before he happened to stumble across your stuff.

      But yeah, if you've sent threatening letters to your ISP's customer service department in which you mentioned that you know where to find bomb instructions on the internet, you need to be aware of the fact that, yes, encryption or no encryption, your ISP does have the ability to watch what sites you're visiting, if they choose to do so.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    78. Re:Slow down there by jonadab · · Score: 1

      > You probably wouldn't want to, but you'd have to do what the NSA guys told you.
      > And why would they want to sniff on my IP? Dunno, maybe just because my name
      > is Middle Eastern (it's not, but let's assume that it was, for the sake of argument)?

      I don't think you have any conception of how big the world is or how many people there are in it.

      There are at least half a dozen people with Middle-Eastern names that I know about in the city where I live, a city of only about twelve thousand people, in central Ohio, so that's about 0.05% of the population. Assuming this is anything like typical (and if anything it's probably a lowball figure), if the NSA wanted to read all the email of everybody with Middle-Eastern-sounding names nationwide, they would have to employ *thousands* of people, full-time, to do nothing else but that.

      Make no mistake, if the authorities do decide to watch *you*, personally, in particular, they would obviously try to do stuff like read your email and listen to your phone calls. But you or someone close to you would have to get their attention in some especial way, because they do *NOT* have enough time or manpower to watch everyone who looks or sounds "Middle Eastern". And if they did have such a program, they would NOT be able to keep it off the news, because when you get that many people doing something like that, some of them are going to talk to the press.

      --
      Cut that out, or I will ship you to Norilsk in a box.
  5. I have deep respect for DJB by Anonymous Coward · · Score: 2, Insightful

    ...but he is not seriously attempting to establish a different protocol all by himself, is he? The root server administrators would never switch, and without root support, there is no place to anchor the hierarchy. He might have had a chance earlier in the standardization phase, but now that there are live DNSSEC domains, his chances are practically zero.

    1. Re:I have deep respect for DJB by alta · · Score: 1, Interesting

      I have deep disdain for djb. Every time he finds a problem with the internet, and boy does he find them, his solution is to write his very own version that he maintains control of. Don't like something about HIS version? Screw you, because it hasn't had any security bugs since it was ever released. And screw the fact that it hasn't been updated, and therefore hasn't picked up a single new feature, in 10 years. And yes, I completely think he's trying to build a completely new solution to the problem. Have you ever known him to FIX anything? No, he scraps it all, writes something small and feature poor, but secure due to simplicity. I don't think anyone's found a overflow in notepad either djb! He just builds the alternatives to feed his ego. please people, don't feed the animals.

      --
      Do not meddle in the affairs of sysadmins, for they are subtle, and quick to anger.
    2. Re:I have deep respect for DJB by Wdomburg · · Score: 1

      After the smashing success of Internet Mail 2000 he would be a fool not to!

    3. Re:I have deep respect for DJB by Anonymous Coward · · Score: 0

      I think you will find few people who disagree with you regarding DJB's stance on cooperation. However...

      secure due to simplicity

      That is also known as the KISS principle, which is believed to be a major reason for the success of Unix. You were saying?

    4. Re:I have deep respect for DJB by cjfs · · Score: 1

      I don't think anyone's found a overflow in notepad either djb!

      I wouldn't doubt it - try typing in "this app can break" (without quotes) or another string in that format. Save the file and reopen.

    5. Re:I have deep respect for DJB by MichaelSmith · · Score: 1

      The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.

      George Bernard Shaw

    6. Re:I have deep respect for DJB by abigor · · Score: 1

      I think he's released most of his stuff into the public domain, has he not?

    7. Re:I have deep respect for DJB by Ice+Station+Zebra · · Score: 1

      Do you know djb? If not, why do you judge him so? He has very good ideas and follows through on his promises. The people who complain that they can't modify his software, roll it up and distribute it are the ones who gave us things like broken ssh in debian.

    8. Re:I have deep respect for DJB by Anonymous Coward · · Score: 0

      I can break this app!

  6. Re:What an idiot. by Anonymous Coward · · Score: 1, Insightful

    Yeah, who cares about improving both time and space efficiency of cryptography before any sweeping overhauls of a core internet service are performed? It's best to think about that afterwards.

    You know, kind of an after... thought.

  7. DNSCURVE doesn't work... by nweaver · · Score: 2, Informative

    The argument against DNSSEC is that its not needed for securing DNS: that the in-path adversary can F@#)* the final app anyway, unless the final app never trusted the DNS name.

    However, there is one key adversary which is in-path on the naming but NOT in path on the data: the DNS recursive resolver. We have seen resolver settings changed by malcode, ISPs wildcarding NXDomain errors, and even DNS service providers (like OpenDNS) man-in-the-middle'ing google!

    DNSSEC addresses this adversary, because it is a data integrity protocol. DNSCurve does not: it explicitly trusts the recursive resolver and offers NO security guarentees against this very serious adversary.

    Fortunatly, nobody in the DNS world cares about DNScurve, so it will probably just go away.

    In fact, DNScurve really shuold be restructured to be a competitor for DTLS, a lightweight datagram communication confidentiality & integrity protocol with a much lower key-setup latency.

    --
    Test your net with Netalyzr
    1. Re:DNSCURVE doesn't work... by foom · · Score: 1

      DNSSEC addresses this adversary, because it is a data integrity protocol. DNSCurve does not: it explicitly trusts the recursive resolver and offers NO security guarentees against this very serious adversary.

      Okay, so where can I find a patch to make glibc's stub resolver verify DNSSEC signatures, so that I can be pretected from my recursive resolvers? DNSSEC has been around for nearly a decade: surely someone's implemented this by now?

    2. Re:DNSCURVE doesn't work... by nweaver · · Score: 1

      I think you can use Unbound as a stub resolver.

      --
      Test your net with Netalyzr
    3. Re:DNSCURVE doesn't work... by foom · · Score: 2, Informative

      You might be interested in this thread:
      https://lists.dns-oarc.net/pipermail/dns-operations/2008-May/002736.html
      where Paul Vixie recommends that nobody should ever deploy a stub resolver that supports DNSSEC, but instead use TSIG to talk to the recursive resolver. Which really makes DNSSEC's security characteristics look very much like DNSCurve. The only difference being that DNSSEC is hugely more complex to use and implement.

    4. Re:DNSCURVE doesn't work... by Anonymous Coward · · Score: 0

      Hi,

      The argument against DNSSEC is that its not needed for securing DNS: that the in-path adversary can F@#)* the final app anyway, unless We have seen resolver settings changed by malcode, ISPs wildcarding NXDomain errors, and even DNS service providers (like OpenDNS) man-in-the-middle'ing google!

      DNSSEC addresses this adversary, because it is a data integrity protocol. DNSCurve does not: it explicitly trusts the recursive resolver and offers NO security guarentees against this very serious adversary.

      Actually, you hit the nail.

      DNSSEC tries to protect the available *data*; however the *data* are public: Who's going to protect a public key ? Nonesens.
      DNSSEC does perhaps protect the integrity of the received *data*; maybe.

      However; any well-suited approch should protect the integrity of the information correlating the DNS query and it's response.

      See the difference between *data* and *information*. AFAIK DNSCURCE does the latter.

      regards.
      --eh

      (www.fehcom.de)

  8. Re:What an idiot. by ccguy · · Score: 0

    You might want to google him before calling him any name.

  9. Don't throw the baby out with the bathwater by EdwinFreed · · Score: 4, Insightful

    I'll say this for Dan - he is often quite good at analysis and finding problems. But after watching a huge fight between him and the authors of the delivery status notification format for email, with the result that positions became completely polarized and nobody succeeded in convincing anyone else of the merits of their respective ideas, I decided the best way to deal with him is to listen to his criticisms, evaluate them carefully, and if it makes sense to address them, do so. But attempting to engage in a meaningful discussion with him is a waste of time - he gets angry way too easily and starts throwing all sorts of nasty invective around, and the result is almost always that the interaction spirals straight down the crapper.

  10. I'm aware of his reputation by mmell · · Score: 0, Flamebait
    In this instance, he's just plain wrong.

    A personal opinion, that. YMMV.

    1. Re:I'm aware of his reputation by raju1kabir · · Score: 0

      Doesn't seem like a very informed opinion (at least based on what you've written so far).

      This change, if actually implemented, will be with us for a while and will place a significant burden on DNS providers. Better to do it right, than to go with the first thing that comes along.

      --
      "Patriotism is your conviction that this country is superior to all other countries because you were born in it." -- GBS
    2. Re:I'm aware of his reputation by Anonymous Coward · · Score: 0

      Actually you are just plain wrong.

      1024 bit RSA shouldn't be implemented in any new software, even NIST says it isn't enough. 1024 bit is being suggested as a compromise because a more secure bit length or different RSA algorithm for DNSSEC would defeat one of the purposes of how DNS uses a _single_ UDP packet to convey it's information. Additionally the computational power required to sign those requests would increase significantly.

      What's being proposed for DNSSEC is a bandaid at best and a power grab at worst.

  11. Easy by wsanders · · Score: 1

    Run BIND with DNSSEC and point your resolver to localhost. That's actually the way God, or whoever, intended it to be run.

    In practice, most organizations will run a local recursive "trusted" BIND server with DNSSEC behind a firewall just like they do now. Eventually substantial numbers of ISPs will do so too. No one does not because something like 0.01% of .com domains are DNSSEC-ified.

    It should be no more difficult that setting up HTTPS was, of course it only took 10 years or so to get that out of the hands of the security high priests.

    I am sure DJB's proposal holds merit. But engineering is also about what can be done. If you are paranoid about the NSA redirecting your domain to a porn site, you probably should be worrying about far worse things instead.

    --
    Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
    1. Re:Easy by foom · · Score: 1

      But if I'm running BIND on my local machine, it would be just as secure under the DNSCurve proposal as with DNSSEC.

      If my organization has a central, recursive, trusted DNS server, then I'm just as secure under DNSCurve as with DNSSEC.

      The only place DNSCurve loses if if I have a stub resolver pointing to an *untrusted* recursive resolver on another host, instead of running my own recursive caching resolver. So maybe I just shouldn't do that...

  12. "Slow down there" not applicable to commenters by Onymous+Coward · · Score: 1

    I might recommend looking further into this "new crypto" business.

    Here are a couple links in case they're hard to find:

    1. http://dnscurve.org/dnssec.html
    2. http://dnscurve.org/crypto.html

    Just in case it's also hard to follow links, here's some selected text:

    IEEE P1363 standardized elliptic-curve cryptography in the late 1990s. NIST standardized several elliptic curves following the P1363 recommendations. In 2005, NSA issued a new "Suite B" standard, recommending the NIST elliptic curves (at two specific security levels) for all public-key cryptography and withdrawing previous recommendations of RSA.

  13. So you think RSA is broken? by mmell · · Score: 1
    That seems to be the crux of his arguement against DNSSEC - that RSA is broken (or soon to be broken).

    Okay, let me restate the problem - should we implement a mechanism which is already available and well understood, as well as generally accepted as secure (Mr. Berstein's assertion that RSA1024 is broken to the contrary), or should we implement it with a technology which can't be nearly as mature (not so much for its newness, but rather for its lack of broad acceptance/use)?

    You're right - let's pick the shiniest technology on the shelf, we all know that elliptic curve encryption is faster, smaller and uncrackable, right? Uh, it is uncrackable, right? 'Cuz, you see, RSA1024 is uncrackable, or so I was once told. Now Dr. Berstein says it ain't, but elliptical curve encryption is. Funny thing - if RSA1024 is more than enough to secure my bank transactions, why wouldn't I trust it with my DNS queries?

    1. Re:So you think RSA is broken? by Anonymous Coward · · Score: 0, Flamebait

      Even if your bank is currently using a 1024-bit certificate, your browser and the underlying protocols support more than that. DNSsec doesn't. It's taken decades to get DNS crypto taken seriously, and it makes sense to do it once, instead of over and over again after serious compromises have occurred.

      1024-bit RSA is considered deprecated by NIST as of 2010. In a couple weeks, it'll be 2009. That's not a very useful lifespan. Meanwhile, elliptic curve cryptography gets significantly more protection per bit -- not as much as a good symmetric cipher, but about half that. Like a symmetric cipher (and unlike RSA), it scales linearly with the number of bits you give it. NIST considers ~163-bit ECC as secure as 1024-bit RSA; if you give it 256 bits (like DJB's implementation), that's roughly equivalent to 3072-bit RSA. Not to mention, it can be computed more quickly and transmitted in less space.

      After all, it's not like DNS servers have to answer thousands of queries a minute, or encode answers into a single packet, or anything like that. Nope. Nothing like that.

    2. Re:So you think RSA is broken? by DrSkwid · · Score: 1

      you've made yourself look cock on the internet, won't be the first time or last (for either of us :)

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    3. Re:So you think RSA is broken? by mrsbrisby · · Score: 1

      That seems to be the crux of his arguement against DNSSEC - that RSA is broken (or soon to be broken).

      You're wrong. The crux of his argument against DNSSEC is that it's stupid, requires everyone deploy it until anyone can enjoy it, and is incompatible with DNS. It has also wasted valuable space and time on the promise of an "extensible" cryptosystem completely ignoring the fact that deploying a new cryptosystem would require almost as much work as deploying the first one.

      Don't you think we should get it right the first time?

      You're right - let's pick the shiniest technology on the shelf, we all know that elliptic curve encryption is faster, smaller and uncrackable, right?

      Curve is very well understood, and its security is twenty years old at this point. Curve is much faster than RSA, and in something like DNS, slowness can turn into denial-of-service attacks. Futhermore, Curve can guarantee only exponential time solutions exist, where RSA has been broken in sub-exponential time.

      DNSSEC is planning to adopt ECC. The question isn't whether Curve is good; it's clearly good, the question is whether it is exhaustively good. The DNSSEC people believe a "pluggable" DNS security system is important, ignoring the fact deploying new cryptosystems is almost as expensive as deploying the first one.

      Funny thing - if RSA1024 is more than enough to secure my bank transactions, why wouldn't I trust it with my DNS queries?

      Excellent question.

      Because not only does someone have to break RSA to break your bank transactions, someone also has to break TCP, which is actually much harder, and requires a monstrous amount of computer power and bandwidth available at sub-msec speeds. With DNS, breaking TCP isn't a requirement, because DNS doesn't use TCP.

    4. Re:So you think RSA is broken? by wirelessbuzzers · · Score: 1

      Curve is very well understood, and its security is twenty years old at this point. Curve is much faster than RSA, and in something like DNS, slowness can turn into denial-of-service attacks. Futhermore, Curve can guarantee only exponential time solutions exist, where RSA has been broken in sub-exponential time.

      Technically, while cryptographers have not found sub-exponential attacks on elliptic curves, they are not guaranteed not to exist. The point, though, is that with existing attacks (which, as you mentioned, are 20 years old), 255-bit ECC is believed to be considerably more secure than 1024-bit RSA... in fact, it should be comparable to 4096-bit RSA. The signatures are considerably shorter. 255-bit ECC is probably slower than 1024-bit RSA for verifies, however.

      Funny thing - if RSA1024 is more than enough to secure my bank transactions, why wouldn't I trust it with my DNS queries?

      Excellent question.

      Because not only does someone have to break RSA to break your bank transactions, someone also has to break TCP, which is actually much harder, and requires a monstrous amount of computer power and bandwidth available at sub-msec speeds. With DNS, breaking TCP isn't a requirement, because DNS doesn't use TCP.

      This isn't true... the best known attacks against RSA are just to factor the modulus. Once you'd done this, you could easily break bank transactions in real time. And I'm not sure what you mean by "breaking TCP"...

      The real reason is that when cryptographers decide that 1024-bit RSA isn't enough (soon, by Bernstein's reckoning), the banks will go to more bits or another cipher. They can do this, because people don't mind a delay of several milliseconds while they run RSA on their bank's website, and they can deal with an extra half-KB for session setup. They can get new ciphers rolled out to browsers, and degrade to RSA for browsers that haven't implemented them. These problems are considerably worse for DNS servers and routers.

      On the other hand, with DNSSEC, we're talking about using RSA in a new standard; its performance and size are already problematic at the current strength, and will get cubically worse at greater strengths.

      And yes, I am a cryptographer.

      --
      I hereby place the above post in the public domain.
    5. Re:So you think RSA is broken? by mrsbrisby · · Score: 1

      And I'm not sure what you mean by "breaking TCP"...

      Breaking TCP presently requires guessing sequence numbers reliably or a MITM attack. Both are extremely uncommon outside of LANs.

      This isn't true... the best known attacks against RSA are just to factor the modulus.

      What isn't true? Breaking RSA is easier than breaking RSA and TCP? (note "also" in my original phrasing)

      255-bit ECC is probably slower than 1024-bit RSA for verifies, however.

      Not just probably, definitely. That's probably why dnscurve uses Curve25519 (very very fast DH), which is significantly faster than RSA at similar key-strengths.

      They can get new ciphers rolled out to browsers, and degrade to RSA for browsers that haven't implemented them. These problems are considerably worse for DNS servers and routers.

      On the other hand, with DNSSEC, we're talking about using RSA in a new standard; its performance and size are already problematic at the current strength, and will get cubically worse at greater strengths.

      Agreed. We already have excellent information about how long it takes to roll out a new protocol (and stop supporting the old protocol): A-fallback for MX records, Path-MTU discovery problems, ECN, and SSLv2 are things that we still have to deal with today, and MX records were introduced over twenty years ago.

      It's evident that new protocols need to be carefully designed to be compatible with existing systems, and that the existing systems will be around for a long time. DNSSEC simply isn't compatible with DNS.

      So saying "These problems are considerably worse for DNS servers and routers", I believe is woefully understated. These problems are the most important factor here, on a live, moving, Internet.

    6. Re:So you think RSA is broken? by wirelessbuzzers · · Score: 1

      And I'm not sure what you mean by "breaking TCP"...

      Breaking TCP presently requires guessing sequence numbers reliably or a MITM attack. Both are extremely uncommon outside of LANs.

      This isn't true... the best known attacks against RSA are just to factor the modulus.

      What isn't true? Breaking RSA is easier than breaking RSA and TCP? (note "also" in my original phrasing)

      Breaking TCP requires hacking a router, spoofing ARP, bribing a tech, sniffing a wireless network, presenting a warrant or splicing a cable somewhere, and that's if you don't have weak TCP sequence numbers. Breaking RSA-1024 requires sinking a billion dollars into a crypto machine. One of these provides an insignificant level of security compared to the other one, such that it is barely worth mentioning.

      --
      I hereby place the above post in the public domain.
    7. Re:So you think RSA is broken? by mrsbrisby · · Score: 1

      You're missing the important part:

      Funny thing - if RSA1024 is more than enough to secure my bank transactions, why wouldn't I trust it with my DNS queries?

      In order to break your bank transactions, someone not only needs to break RSA, they also need to break TCP, and quickly, I might add.

      Without TCP, RSA becomes significantly weaker, no longer requiring a billion dollar machine to break very small messages- if you're trying to spoof an IP address, you only need to attack four bytes; a differential attack could special case keys for less still.

      TCP is rarely broken; people rarely have their POP3 passwords sniffed, and rarely have those connections hijacked, and in the absence of a lan-based attack, the practical probability becomes almost nil.

      Breaking TCP is hard because not only do you have to break the sequence numbers, you also need to break route filters, and possibly more; Part of HTTPS's practical security comes from the fact that breaking HTTP's unintentional security is hard as is- a single short-lived message over a dozen messages, spanning a second, is much harder to break than a RSA-signed DNS packet, which might be valid for days- or even weeks.

      LAN-based attacks (hacking a router, spoofing ARP, sniffing wireless, splicing cables) are impractical for most attacks; we generally only see them for extremely targetted attacks. It seems reckless and naive to optimize for this case, when DNSSEC only seems able to do it by making the practical and likely attacks easier.

    8. Re:So you think RSA is broken? by wirelessbuzzers · · Score: 1

      You don't have any idea what you're talking about, do you? Or else I have been trolled. Or both. Blah, someone is wrong on the internet.

      The fundamental design goal of a good cryptosystem is that it should never be the weak link, at least when used within the specified parameters. If people believe that it can be the weak link, they stop using it and go to something else. This has not been done with RSA, so think twice before saying that RSA is easy to break.

      In order to break your bank transactions, someone not only needs to break RSA, they also need to break TCP, and quickly, I might add.

      TCP is not a security mechanism. It can act as a defense in depth, but that's all.

      Without TCP, RSA becomes significantly weaker, no longer requiring a billion dollar machine to break very small messages- if you're trying to spoof an IP address, you only need to attack four bytes; a differential attack could special case keys for less still.

      Nobody uses RSA as written in a popular science crypto book. In real life, RSA is used either with padding or, more commonly, as a KEM, and so it is not vulnerable to attacks on short messages.

      TCP is rarely broken; people rarely have their POP3 passwords sniffed, and rarely have those connections hijacked, and in the absence of a lan-based attack, the practical probability becomes almost nil.

      At this moment, people's BT routers are replacing ads on their web pages, and you're telling me that "TCP is rarely broken". Even if you weren't utterly wrong, rarely just isn't good enough. When was the last time you saw a 1024-bit RSA key broken? The only time I've seen it is with that Debian crypto bug... and if we're counting software bugs, you should see the sequence numbers some OS's generate even today.

      You're comparing an attack which you might theoretically be able to perform with a billion-ish-dollar machine that nobody (secret agencies excluded) has ever attempted to build, and an attack that gets run a hundred times a day by each of thousands of $30 routers. Imagine the report at the NSA: "Sir, Project XERCES broke the key in six weeks at an amortized cost of $50 million, but the trouble is, we can't seem to tap his cable modem."

      Breaking TCP is hard because not only do you have to break the sequence numbers, you also need to break route filters, and possibly more; Part of HTTPS's practical security comes from the fact that breaking HTTP's unintentional security is hard as is- a single short-lived message over a dozen messages, spanning a second, is much harder to break than a RSA-signed DNS packet, which might be valid for days- or even weeks.

      As is common for crypto protocols, if the RSA key in HTTPS is broken, a man in the middle can mess with the protocol in real time. Failing that, I don't know of any attack against the HTTPS protocol. There are still ways to "break HTTPS": you can hope the user clicks through a cert warning, or you can muck with cookies, XSS, malware, and other attacks on the browser.

      LAN-based attacks (hacking a router, spoofing ARP, sniffing wireless, splicing cables) are impractical for most attacks; we generally only see them for extremely targetted attacks. It seems reckless and naive to optimize for this case, when DNSSEC only seems able to do it by making the practical and likely attacks easier.

      DNSSEC and DNSCurve are cryptosystems. They are designed never to be the weak link.

      --
      I hereby place the above post in the public domain.
    9. Re:So you think RSA is broken? by mrsbrisby · · Score: 1

      What the hell are you blathering on about?

      As is common for crypto protocols, if the RSA key in HTTPS is broken, a man in the middle can mess with the protocol in real time.

      No it can't. You still need a way to get the packets to the man in the middle, and a way to get the packets where they don't belong.

      DNS, using UDP, offers no such protection.

      Secondly, DNSSEC uses the RSA key for a long time, and clients can get lots of signings to launch offline attacks. This attack doesn't work on HTTPS, which uses RSA to only sign/encrypt a session key. It doesn't work on DNSCurve either.

      All other things being equal, that answers mmell's question: Why is RSA safer for bank transactions than for DNSSEC?

      How the hell can anyone be as fucking numb as you are to these two very simple things and still "be a cryptographer"?

      I call shenanigans! If you're actually paid to design cryptosystems, let me know which ones so I can avoid them.

    10. Re:So you think RSA is broken? by wirelessbuzzers · · Score: 1

      No it can't. You still need a way to get the packets to the man in the middle, and a way to get the packets where they don't belong.

      Of course. It's just that this is 6-7 orders of magnitude easier than breaking RSA, even against a relatively hard target.

      Secondly, DNSSEC uses the RSA key for a long time, and clients can get lots of signings to launch offline attacks.

      Signings shouldn't help the attacker unless your hash is broken... it probably takes a worse break than the current ones against MD5 and SHA1, as well.

      All other things being equal, that answers mmell's question: Why is RSA safer for bank transactions than for DNSSEC?

      All other things are not equal, though, and that's the point. The banks don't care as much about performance, and they can upgrade much more easily than DNSSEC if RSA-1024 falls.

      How the hell can anyone be as fucking numb as you are to these two very simple things and still "be a cryptographer"?

      Basically, cryptographers tend to assume that the attacker can easily do things that in the real world might be feasible. So when you design a protocol, you usually assume either a secure channel, an eavesdropper, or an attacker who controls the entire network. For building an internet protocol, you usually assume that last one...

      I call shenanigans! If you're actually paid to design cryptosystems, let me know which ones so I can avoid them.

      You probably want to avoid them anyway... I'm a grad student so I don't design very practical stuff (yet...):

      • An anonymous identity-based scheme which doesn't use bilinear pairings, but too slow to be useful in practice... the prototype version takes about 3 seconds to encrypt on my 3-year-old Athlon64x2. I need a really clever number theorist to speed this one up.
      • A purely theoretical scheme... first provably secure yadda yadda yadda under the yadda yadda assumption.
      • A fast, powerful but slightly edgy identity-based scheme... might be useful someday.
      • The fastest, most compact Javascript implementation of AES and SHA. Not useful unless you're Google.
      • The fastest implementation of AES for the PowerPC G4 (because of its permute unit). Might end up being the fastest software implementation at all, clock for clock... too bad nobody uses the G4.
      --
      I hereby place the above post in the public domain.
    11. Re:So you think RSA is broken? by mrsbrisby · · Score: 1

      Of course. It's just that this is 6-7 orders of magnitude easier than breaking RSA, even against a relatively hard target.

      No. It's however hard breaking RSA is plus 6-7 orders of magnitude easier because you still need to break RSA.

      Signings shouldn't help the attacker unless your hash is broken... it probably takes a worse break than the current ones against MD5 and SHA1, as well.

      That's not true. doi:10.1016/S1007-0214(05)70121-8 for example on weak-key attacks against digital signature systems.

      they [the banks] can upgrade much more easily than DNSSEC if RSA-1024 falls.

      Sort-of. SSLv2 has been considered obsolete for a long time, but it took new PCI-compliance procedures to really shake it out of a lot of organizations I've worked with.

      Upgrading is hard. Saying upgrading HTTPS's RSA-1024 is "easier" than upgrading DNSSEC is patently meaningless: We're not really talking about upgrading, we're talking about replacement.

      There are still sites without MX records and still new FTP clients being made. I consider the proponents of DNSSEC and IPV6 similarly incompetent largely because they have spent so little time exploring how to replace our existing crap.

      DNSCurve is primarily an exercise in supplanting the existing system; that's what the entire system is built on, *how do we get security*, not how do we build the most secure system, or the best system by any technical measure.

      You probably want to avoid them anyway... I'm a grad student so I don't design very practical stuff

      Implementations are uninteresting. Where are these identity schemes published?

    12. Re:So you think RSA is broken? by wirelessbuzzers · · Score: 1

      Implementations are uninteresting. Where are these identity schemes published?

      Implementations are interesting if they use new techniques. The identity schemes are published in FOCS and Asiacrypt.

      --
      I hereby place the above post in the public domain.
    13. Re:So you think RSA is broken? by mrsbrisby · · Score: 1

      Implementations are interesting if they use new techniques.

      Ehhhh, perhaps in other cases. Compact Javascript and G4 assembly however aren't examples of a cryptographers particular prowess.

      The identity schemes are published in FOCS and Asiacrypt.

      Well that's helpful.

    14. Re:So you think RSA is broken? by wirelessbuzzers · · Score: 1

      Implementations are interesting if they use new techniques.

      Ehhhh, perhaps in other cases. Compact Javascript and G4 assembly however aren't examples of a cryptographers particular prowess.

      Meh, it's a quals paper. Should be sort of interesting, though... I'm not aware of anyone using a vector permute unit to do subfield arithmetic in constant time before.

      The identity schemes are published in FOCS and Asiacrypt.

      Well that's helpful.

      Oh, you actually want to read them? I thought you just wanted me to prove my cred. They're posted on my website.

      --
      I hereby place the above post in the public domain.
    15. Re:So you think RSA is broken? by mrsbrisby · · Score: 1

      Oh, you actually want to read them? I thought you just wanted me to prove my cred.

      I didn't doubt you went to school, or were completing a graduate level program on cryptography.

      I doubted your competence, because you missed something I thought was obvious, and I am not a cryptographer.

      That said, you mentioned you were working on identity systems, and I am interested in that. I want to say I do not seriously assume that your lack of experience with a particular kind of vulnerability assessment translates to a lack of competence in other things, and I apologize for my statement to the contrary on that subject.

      I look forward to reading these papers after the holidays...

    16. Re:So you think RSA is broken? by wirelessbuzzers · · Score: 1

      Haha, OK. I'm sorry for saying that you don't know what you're talking about with the vulnerability assessment... good to know you're not just a Slashdot troll.

      --
      I hereby place the above post in the public domain.
  14. Some bad ideas won't go away... by damn_registrars · · Score: 2, Interesting

    We've discussed before just how terrible of an idea it is to start selling gTLDs and let the spammers and con artists start running the entire show.

    And there have been more than a few objections on the list about selling gTLDs, as well.

    Yet apparently ICANN is set to go ahead with it, anyways.

    Funny, most organizations would be opposed to taking action that reduces their own authority (which is one obvious effect of selling gTLDs) - but of course with the prospect of seeing a small, immediate infusion of cash from the process, ICANN is all over it.

    Funny, in the name of profit, we are moving towards less regulation, less control, less accountability, and more resemblance to lawlessness.

    Unfortunately once they make this mistake there is no going back. We'll have unscrupulous registrars selling to criminals all over the world and we'll have zero control over the domains that turn profit on (counterfeit) drugs, (pirated) software, (counterfeit) fashion goods, (stolen) personal identification and the like.

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
    1. Re:Some bad ideas won't go away... by nsaneinside · · Score: 1

      Funny, in the name of profit, we are moving towards less regulation, less control, less accountability, and more resemblance to lawlessness.

      Hey, it "worked" for the economy until just a few months ago.

  15. Okay, you take your time with that. by mmell · · Score: 2, Insightful
    Let me know when widespread adoption seems likely.

    Let me know when widespread support is available.

    This is one of those cases where theory and practice differ. In theory, I'd love to wait until some absolutely uncrackable/fast/compact/available technology makes securing DNS possible. In the interim, this isn't the time to go back to square one and start over.

    Of course, since DNScurve will never need a successor, of course it'll be worth the wait. Obviously, DNSSEC will have a successor and so we should just not bother and stick with good ol' DNS until DNScurve has wide enough adoption to make migrating work.

    Uh, given that DNSSEC has taken nearly a decade to get here, how long will it be for DNScurve?

    In theory, there's no difference between theory and practice. In practice . . .

    1. Re:Okay, you take your time with that. by Anonymous Coward · · Score: 0

      Let me know when widespread adoption seems likely.
      Let me know when widespread support is available.

      That comment applies to both.

  16. That is the point of DNSCurve by CustomDesigned · · Score: 4, Interesting

    DNSSec pre-signs all DNS records. In order to "sign" "no such record" responses, it is necessary to sign a list of records that don't exist in a zone. This effective publishes your entire zone as a side effect.

    DNSCurve encrypts and authenticates the transaction, like SSL. This has the side effect of not needing to publish the entire zone. Instead of getting the public key from special DNSKEY records, DNSCurve stores it in existing NS records, encoded in the server name.

    I would like to use DNSKEY records if available, otherwise use the specially encoded servername. That scheme could also gradually transition to widespread DNSKEY support, since both the encoding and DNSKEY could be used. DNSSEC could even use the encoded servername idea - but the names would be *really* long thanks to the longer RSA keys.

    1. Re:That is the point of DNSCurve by Anonymous Coward · · Score: 0

      First of all, I wholeheartedly agree that the SSL-style "secure the transaction" approach is the way to go; can you name any other large cryptographic deployments that have succeeded?

      Now, re: DNSKEY records: I believe djb is suggesting the key be embedded in the record because the key must live and die with the record. This actually simplifies the record-keeping behavior of caches and reduces the opportunities for unintended behavior and tomfoolery.

      Think about it. With the key in the record, you are either using the key or not. With the key in a separate record, it is easier to accidentally cache an invalid or out-of-sync key, leading to DoS. Also, stuffing the record lets the key pass harmlessly through resolvers and applications that are not DNSCurve-aware, so the application layer can handle and record DNSCurve names, and still achieve security across the Internet if forwarding requests to a local cache that can interpret them.

      Also note that, in this proposal, the key is only used for *DNS servers,* not for all names. So it uses all the existing infrastructure to improve the chances that DNS queries are not sent in the clear, without *forcing* a sea change the way DNSSEC does. Specifically without forcing the backend behavior of caches to be rewritten to store the keys (though that could be optimized at a later date).

    2. Re:That is the point of DNSCurve by jonadab · · Score: 1

      > [DNSSEC] effective[ly] publishes your entire zone as a side effect.

      Can anyone explain why this is undesirable? To my way of thinking, the *purpose* of DNS is to publish this information. That is the whole point.

      If you have servers you don't want the public to know about, in the first place you don't give them public-facing IP addresses at all, and you *certainly* don't put their addresses on a public-facing DNS server. (This is why some networks serve different DNS information internally versus what they publish externally.) I don't see how DNSSEC changes that at all.

      The issue of acceptably-strong RSA keys being longer than will fit in a single UDP packet is another issue. The thing I don't understand there is why it's so important to avoid using TCP. Practically every other protocol on the internet runs on TCP, except for a couple of high-bandwidth things that don't need to ensure that all the data get through, e.g., VOIP. Why is sending DNS data via TCP undesirable?

      If 1024-bit RSA keys are too weak, why not use 16348-bit RSA keys? It's overkill, of course, but in matters of security where it's difficult to quantify *exactly* how much you need, a bit of overkill is generally a good thing, right? I understand why a key that large won't fit in a UDP packet, but I don't see why using a relatively new and untested crypto algorithm is better than using TCP.

      I mean, yes, I know that existing clients try UDP first and only send a TCP query if the result they get back indicates that's necessary, so people using old software would initially experience minor delays as the query has to be repeated on the TCP port. But assuming the ISP updates its DNS cache/resolver software in anything resembling a timely fashion, a lot of the extra traffic would only be going that far; the security-aware resolver would know to go ahead and use TCP in the first place when querying any nameserver that gave DNSSEC results last time it was queried. And eventually even the client software would be updated, and the delays we're talking about here are on the order of doubling the amount of time a name lookup takes, which for most things is not a particularly large delay; certainly it's no worse than what CNAME records do, to say nothing of glueless out-of-bailiwick nameservers, and the end user honstly doesn't even *notice* those delays in most cases, because the actual data takes much longer to transfer than the name lookup anyhow.

      So what's the big objection to TCP?

      --
      Cut that out, or I will ship you to Norilsk in a box.
  17. Re:What an idiot. by CustomDesigned · · Score: 2, Interesting

    If RSA were not considered computationally secure, I might applaud his intent to provide "a better mousetrap".

    Since 1024 bit RSA used by DNSSEC is *not* considered computationally secure, I'm sure he'll appreciate your applause.

    Also, his "hack" of encoding the key in NS records actually simplifies deployment and could also be used by DNSSEC (at the expense of long DNS server names - *really* long in the case of DNSSEC).

    DNSSEC is pre-signed, and can be checked by a client even if a DNS cache is compromised. (If you already have non-forged keys from the root.) But this also means you effectively publish your entire zone.

    DNSCurve protects transactions, and depends on secure caches. Clients have to run their own caching nameserver if they don't trust the ISP DNS. (Pretty much the case now.) But you can also continue to use secret names in your zones.

  18. Why not just default to TCP for DNS resolving? by Ash-Fox · · Score: 1

    Why not just default to TCP for DNS resolving over UDP?

    It solves the problem.

    --
    Change is certain; progress is not obligatory.
    1. Re:Why not just default to TCP for DNS resolving? by CyberTech · · Score: 1

      Why not just default to TCP for DNS resolving over UDP?

      It solves the problem.

      Because it increases packet count for every dns request by 8 packets minimum. There's a ton of dns traffic.. that adds up. Not to mention system overhead in the connection establishment on the higher usage(think root) servers.

      --
      -- CyberTech
    2. Re:Why not just default to TCP for DNS resolving? by Just+Some+Guy · · Score: 1

      There's a ton of dns traffic.. that adds up. Not to mention system overhead in the connection establishment on the higher usage(think root) servers.

      In fairness, you could mitigate that two ways:

      1. Get people to use their upstream resolvers so that caching actually works.
      2. Create a sub-protocol to send multiple queries over the same TCP connection so that the connection and teardown can be amortized over many queries.
      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Why not just default to TCP for DNS resolving? by silas_moeckel · · Score: 1

      Unfortunately that's not going to work well.

      Many of the current top level DNS servers are running via anycast meaning many different servers have the same IP and the internet routes to the nearest one. This works very well since it scales but it can not handle TCP it has to be one packet in n packets out otherwise the first and second packets might night reach the same server.

      Keeping state for all the upper level recursive servers would be a nightmare and who gets to choose who gets to be an upstream. This sounds like usenet it works well until it got big then it became to much trouble for ISP's to support well.

      Small delays in DNS resolution time can cascade into big delays to the end user. Granted I see way to many foreign cnames and HTTP 302 redirects etc all causing delay in to many sites. So even tacking on TCP setup latency.

      Many firewalls are improperly configured not to allow DNS to use TCP now, changing the response much or even sending more UDP packets may cause gear to have fits.

      Overall neither one is perfect

      --
      No sir I dont like it.
    4. Re:Why not just default to TCP for DNS resolving? by rtfa-troll · · Score: 1

      Packet count has already been mentioned, but there's also a latency question. The first packet you send in UDP can already carry information. That means you get the answer in one round trip. In TCP you can only send information with the SYN/ACK packet (the second round trip) so you get double the latency or more. Even worse, this applies to all of the queries in a recursive request being carried out for you by your nearby DNS server so it can easily be three extra round trips per DNS query.

      This is important because for many web requests the DNS query will be a large portion of the time taken to get the page. The balance is very random, but it is almost exactly what customers judge the speed of their internet on.

      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
    5. Re:Why not just default to TCP for DNS resolving? by Ash-Fox · · Score: 1

      Many of the current top level DNS servers are running via anycast meaning many different servers have the same IP and the internet routes to the nearest one. This works very well since it scales but it can not handle TCP it has to be one packet in n packets out otherwise the first and second packets might night reach the same server.

      Dalnet uses anycasting for some of their IRC servers - It is entirely possible to configure the network to handle TCP just fine.

      Many firewalls are improperly configured not to allow DNS to use TCP now, changing the response much or even sending more UDP packets may cause gear to have fits.

      Why is why you fall back onto UDP for those kind of scenarios.

      --
      Change is certain; progress is not obligatory.
    6. Re:Why not just default to TCP for DNS resolving? by silas_moeckel · · Score: 1

      I cant comment on Dalnet but that may involve having the back ends coordinate.

      Falling back to UDP after how much time? The point is any slow down causes big headaches upstream there isn't time to fall back etc and still keep a fast system. The current 3000ms timeouts can cause nightmares adding another layer just makes it worse.

      Now if they had just put all the security bits in follow on UDP packet(s) and use maybe a few bits in the request to ask for security verification. If the firewalls munged them no big deal as they would not start showing up till asked for by the local caching name servers.

      --
      No sir I dont like it.
    7. Re:Why not just default to TCP for DNS resolving? by Lennie · · Score: 1

      It's definitly possible to use anycast & TCP, just is all TCP-connections break when routing changes.

      --
      New things are always on the horizon
  19. What's DNSSec going to cost us? by ErikTheRed · · Score: 4, Insightful

    DNSSec uses hierarchical signature chains (similar to SSL). So, um, they're going to sign our keys out of the goodness of their hearts, right? Oh, they're not? So the real reason that these registrars are running around with giant erections over DNSSec is because it's a whole new revenue stream for them? Makes sense now.

    Not that I'm against anyone making a buck, but if there's a decent way to accomplish the same goal without having another set of keys to sign (and having to update ZSKs every freaking month) then I'd be happy to give it a fair shake. It's not like most admins have all sorts of free time to deal with additional overhead.

    Another point in favor of DJB - Yes, he's abrasive, but when was the last time tinydns needed to be updated because of a security vulnerability? Now compare with BIND and Windows Server. We can argue his quirks all day long, but dude does have hands down the best record (pun semi-intended) when it comes to DNS security.

    --

    Help save the critically endangered Blue Iguana
    1. Re:What's DNSSec going to cost us? by James+Cape · · Score: 1

      Spoken like a man who has never stared into the abyss of doing dynamic zones with perl.

    2. Re:What's DNSSec going to cost us? by TheLink · · Score: 3, Informative

      I personally find djbdns easier to use and less error prone than BIND for most stuff ( http://cr.yp.to/djbdns/blurb/easeofuse.html ).

      If you want to manipulate DNS records with perl, the djbdns format is much simpler than BIND's.

      Yes it is different from BIND, but different can also be better.

      Postfix's main.cf is different from sendmail.cf but much simpler(yes I know about m4, but honestly is it really simpler than Postfix? ).

      The ISC have a long track record for producing hard to manage stuff with security problems.

      It's no surprise that DNSSEC is a bad design (it's a good way for corporations like Network Solutions/Verisign to extract more money from people tho).

      http://www.dnscurve.org/dnssec.html

      --
  20. Re:What an idiot. by C0vardeAn0nim0 · · Score: 1, Flamebait

    At just a moment when the internet at large needs to standardize on secure mechanisms, he has to gratuitously add another potential standard to the mix, increasing the difficulty of getting anything done.

    that's because he's an egomaniac who'll not be happy until the internet becomes DJBnet, all based on DJB/IP, with DJBDNS, DJBML and the like

    --
    What ? Me, worry ?
  21. Will either DNSSEC or Curve solve this prob? by JSBiff · · Score: 2, Interesting

    I've thought before that it would be useful, if I'm using my laptop on a public WiFi network, to be able to use a pre-designated, trusted DNS Server (so that the public network's DNS Server can't send me to bogus servers).

    It would be a nice feature if I could have my computer cache the public key of my ISP's DNS Server (or maybe OpenDNS; the point is, some DNS Server *I* trust, instead of a random DNS server), then, no matter what network I connect to, always use that DNS Server, with the DNS packets being signed by the trusted server, so I know they are really from that server. (I realize I can use OpenDNS pretty much anywhere, but I don't know if there is anything preventing the local network from doing a MITM attack?)

    It might also be useful, for this type of system, if my computer can authenticate to the ISP DNS Server (because they might not normally allow DNS requests from outside their own network, but if there were a specified authentication mechanism as part of the standard, they might allow me to roam if I authenticate)?

    Maybe the best answer is to just use the VPN capability on my home router to always VPN to that router, which will then use my ISP's DNS. Until DNSSec is implemented widely, that's the best solution for now, anyhow, I think.

  22. 1024 bit RSA keys are too short and too long by billstewart · · Score: 1

    We've known since the beginning that the security of RSA depends on the key length that computers can factor using the latest algorithms. 10-bit keys were always too short; 512-bit keys were cracked in 1999, and Shamir ("S" in "RSA") published work in 2003 suggesting that 1024-bit keys might be endangerable soon - they're probably fine for one-shot use on any individual message less important than planning the overthrow of a large government, and they're certainly fine for bank transactions, because the cost of breaking them far exceeds the amount of money in your bank account. But for a single long-term hard-to-change widely-used target, like the DNS root or .com, RSA1024 is pretty dubious. It's probably fine for signing www.yourdomain.com unless your domain is a large bank, but the protocol needs to support keys that are long enough for everybody, which means it needs to be 2048 or longer.

    Unfortunately, DNS has fairly tight constraints on how many bits you can cram into a transaction, and 2048 bits isn't very practical. ECC uses much shorter keys, and while 160 bits isn't quite long enough, 255 appears to be really good, unless some improvement in the theory changes that.

    But yeah, elliptic curve theory is a lot newer than factoring theory, and the risk of a theoretical breakthrough is a lot higher, though Moore's Law isn't much of a threat for a while. On the other hand, DNScurve uses ECC for transactions, not for long-term signatures, so there isn't the same One Big Target effect, since every DNS server is using its own different key.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  23. There's a reason we haven't implemented DNSSEC by guruevi · · Score: 4, Insightful

    I recently researched DNSSEC and I was going to implement it in my environment until I read the downfalls:

    1) Traffic for the signing of records would increase exponentially because to establish the authenticity you'd have to contact the originating server and do a PKI-like transaction (that's expensive). In it's current form, forcing DNSSEC throughout the world would effectively bring down the root DNS servers as well as many others
    2) Because of 1) caching DNS servers would be less useful since you'd have to contact the original for the keys anyway. This also introduces the problem that if all the original DNS are unreachable for whatever reason the whole zone would become unusable whereas now they have been cached.
    3) There is an attack vector where by using the no-record responses somebody can obtain the whole zone even if you didn't intend to publish it

    The problems with DNS are the same as the problems with SMTP and IPv4:
    - The problems were there from the start and the protocol wasn't designed with current threats in mind. Fixing it would effectively break it.
    - The only solution is to build up a new system parallel to it and introduce it without anyone noticing
    - The usable solutions are only temporary patches that make it more difficult to use become quickly reduced to the above 2 problems
    - There are multiple solutions from separate entities with their own agendas. Choosing one over the other has it's own flaws and is sometimes not even feasible.

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
    1. Re:There's a reason we haven't implemented DNSSEC by hardaker · · Score: 1

      1) Traffic for the signing of records would increase exponentially

      DNS zones are about 3-4 times larger in general with signed records in them.

      because to establish the authenticity you'd have to contact the originating server and do a PKI-like transaction (that's expensive).

      Unfortunately, all security typically revolves around doing computational tasks by proving something cryptographically. The DNS client in DNSSEC is tasked with validating PKI signatures if they want to trust the data... The servers serving DNSSEC-enabled zones, however, only serve the data. The data is pre-signed and isn't signed for every transaction so their hit CPU wise is minimal (they just have more data to serve).

      In it's current form, forcing DNSSEC throughout the world would effectively bring down the root DNS servers as well as many others

      The root server operators disagree with you here... For them, they've said they're ready today to serve a signed root. Most of their problems (something like 90% of their traffic) comes from by clients that keep asking for stupid things like "localhost.localdomain"

      2) Because of 1) caching DNS servers would be less useful since you'd have to contact the original for the keys anyway. This also introduces the problem that if all the original DNS are unreachable for whatever reason the whole zone would become unusable whereas now they have been cached.

      Caching servers cache the keys and signatures just like any other record. They have to cache more, but the number of requests doesn't go up by huge amounts. Again, it does require more data to be stored though but it's not "exponential"

      3) There is an attack vector where by using the no-record responses somebody can obtain the whole zone even if you didn't intend to publish it

      Agreed, though NSEC3 (RFC5155) was designed to solve that particular problem, though it has it's own oddities about it. Many TLDs were waiting for that to begin the signing of their TLD zones (.uk and .org being some of the outspoken ones).

      --
      The next site to slashdot will be ready soon, but subscribers can beat the rush and start slashdotting it early!
  24. New crypto algorithm by Nicolas+MONNET · · Score: 1

    Pushing a new crypto algorithm that has not been extensively vetted is a usually a bad idea ... but if there's one person you can trust to pull it off, that's djb.
    Here, DNSsec's RSA-1024 is the bad idea. We already know it's breakable to a determined enough attacker, now. And the prize is huge. What happened to the principle of having a significant margin of security? That's idiotic. I'm guesstimating wildly, but today a million-strong botnet could break it in months; in five year's time a 10-million strong botnet of low-end 16 core destops could do it in in days.

  25. He's using it for tabular data by Nicolas+MONNET · · Score: 1

    Or what's you definition of "tabular data"? Numerical spreadsheets?

    1. Re:He's using it for tabular data by GuidoW · · Score: 1

      I suppose you're referring to the tables on the page "Comparison of DNSSEC and DNSCurve". Well, I was referring to the big navigation bar on the top of every of those pages.

      --
      If it's so secret, then how come I've never heard of it?
  26. It's the official version, and generic records by Nicolas+MONNET · · Score: 1

    Generic records have an awkward syntax, but they allow you to store any kind of record. If you don't like it, you can just write a single line perl script to preprocess it. I have 100 domains managed with tinydns, the "data" file was getting a bit big. So I broke it up in a few files, and then have a makefile to
    * svn commit
    * Cat it all together and
    * preprocess it into "data"
    * Run tinydns-data
    * scp data.cdb to a number of secondary servers
    * Delete data (so that someone doesn't mistakenly edit it)

    Trust me, it beats the kludgy master/slave BS of bind.

    The only limitation have encountered is when you want to let a user have access to only part of the data. It would require some programming to make sure they don't add data for domains they don't own.

    1. Re:It's the official version, and generic records by kv9 · · Score: 1

      Trust me, it beats the kludgy master/slave BS of bind.

      you introduced make, svn and scp into the mix. how the fuck does that kludge beat a simple bind reload?

    2. Re:It's the official version, and generic records by Just+Some+Guy · · Score: 1

      how the fuck does that kludge beat a simple bind reload?

      But you don't get it! djbdns is simpler than BIND! Well, except when you have to make your own ad-hoc workaround for its lack of features, and your workaround is non-standard and won't interoperate with any of your partners' systems, and you're the only person in the world testing it so there's no peer review. But it's simpler! Really!

      --
      Dewey, what part of this looks like authorities should be involved?
  27. DNSCurve is better by eggnet · · Score: 4, Insightful

    DNSSEC focuses on signing dns zones. DNSCurve protects the transport only.

    This difference makes DNSSEC maintenance a pain in the ass, and DNSCurve easy.

    There are plenty of links in the summary to back this up, just wanted to point it out.

    1. Re:DNSCurve is better by spinkham · · Score: 1

      DNSSEC can be as easy as DNSCurve if you leave the signing key online. Everything can be automated easily.
      DNSSEC can also be much more secure and more of a pain by moving the signing key offline.
      DNSSEC gives you choice, DNSCurve has made what it thinks are the best tradeoffs, and is non-flexible and non-extensible.

      DJB compares the most complex DNSSEC deployment with the most simple DNSCurve scenario, and leaves a very skewed perspective in people's minds.

      Here's my take on DNSSEC vs DNSCurve

      DNSSEC ->
      +You can choose how simple or secure you want your deployment to be
      +Extensibility built in.
      +Allows multiple signatures(important politically in who owns the signing key)
      -Doesn't work through some current home routers that weren't written to the standards.

      DNSCurve ->
      +simple deployment
      -Signing key must be online
      -Only one key allowed
      -Non-extensible
      +Works through broken routers.

      --
      Blessed are the pessimists, for they have made backups.
  28. How is DNSCURVE news? by RichiH · · Score: 3, Interesting

    DNSCURVE has been around for some time, now. DJB just does a shitty job of pointing out why it's superior. As I don't have time to sum it up, just harvest the +5 I comments for details.

    Also, I would have thought that qmail has a larger impact & coverage than djbdns & daemontools, but oh well ;)

    DJB is hard to deal with when, not if, you disagree with him. But he _does_ churn out good stuff.

  29. Go ahead, do that without in CSS2 by Nicolas+MONNET · · Score: 1

    Me I'd just use display: -moz-box; --moz-box-align: horizontal; and -moz-box-flex: 1;, but that's very much non-standard.
    Thing is, even if it's not strictly speaking tabular data, it's not a case of tablesoup either.

  30. Does your bind do version control? by Nicolas+MONNET · · Score: 1

    I don't need svn to do that, I just use it to keep an history of the changes I made, and it's free to use since it's just included in the make process. Instead of signalling bind to reload, I type "make" instead, and it does much more, more predictively.
    And yes, I use scp, and make, and also bash and vi. Looook at meee! I use Haute Technology! My zone "transfers" are compressed, encrypted and authentified; I'm so spoiled! /snark

  31. To be fair, /service doesn't do dependency by Nicolas+MONNET · · Score: 1

    You can't specify service dependencies in /service; but it's extremely awesome when you need to roll out a quick service. Last week I had to make sure an ssh tunnel stayed open, here's what it takes:
    cat > run
    #!/bin/sh
    exec ssh -i key -L 4000:127.0.0.1:4000 user@host vmstat 30
    ^D
    chmod a+x run
    ln -s $PWD /service

    Bang. It's done. Beat that.

    1. Re:To be fair, /service doesn't do dependency by mrsbrisby · · Score: 1

      You can't specify service dependencies in /service;

      Dependencies are a red herring: you only know if upstart started the dependee, not whether it is ready to start answering requests. You still need to be robust enough to fail until the dependencies are up.

    2. Re:To be fair, /service doesn't do dependency by dlb · · Score: 1

      svcadm enable ssh

      Done.

  32. Debian packet by Tom · · Score: 1, Interesting

    Wake me when there's a Debian packet available.

    Seriously. I've outgrown the age where I compile my software, unless it's stuff that I've written myself.

    --
    Assorted stuff I do sometimes: Lemuria.org
    1. Re:Debian packet by hardaker · · Score: 2, Informative

      There are multiple implementations of DNSSEC for debian in the core repository. The latest bind tools support it and dnssec-tools is available packaged for debian.

      --
      The next site to slashdot will be ready soon, but subscribers can beat the rush and start slashdotting it early!
    2. Re:Debian packet by Tom · · Score: 1

      We were talking about DNSCurve last time I checked. ;-)

      --
      Assorted stuff I do sometimes: Lemuria.org
    3. Re:Debian packet by hardaker · · Score: 1

      The summary and most posts seem to be talking about both...

      --
      The next site to slashdot will be ready soon, but subscribers can beat the rush and start slashdotting it early!
  33. THINK OF THE CHILDREN! by A+non-mouse+Coward · · Score: 1

    OK. Now that I have your attention, instead of "children" think of other small, computationally weak things ... like handhelds. ECC excels in lower computational cost over RSA. That is yet another reason, as everyone's day planner has a web browser which requires DNS. Want your iPhone's battery to drain less fast? Use ECC instead of RSA for your public key crypto of choice.

    For that matter, DNSSEC should consider allowing ECC public keys. Then we would at least be debating the merits of the application of crypto in the protocols, not the crypto algorithms themselves (slashdot really isn't the place to debate that anyway).

    --
    libertarian: (n) socially liberal, financially conservative; neither left, nor right.
  34. Can someone explain the "confidentiality" thing? by jonadab · · Score: 1

    I'm trying to understand the "confidentiality" advantage of DNSCurve. I'm willing to cut Bernstein a little slack, based on his good security track record so far, so I want to try to understand what he's arguing for here, but I'm just not getting it. Why is it bad if the bad guys can find out what DNS records a certain domain server provides? Isn't the whole point of DNS to *publish* such information, i.e., make it widely available? Why would we want to keep it confidential? I thought we wanted to protect against forgery, not discovery. What am I missing?

    --
    Cut that out, or I will ship you to Norilsk in a box.
  35. What is that supposed to do? by Anonymous Coward · · Score: 0

    My daemontools script starts and maintains a port 4000 forwarding from localhost to 'host'. Yours starts the ssh daemon. Duh.