Slashdot Mirror


Bind 4 and 8 Vulnerabilities

eecue writes "The world's most popular DNS package is once again vulnerable. Even the advisory says it's only a matter of time before worms are written.... just like a couple years ago. I guess this is why i run tinydns."

178 of 402 comments (clear)

  1. Escape by Borodimer · · Score: 5, Informative

    Escape your binds, use djbdns.

    1. Re:Escape by Anonymous Coward · · Score: 5, Funny

      Escape your need for functionality, well-documented behaviors and the ability to freely import and export zone data without being a 15th-century sorcerer.

    2. Re:Escape by passthecrackpipe · · Score: 2, Insightful

      This is why running BIND9 instead of the djb stuff may be a very good idea.

      --
      People who think they know everything are a great annoyance to those of us who do.
    3. Re:Escape by AirLace · · Score: 3, Informative

      djbdns is a great codebase, but it's starting to suffer from a few issues. Find a vulnerability and you're not even allowed to release a fixed version! The license is in some ways _more restrictive_ than (dare I say it) Microsoft's Shared Source.

      There hasn't been a djbdns release since 12-Feb-2001 and the project is bound to go stale sooner or later if djb does not renew his interest. How many companies or networking professionals out there are going to use DNS software which has a single human point of failure? I won't even go into the "hit by a bus" argument.

      Granted, djbdns comes with some cute gimmicks like the "security guarantee". But for all of BIND's problems, the fact that it's open source makes it the better option in this case. Better the devil you know..

    4. Re:Escape by bozoman42 · · Score: 4, Insightful
      Find a vulnerability and you're not even allowed to release a fixed version!

      That's assuming you ever find one. qmail's withstood the security guarantee since 1998. djb tends to write fairly good software... Besides, people are allowed to release unofficial patches to djb projects and quite a community has grown up around additional features. See qmail.org and tinydns.org.

      There hasn't been a djbdns release since 12-Feb-2001 [freshmeat.net] and the project is bound to go stale sooner or later if djb does not renew his interest.

      Oh come on. If something works well and implements the standards, why should you bother to add more gimmicks? "If it ain't broke, don't fix it."

    5. Re:Escape by Anonymous Coward · · Score: 2, Informative

      > There hasn't been a djbdns release since 12-Feb-2001 [freshmeat.net] and the project is bound to go stale sooner or later if djb does not renew his interest.

      Code doesn't "go stale." djbdns works, and it's not going to rot and stop working if Dan doesn't change it.

      As for his losing interest, he's recently revamped all of the djbdns documentation and has been active on the djbdns mailing list.

    6. Re:Escape by innerFire · · Score: 2, Insightful

      There hasn't been a djbdns release since 12-Feb-2001 and the project is bound to go stale sooner or later if djb does not renew his interest.

      Maybe it hasn't been updated since Feb 2001 since it's complete and doesn't need any new updates? Is that such an amazing concept?

    7. Re:Escape by Tassach · · Score: 2

      ln -s /home/.var/foo /var/foo

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    8. Re:Escape by Anonymous Coward · · Score: 3, Informative

      The linuxmafia article is also wrong on several counts.

      If you own a piece of copyrighted work, you can alter it for your own use legally. Try this. Pick up the newspaper, and put a mustache on GW Bush. It is legal !!!

      Now, for software, the same conditions hold. Download djbdns. Add the comment /* djb is a quirky dude */ to the source and compile it. ALSO COMPLETELY LEGAL !

      Omigod. What a revelation.

      Anyway, the main barrier placed up by djb is that it would be tough to port djbdns to a non-UNIXlike OS, and tough for a distro to carry it (since the distro will need to distribute the source, potentially a patch, and have it build on install). Debian DOES distribute qmail. And a patch, and it builds on install. You are definitely given EXPLICIT permission by djb to distribute the latest source tarballs that are accessible on his website.

      As far as the other stuff, well, a large patch community is built around qmail and tinydns, and DJB is quite supportive. You get the source, and the ability to change it for personal use. And the ability to distribute patches to the source. Isn't that enough ?

    9. Re:Escape by Wdomburg · · Score: 2

      >Oh come on. If something works well and implements the standards, why should you
      >bother to add more gimmicks? "If it ain't broke, don't fix it."

      The problem is that Bernstein DOESN'T implement the standards. He appears to think he's above them.

      Matt

    10. Re:Escape by fanatic · · Score: 2

      Find a vulnerability and you're not even allowed to release a fixed version!

      True, but you CAN release patches agains the source. (see this, among others) And anyone who's going to buid and run this thing should have no problem applying patches.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    11. Re:Escape by twoflower · · Score: 2
      The problem is that Bernstein DOESN'T implement the standards. He appears to think he's above them.
      Actually, that's incorrect. djbdns does implement DNS according to the standards. Be aware, of course, that the RFCs incorrectly describe BIND-specific implementation details as part of the standard, though, and there's no reason for any other DNS implementor to copy those.
      --


      --
      Twoflower
    12. Re:Escape by Electrum · · Score: 2

      Since the standards aren't even close to being implemented, saying "it's complete" is just stupid in this case.

      Oh? What ``standards'' are missing? Which of these causes interoperability problems and why?

    13. Re:Escape by Zaknafein500 · · Score: 2

      I'll agree with that. I tried djbdns, and it simply did not have the functionality I needed for my application. (mainly, multiple DNS views) BIND9 is stable, functional, and doesn't seem to suffer from the incessant security issues inherent in BIND4/8.

      --

      "The guide is definitive, reality is frequently inaccurate."
    14. Re:Escape by rickmoen · · Score: 4, Informative
      An anonymous coward wrote:

      The linuxmafia article is also wrong on several counts.

      Please let me know, and I'll fix them.

      If you own a piece of copyrighted work, you can alter it for your own use legally.

      John Cowan's analysis on license-discuss@opensource.org of the USA Copyright Act's legislative history suggests that modification is not among the rights automatically conveyed. The essay on my site links to a mirror of his analysis, so you're welcome to evaluate its merits for yourself. My only comment was that Cowan "convincingly disputed" Prof. Bernstein's assertion to the contrary. But whether you'll be similarly convinced is entirely between you, Cowan, and the legislative record.

      You claim that there my essay is "wrong on several counts", but only cite only one particular on which you seem to disagree (without clearly stating why, other than that handwave about newspapers) -- not with me, but rather John Cowan. Are there other points, that you accidentally neglected to include? Please do detail them, when you have a chance.

      As far as the other stuff, well, a large patch community is built around qmail and tinydns, and DJB is quite supportive. You get the source, and the ability to change it for personal use. And the ability to distribute patches to the source. Isn't that enough?

      It's very generous, and commendable of Prof. Bernstein to grant that to the user community. In fact, it's about as generous as it's possible to be with proprietary software. Anyone who's content to become dependent on proprietary software might be very pleased with djbdns, qmail, tcpserver, publicfile, daemontools, and other similar proprietary-licensed offerings -- if they like the design (which I happen not to).

      Funny how proponents of DJBware just seem completely unable to utter the word "proprietary". I wonder why that is?

      Those of us who, other things being equal, prefer open-source code -- which can be forked in order to prevent the project from dying when its creator dies or loses interest -- will continue to prefer MaraDNS, BIND9, Posadis, CustomDNS, Yaku-NS, etc.

      P.S.: I'm sure you'll be equally offended by http://linuxmafia.com/~rick/linux-info/mtas. Enjoy!

      Rick Moen
      rick@linuxmafia.com

    15. Re:Escape by D.+J.+Bernstein · · Score: 5, Informative
      ``I tried djbdns, and it simply did not have the functionality I needed for my application. (mainly, multiple DNS views)''

      djbdns has supported client differentiation since January 2001, version 1.04.

      For comparison, BIND 9.0.0 was released in September 2000. It was practically unusable. The BIND company now says that BIND 9.0.0 had more than six hundred bugs, many of them quite serious.

      Are you saying that you tried djbdns two years ago, had to use BIND 9's ``views'' instead, managed to survive BIND 9's bugs, and haven't looked at djbdns since? If so, take another look. Client differentiation is substantially easier with djbdns than with BIND 9.

      Or are you saying that you tried djbdns more recently, and somehow acquired the false impression that it doesn't support client differentiation? If so, how did you acquire that impression? Is there something in the documentation that could be improved?

    16. Re:Escape by blakestah · · Score: 3, Informative

      John Cowan's analysis on license-discuss@opensource.org of the USA Copyright Act's legislative history suggests that modification is not among the rights automatically conveyed.

      It is just not even close to true. Changes FOR YOUR OWN PERSONAL USE do not come close to the issues related to copyright violation (effects on the author's market for the copyrighted material, or his reputation, etc). This is NEVER a default copyright violation. To claim so reaches the heights of absurdity. Talk to a copyright lawyer sometime instead of someone with his head shoved up his ass.

      Those of us who, other things being equal, prefer open-source code -- which can be forked...

      I DO prefer code open source code that can also be forked. But I do not think that is necessary for something to be FREE (as in GNU free), although the OSI would include it in their definition of "open source". There are a LOT of relevant freedoms. DJB includes all but redistributing derivatives. That is a LOT, and by no means reason to condemn his work to hell for eternity.

      P.S.: I'm sure you'll be equally offended by http://linuxmafia.com/~rick/linux-info/mtas

      Not really. I am not so into performance reviews unless performance is an issue for me. My servers are not pegged to the line EVER, performance is a non-issue for ME. What I care about is security and ease-of-use (mainly because they relate to the amount of admin time I need to spend to achieve proper use for my users). And DJB software allows ME, with my very specific small server needs, the absolute minimum admin time to perform as well as I need. And that is all.

      Ask most admins, and they will tell you a similar story. The best no-cost software is the one you have to spend the least time dorking with. If it is OSI open source as well, so much the better. If not, well, I'll wait until something better comes along that is OSI open source. But only if DJB's software fails or needs upgrading sometime in the next 20 years. Which is unlikely.

    17. Re:Escape by Wdomburg · · Score: 2

      >Actually, that's incorrect. djbdns does implement DNS according to the
      >standards. Be aware, of course, that the RFCs incorrectly describe BIND-specific
      >implementation details as part of the standard, though, and there's no reason
      >for any other DNS implementor to copy those.

      Sorry, just because Bernstein rationalizes things as "not standard" doesn't mean that they aren't. Djbdns fails to support things like NOTIFY, TSIG, and DNSSEC which are, in fact, implemented by a lot more than just BIND (hell, even MS DNS supports them all).

      Likewise with qmail - TLS, Auth, DSNs, MDNs - all missing from qmail, but present in most major MTAs.

      Matt

    18. Re:Escape by rickmoen · · Score: 2
      blakestah wrote:

      It is just not even close to true. Changes FOR YOUR OWN PERSONAL USE do not come close to the issues related to copyright violation.

      You know, pounding on the table does rather little to settle questions of law. Let's review this, shall we? The USA Copyright Act (17 USC 117, if memory serves) states that right to modify a covered work is a right reserved to the copyright owner. Prof. Bernstein's softwarelaw.html page claims that, however, the related legislative history (redacted into the CONTU Final Report) makes clear that such rights are nonetheless intended to be included, and that a court would thus apply the law.

      John Cowan, in a post to license-discuss@opensource.org, said he'd looked into the language Bernstein quoted from the CONTU Final Report, and found it to be distortively selective. He furnished a more-complete quotation, arguing that it, with the full wording included, contradicts Bernstein's assertion.

      Now, if you wish to argue with Cowan and his more-complete quotation of the legislative history, feel free to do so. I'd love to see you do that on license-discuss. But repetitive denials to Slashdot in all capital letters really don't qualify.

      I DO prefer code open source code that can also be forked. But I do not think that is necessary for something to be FREE (as in GNU free)....

      Well, the FSF doesn't agree with you, and never has. Read Stallman's "four freedoms" essay more attentively, and he specifically states there (in the FSF's standard definition, if you can call it that, of "free software") that free software must be freely redistributable in either source or binary form.

      More to the immediate point than appeal to yet another authority figure, it seems perfectly obvious to me that the right to fork is an inherent quality of what anyone would logically mean by the term free (or open-source) software: Without it, the project effectively ceases to be maintainable, the moment its owner hangs up his hat. Free? Open source? I really don't think so. If open source is to mean anything at all, it can't encompass software that automatically becomes effectively a dead project the moment its copyright owner retired, dies, or switches to a different hobby.

      "P.S.: I'm sure you'll be equally offended by http://linuxmafia.com/~rick/linux-info/mtas"

      Not really.

      You could have been offended by the numerous examples detailed there of intellectually dishonest arguments typically put forward by (many, not all) DJBware fans -- which, curiously enough, have shown up in today's discussion, too. But if you aren't, then great.

      The line was actually a running gag from my old long-vanished dial-up bulletin-board system, whose sign-off screen said "If you didn't enjoy this BBS, you'll probably be equally offended by any of these others", followed by a list of other recommended systems.

      Rick Moen
      rick@linuxmafia.com

    19. Re:Escape by blakestah · · Score: 2

      ... states that right to modify a covered work is a right reserved to the copyright owner.

      There is also fair use, and if your modifying the program didn't impact the market for the program, or the reputation of the author, it is almost unthinkable that a judge would decide that your modifications were illegal. There really is no "set in stone law" - each case will depend on the considerations relevant to fair use and the particulars of the case. It is not like stealing where the answer is clear cut. There are mitigating factors that, in this case, make the answer REALLY clear.

      Note that all of this pre-assumes that the author takes you to court. And, in such a case, in as much as DJB has publicly stated many times that he thinks you can and should (if you want to) modify his programs for your use, the point is really really moot.

      Copyright law is civil law. There could certainly be cases in which modifications of source code for personal use would be illegal. But, in general, if your personal use modifications have no impact on the market for the copyrighted work or the reputation of the author, it will be fair use. Just like writing in the margins of a book is fair use. The book is no longer the same, but you are the only person using it, so the author has zero impact. It is really a little silly to waste so much breath on it.

      On the subject of freedoms, I agree that the right to re-distribute derivative works is a big freedom. The GNU freedoms are simpler though - the relevant right is the right to distribute your improvements of the program to others. In the case of DJB software, you can do that.

      Like his licenses or not, I am going to keep using it. Well, really, that is a no brainer. The stuff works and I never need to look at it. That is the highest praise an admin could give any piece of software.

    20. Re:Escape by passthecrackpipe · · Score: 2
      "Be aware, of course, that the RFCs incorrectly describe BIND-specific implementation details as part of the standard"

      That statement is factually incorrect. If it is described in the RFC, it is the standard. You cannot say "the standard incorrectly describes" in this context. What you _can_ say is "djb does not like that part of the standard, and if only they would have asked him, it never would have made it in the standard". But that is a different thing....

      --
      People who think they know everything are a great annoyance to those of us who do.
    21. Re:Escape by rickmoen · · Score: 2
      blakestah wrote:

      There is also fair use....

      Fair use is, to quote the Copyright Act, limited reproduction of parts of a copyrighted work for "purposes such as criticism, comment, news reporting, teaching. [...] In determining whether the use made of a work in any particular case is a fair use the factors to be considered shall include (1) the purpose and character of the use, including whether such use is of a commercial nature or is for nonprofit educational purposes; (2) the nature of the copyrighted work; (3) the amount and substantiality of the portion used in relation to the copyrighted work as a whole; and (4) the effect of the use upon the potential market for or value of the copyrighted work. The fact that a work is unpublished shall not itself bar a finding of fair use if such finding is made upon consideration of all the above factors."

      ...and if your modifying the program didn't impact the market for the program, or the reputation of the author, it is almost unthinkable that a judge would decide that your modifications were illegal.

      Adversely affecting the market is relevant, as my quotation from section 107 (above) explains. Attacking the author's reputation is not. But the fair-use defence as a whole, since it applies only to copying (rather than modification), and only to limited excerpts for criticism, comment, news reporting, teaching, etc., doesn't have any obvious application to your point.

      There really is no "set in stone law" - each case will depend on the considerations relevant to fair use and the particulars of the case.

      It is true that there is relatively little caselaw on software licensing, but any caselaw would be guided strongly by statute, such as that cited.

      And, in such a case, in as much as DJB has publicly stated many times that he thinks you can and should (if you want to) modify his programs for your use, the point is really really moot.

      Now, there is an important and vital point. Thank you for posting that. Yes, permission grants under copyright law may be through various means such as orally or through conduct of the parties (as opposed to assignment of copyright ownership, which must be in a particular sort of written form).

      I will note, however, that I was addressing (via Cowan) Prof. Bernstein's assertion of an alleged right to modify software generally. Cowan's point (if you find his more-complete quotation from the legislative history convincing) is that the Copyright Act does not in itself grant that right, and is unlikely to be held by courts to do so.

      Prof. Bernstein's softwarelaw.html page has helped many people better understand software licensing under copyright law: I definitely have. I appended Cowan's comments to my essay solely to help improve people's understanding of the legal issue by that small additional measure.

      (A further comment on your book example: The question of right to modify would arise also only if a court held that you had created a "derivative work". IANAL, but I somehow doubt that scribbling in a book qualifies.)

      There could certainly be cases in which modifications of source code for personal use would be illegal. But, in general, if your personal use modifications have no impact on the market for the copyrighted work or the reputation of the author, it will be fair use. Just like writing in the margins of a book is fair use.

      Again, the fair-use clause concerns redistribution, not modification.

      On the subject of freedoms, I agree that the right to re-distribute derivative works is a big freedom. The GNU freedoms are simpler though - the relevant right is the right to distribute your improvements of the program to others. In the case of DJB software, you can do that.

      But only as source code patches against a source-code tarball that, itself, may not be distributed in "improved" form. Over the long haul, that simply cannot be not a feasible way to maintain a project, let alone successor projects that could otherwise arise as derivative works of the original (a la FreeBSD being descended from Berkeley CSRG's BSD).

      You've chosen to ignore that point, and try to gloss over it with handwaves like the one preceding, several times, now. That's a shame; it seems more like propaganda than honest discussion.

      Like his licenses or not, I am going to keep using it. Well, really, that is a no brainer. The stuff works and I never need to look at it.

      I can well imagine. Even though I personally hated administering the stuff for a living, think its design is downright peculiar, and feel it's regrettable how often its proprietary nature is misrepresented to the public, it has some significant virtues.

      But of course, so do Postfix, MaraDNS, etc.

      That is the highest praise an admin could give any piece of software.

      I feel the highest would be that plus "...and, unlike that DJB stuff we used to use, it didn't become effectively unmaintainable after its owner retired." But you place your money and you take your chances, eh?

      Rick Moen
      rick@linuxmafia.com

    22. Re:Escape by D.+J.+Bernstein · · Score: 3, Informative
      Rick Moen is an idiot. See an attorney's summary of Aymes v. Bonelli, 47 F.3d 23 (2d Cir. 1995), or the case itself, for an example of your right to modify copies of software that you own.

      Moen's source John Cowan is correct about one thing: namely, CONTU said that users ``should'' have modification rights, not that they ``do'' have modification rights. What Cowan and Moen fail to understand is that (1) CONTU was giving recommendations to Congress regarding changes to copyright law and (2) except for something that isn't relevant here, Congress followed those recommendations.

      Cowan says that ``there is no evidence that the right ... was in fact added'' to copyright law. In fact, the evidence is overwhelming. (Cowan logic: if Cowan hasn't seen the evidence, the evidence must not exist.)

      Cowan says that my quote from CONTU is ``misleadingly selective,'' and that my ``claim that private modifications are allowed'' is not ``credible.'' In fact, modifications are allowed. (Cowan logic: if there isn't evidence that he's wrong, then he must be right.)

      Moen says that Cowan ``furnished a more-complete quotation,'' finding that it ``contradicts'' my summary and that my quote was ``distortively selective.'' In fact, my comments are entirely consistent with the CONTU report. (Moen logic: If Cowan puts the most words in quotes, Cowan must be right.)

      Moen says that Cowan ``convincingly disputed'' my summary. And so on ad nauseam. It's rather amazing how tall a tower of stupidity can be built on a foundation of ignorance.

    23. Re:Escape by rickmoen · · Score: 2

      Well, hello again, Prof. Bernstein! How refreshing it is to see you no longer brandishing legal threats, and instead lapsing into your more-customary namecalling mode.

      Frankly, I don't particularly care whether you agree with John Cowan or not. I simply point people to the full text of his post, state that I found his analysis convincing, and let readers make up their own minds.

      And, if Prof. Bernstein cares to dispute the matter with Cowan, I'd be delighted to see him join license-discuss@opensource.org, so I can watch the carnage from the sidelines, as the attorneys descend upon him.

      Rick Moen
      rick@linuxmafia.com

    24. Re:Escape by passthecrackpipe · · Score: 2
      Moot points, IMO. Why not simply use an OSI-approved license, instead of the license you currently yield? Why not adapt yours to meet the OSI standards?

      I mean, at the end of the day, it is your work, and you are free to license it how you like. Your arguments in this discussion come across (to me) that your license is as good or better vis. the OSI standards. I am just curious as to where, exactly, your license is an improvement over the OSI standards (other then you maintaining totalitarian control, and not wanting others to build on your work and persuing different paths?)

      --
      People who think they know everything are a great annoyance to those of us who do.
    25. Re:Escape by blakestah · · Score: 2

      Again, the fair-use clause concerns redistribution, not modification.

      Right. Modifying the program for personal use is a no-brainer.

      The only issue, really, is whether you have a default right to re-distribute patches without permission from the copyright author whose work you patch. And, it would probably come down to the opinion of the judge. Are you selling the patch ? That works against you. But you unquestionably INCREASE the market for the work, so that works for you. The patch includes NONE of the original copyrighted material, which works VERY strongly for you. I think that probably, if the patch is freely distributed, it would be considered fair use.

      But in copyright law, the judge gets to decide how to interpret fair use. So the specifics are important, too.

    26. Re:Escape by Wdomburg · · Score: 2

      >NOTIFY is an optional standard. I don't support it because I have better tools
      >for the same thing. RTFM [cr.yp.to].

      I've read your fine manual, and frankly I don't find it particularly convincing. Let's take a look at some of the claims on that page:

      Instead of immediately sending new data to the slaves, you run a zone-transfer
      service that accepts periodic connections from the slaves; your users complain
      while they're waiting for the slaves to check for new data

      That's what NOTIFY is for.

      The zone-transfer protocol isn't a modular file-transfer system; it is an
      ad-hoc system tied to the details of DNS.

      Yep, instead of a file transfer system which leaves you tied to a specific implementation of DNS software. I prefer zone transfers.

      The protocol has terrible compression and no security.

      Compression I won't argue with you over, though its not a real consideration for most user's needs, particularly with IXFR.

      There's only no security because you choose to discount TSIG and DNSSEC.

      an experimental IXFR mechanism for incremental zone transfers (although the
      BIND implementation doesn't work for zone files modified by hand or by
      external tools)

      It's worked for years.

      BIND's May 2001 IXFR and TSIG implementations are supposedly free of the bugs
      that caused crashes, data corruption, and root exploits in previous versions
      of BIND

      And here we are, over two years since the release of BIND 9, and there has been one native exploit, and it was in the resolver library not the server.

      Now you might protest "but there has never been an exploit found in djbdns! And you're right, you're *software* is secure. On the other hand, your *solution*, which involved rsync + ssh, hasn't fared as well. In just the past year, there have been root exploits found in rsync, openssl, and openssh (arguably the more common ssh implementation), there were DDoS exploits found in each of those packages as well, and openssh had major integration issues (due to unresolved issues in their privsep code).

      Just a couple things from your table that weren't really addressed above:

      Automatic handling of new zones

      Don't want it, don't need it. I often have slaves that I want only specific zones running on. Even in the instance that I do want a zone propogated, I prefer confirming the ACLs on the client side before making it live.

      Usable for other services

      I can't use djbdns to serve web traffic. It must suck. Hey, and I can't use it as a floor wax OR a non-dairy dessert topping. It must REALLY suck.

      Sorry, Dan, but this, in and of itself, doesn't mean anything. Unless you expect everyone in the world to store their zone data in the same format, you NEED an implementation nuetral method of transfering it.

      >Similarly, TSIG is an optional standard. I don't support it because I have
      >better tools for the same thing: for example, IPSEC and ssh.

      At the expense of being incompatible with anyone else.

      >As for DNSSEC, the protocol isn't even finished, let alone required. Basic
      >features are still in flux, and the system won't work without a centralized
      >key-management system that doesn't exist [cr.yp.to].

      Yep. Just like SSH doesn't work without a centralized key management system. Right.

      Matt

    27. Re:Escape by rickmoen · · Score: 2
      Wdomberg wrote:

      And here we are, over two years since the release of BIND 9, and there has been one native exploit, and it was in the resolver library not the server.

      Just a quibble: That resolver library is actually legacy code from the antique BIND4/BIND8 codebase. I'm pretty certain there has been no new resolver code introduced with BIND9.

      That is not to say that the legacy resolver code isn't a problem. On the contrary: It's buggy as a lepidopterist's closet, and is no doubt a grave security liability. But my point is that it was not part of the BIND9 from-scratch rewrite, which was of the daemon code. (This is a particularly important point to make because of all the DJB groupies going around trying to slur BIND9's reputation with BIND8's faults, usually willfully.)

      Rick Moen
      rick@linuxmafia.com

    28. Re:Escape by Wdomburg · · Score: 2

      >* quotes #2 out of context and claims, incorrectly, that I'm ignoring the
      > work on improving the zone-transfer protocol;

      Sorry if I quoted incorrect statements on your page.

      >* claims, incorrectly, that BIND's implementation of the experimental IXFR
      > mechanism works (and has worked ``for years'') with hand-modified zone files;

      That would explain all the IXFR transfers in my log files, of zones which are only modified by hand.

      >* claims, incorrectly, that the DNSSEC architecture works without centralized
      >key management [cr.yp.to];

      No, I made a snide remark comparing its usefulness to ssh without a centralized key authority. It can be used today in "island of trust" configurations.

      >* claims, incorrectly, that scp [openssh.org] et al. are proprietary;

      Where, precisely, did I make this claim? The only statement I made that I can even imagine you misconstrued as that would be:

      Yep, instead of a file transfer system which leaves you tied to a specific
      implementation of DNS software. I prefer zone transfers.

      The reference wasn't to the software used to copy the files, merely the software used to serve them out on the other end. So far as I know, the format djbdns stores its zone data in is proprietary to djbdns.

      >* claims, incorrectly, that TSIG is ``compatible'' and IPSEC isn't; and

      When you're talking DNS, it is compatible, with virtually everything but djbdns. Scripts written to use IPSEC or ssh are likely to be very site dependent.

      >* says that some of the disadvantages of zone transfers aren't issues for him,
      > as if this meant that they don't matter to anybody.

      The feature I cited was automatic transfer of new zones. The point was this is sometimes UNdesirable behaviour. In other words, just because some of the disadvantages of your approach aren't issues for you doesn't mean that's true for everybody.

      >Lesson for software authors: If you want to see what features are important,
      >watch people actually using the computer, not people speculating about how
      >other people use the computer. Typical speculation doesn't have much to do with
      >reality.

      That's a lovely example of ad hominem. Thank you.

      Getting back to reality though, I do "use the computer". Ironically enough a large part of my job is dealing with one of your software packages.

      Matt

  2. And I guess... by nagora · · Score: 5, Insightful
    ...that's why I run Bind 9 and keep it updated.

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    1. Re:And I guess... by dsb3 · · Score: 3, Informative

      > ...that's why I run Bind 9 and keep it updated.

      The more pressing concern is that parts of bind4 and bind8 are so far ingrained in standard system libraries and other binaries that simply changing to use bind9 as your nameserver doesn't remove the old, buggy code from your system.

      --

      Slashdot? Oh, I just read it for the articles.
    2. Re:And I guess... by RollingThunder · · Score: 3, Informative

      Not really a good argument though (if I understand you right). If it's the system libraries and precompiled binaries you're worried about having BIND4/8 "cancer", then it doesn't matter *what* you do - BIND9, TinyDNS, MaraDNS, DJBDNS. That cruft will still be in there, until you recompile everything without said base libs.

    3. Re:And I guess... by Zapman · · Score: 5, Informative

      This is not very valid, since this is an exploit to attack DNS *SERVERS*. Not clients with the shared libs. Besides to attack a client, they first need to get you to go to some compromised DNS server, with an application utilizing the bad resolver libs.

      Besides, there are some good security points you should be doing anyway on the server. Unless you must have it, turn off recursion:

      acl safenets { 127.0.0.1/32; your.internal.ips/??;}

      options {
      allow-transfer { safenets; };
      allow-recursion { safenets; };
      }

      between that, a solid chroot, and a solid setuid, you'll have beaten 99% of the bind problems you'll have.

      --
      Zapman
    4. Re:And I guess... by Phs2501 · · Score: 5, Informative
      Also, if you're serving DNS, get a good secondary DNS provider. Put them in as both your primary and secondary NS records. Then firewall port 53 and only let their hosts connect.

      You still get the same effective service without nearly as much risk of random idiots exploiting buffer overflows.

    5. Re:And I guess... by snookums · · Score: 2

      Also, if you're serving DNS, get a good secondary DNS provider. Put them in as both your primary and secondary NS records. Then firewall port 53 and only let their hosts connect.

      Give that man a New! (aussie beer joke) If you don't have one handy, give him a mod point. This really is an excellent thing to do.

      <suit type="flameproof">If you don't mind being a bit of a bad nettizen, you can do something similar with your mail too. Firewall your priority 10 MX server and only allow connections from you backup mail servers (i.e. your ISP). I know this is not very friendly, but if you are worried about the security of your MTA (and can't fix it because of company policy or whatever) it will help.</suit>
      --
      Be careful. People in masks cannot be trusted.
  3. tinydns: internal and external views? by MORTAR_COMBAT! · · Score: 4, Interesting

    Does TinyDNS support internal and external views? By this I mean, can it return a different IP for the host "foo.my.com" based on what subnet a client is connecting from (e.g., return 192.168.10.11 for all clients in 192.168.* and return 4.3.17.45 for all clients outside of that)? If so, I will switch. If not, I need that function of Bind 9.

    --
    MORTAR COMBAT!
    1. Re:tinydns: internal and external views? by dsb3 · · Score: 5, Informative

      > Does TinyDNS support internal and external views?

      Yes. This page shows you how http://cr.yp.to/djbdns/tinydns-data.html

      --

      Slashdot? Oh, I just read it for the articles.
    2. Re:tinydns: internal and external views? by spacey · · Score: 4, Informative
      The format is pretty flexible. From the above page, the important part is:

      For versions 1.04 and above: You may include a client location on each line. The line is ignored for clients outside that location. Client locations are specified by % lines:
      % lo:ipprefix
      means that IP addresses starting with ipprefix are in location lo . lo is a sequence of one or two ASCII letters. A client is in only one location; longer prefixes override shorter prefixes. For example,
      %in:192.168
      %ex
      +jupiter.heaven.af.mil:192.168.1.2:::in
      +jupiter.heaven.af.mil:1.2.3.4:::ex
      specifies that jupiter.heaven.af.mil has address 192.168.1.2 for clients in the 192.168.* network and address 1.2.3.4 for everyone else.

      This shows, using the shorthand "in" for internal and "ex" for external, the syntax for creating the equivelant of bind's views. Its pretty flexible. And not hard at all.

      I do wish that djb could have made his format a bit more consistant, but when I think about it its probably impossible considering that DNS requires some oddbal fields. Having written a parser, its pretty darn easy to read and parse, especially compared to trying to compare it to the bind format after an axfr, where it keeps redifining "@".

      -Peter

      --
      == Just my opinion(s)
    3. Re:tinydns: internal and external views? by dsb3 · · Score: 2

      Search for this string in the referenced page.

      "... specifies that jupiter.heaven.af.mil has address 192.168.1.2 for clients in the 192.168.* network and address 1.2.3.4 for everyone else."

      Now, why do you need any of the four words you quote to explain/demonstrate the concept?

      --

      Slashdot? Oh, I just read it for the articles.
    4. Re:tinydns: internal and external views? by dizco · · Score: 2

      Top of the page, at the bottom of the section titled data format:

      For versions 1.04 and above: You may include a client location on each line. The line is ignored for clients outside that location. Client locations are specified by % lines:

      %lo:ipprefix

      means that IP addresses starting with ipprefix are in location lo. lo is a sequence of one or two ASCII letters. A client is in only one location; longer prefixes override shorter prefixes. For example,

      %in:192.168
      %ex
      +jupiter.heaven.af.mil:192.168.1.2:::in
      +jupiter.heaven.af.mil:1.2.3.4:::ex

      specifies that jupiter.heaven.af.mil has address 192.168.1.2 for clients in the 192.168.* network and address 1.2.3.4 for everyone else.


    5. Re:tinydns: internal and external views? by MORTAR_COMBAT! · · Score: 2
      Now, why do you need any of the four words you quote to explain/demonstrate the concept?

      Thanks for the pointer, but no thanks for the holier-than-thou.

      The word "view" I would expect, because with Bind 9, that is what you define to get this behavior. Any software hoping to displace Bind would do well to at least reference its nomenclature when discussing its own features.

      The word "horizon" is part of the technical term split horizon, which happens to be the technical term describing this behavior, that of providing one "view" to "internal" members of one "subnet", and providing another "view" to members of another "subnet".

      From the page FGA: Providing "split horizon" DNS Service you can get a quick overview of what the technical terms mean. I also found on that page a description of what I wanted -- how to provide a "split horizon" DNS service using TinyDNS.
      --
      MORTAR COMBAT!
    6. Re:tinydns: internal and external views? by MORTAR_COMBAT! · · Score: 2

      This is not what I asked for -- I have 1 network interface, and clients connecting from 192.168.*, and clients connecting from other IP addresses. Bind 9 (and TinyDNS, by the judge of the other posts in this thread) allow me to do just that, without having multiple interfaces. My DNS server is not also my switch -- it does not live on both networks. It lives on the internal network, and a firewall routes all DNS queries to it from the external network.

      --
      MORTAR COMBAT!
    7. Re:tinydns: internal and external views? by TheLink · · Score: 2

      A firewall routes all DNS queries to it from the external network?

      That's dangerous. If your dnserver gets rooted your internal network is exposed to the attacker.

      Firstly you shouldn't run BIND, but if you still want to: run two different BIND servers on different networks (add interface to firewall and stick the BIND to it).

      That way if BIND gets rooted, the rest of your network isn't exposed. You can also configure the external BIND in a more paranoid way.

      In fact I feel confident enough about tinydns to run it on firewalls as a DNS server for firewalls. Can't say the same about BIND. Even so, you should still ideally have your external and internal dns servers separate. Which is why BIND is more expensive, with tinydns I'm confident enough to risk it for low value sites.

      The author is the know-it-all-obsessive-perfectionist-proud-paranoid sort (just look at his responses :) ). Just the type to write secure code. Almost totally the wrong type to provide "hand-holding customer support" but doesn't matter to me.

      No need to patch for security problems, only need to patch to add features. Just the way I like it. Basically if the thing works leave it.

      Whereas with BIND (and much other ISC software - sendmail, dhcpd etc) you need to keep an eye out for security problems.

      --
  4. "I guess this is why i run tinydns." by mickwd · · Score: 4, Informative

    Alternatively, you could update to the latest version of BIND.

    From the advisory:

    "BIND 9 was not affected by any of the vulnerabilities described in this advisory."

    1. Re:"I guess this is why i run tinydns." by Florian+Weimer · · Score: 2

      Alternatively, you could update to the latest version of BIND.

      Among other things, BIND 9 implements stricter checking on zones than BIND 8, so it's a not a drop-in replacement which you can install during a random afternoon, completely unscheduled.

      It appears as if ISC has learnt from a certain BSD vendor how to push technology. They really want to encourage people to move over to BIND 3.4^W9, but I really wish they were are bit more responsible.

  5. patches already available by Anonymous Coward · · Score: 5, Informative

    linx pro has more information on the exploit, including patches to fix it.

    Does MS fix their vulnerabilities that fast? Judging by the number of klez variants in my inbox, I'd say "no".

    1. Re:patches already available by defile · · Score: 2

      Link is a 404. Anyone?

    2. Re:patches already available by afidel · · Score: 2

      Klez was fixed before it was released. Just because the users don't patch doesn't mean that MS didn't supply one.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    3. Re:patches already available by ceejayoz · · Score: 2

      Does MS fix their vulnerabilities that fast?

      Considering that according to the BIND history page BIND4 has been out since the 80s and BIND8 since 1997, I'd say this isn't exactly a glowing example of OSS's "quick fixes".

    4. Re:patches already available by mellon · · Score: 3, Insightful

      OSS' quick fix to BIND 4 and BIND 8 was to release newer versions. BIND 4 is a hopeless clump. BIND 8 was a partial rewrite. BIND 9 was a complete rewrite precisely because BIND 8 wasn't a good basis for a new start.

      The problem, if you want to call it that, with OSS is that once you release something broken, you have to hear bug reports about it for the rest of your life. I still occasionally hear from people who are running pre-1.0 snapshots of the ISC DHCP server. That's just how it is in the open source world.

      In 2150, some idiot on the Mars colony is going to get hacked by a guy in Plano, TX, because he or she is still running BIND 4 on the Marinaris City web server.

    5. Re:patches already available by ceejayoz · · Score: 2

      OSS' quick fix to BIND 4 and BIND 8 was to release newer versions.

      The vulnerability existed pre-BIND9 for at least 10 years. That's hardly a "quick fix".

    6. Re:patches already available by tswinzig · · Score: 3, Informative

      Does MS fix their vulnerabilities that fast?

      Yes. And if the patch is slow in coming out, it's because they are regression testing it. Do open source clients regression test their patches against thousands of machines with different configurations, or just release it as-is and post followup patches if they have problems?

      Judging by the number of klez variants in my inbox, I'd say "no".

      The only thing that proves is that the majority of users don't keep their systems patched, since Microsoft has made Outlook immune to viruses (yes, IMMUNE COMPLETELY IMMUNE)... been that way for over a year now, maybe approaching 2 years.

      --

      "And like that ... he's gone."
    7. Re:patches already available by mellon · · Score: 2

      True enough. OTOH, it also existed in a wide variety of commercial distributions, so it's hard to draw any conclusions about OSS vs. commercial from this.

      Perhaps the lesson to draw is that we should throw out old code and rewrite it more often... :')

    8. Re:patches already available by evilviper · · Score: 4, Insightful
      Microsoft has made Outlook immune to viruses

      It wasn't long ago that a forged 'trusted' mime type would allow an .exe to be automatically executed without warning. So please explain this "immue to viruses" thing, it doesn't make any sense to me.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    9. Re:patches already available by anshil · · Score: 3, Insightful

      The only thing that proves is that the majority of users don't keep their systems patched, since Microsoft has made Outlook immune to viruses (yes, IMMUNE COMPLETELY IMMUNE)... been that way for over a year now, maybe approaching 2 years.

      Saying such thing is completly unprofessional. It's like selling the unsinkable ship, the unfailable airplane, the unbreakable firewall, etc. etc. Anybody telling nonsense like that should get an unprofessional stamp on his forehead.

      Yes. And if the patch is slow in coming out, it's because they are regression testing it. Do open source clients regression test their patches against thousands of machines with different configurations, or just release it as-is and post followup patches if they have problems?

      Oh and thats why service packs often introduce new bugs. And thats why some fixes are exclusive. Meaning you can apply fix A or fix B. applying both patches will not work. If you apply fix A you get Bug C. Talk with some _real_ admin of a larger microsoft network, you will hear the tears.

      --

      --
      Karma 50, and all I got was this lousy T-Shirt.
  6. maradns by zdzichu · · Score: 3, Informative

    This is why I run MaraDNS.

    --
    :wq
  7. Don't slashdot ISC yet by SpaFF · · Score: 3, Informative

    http://www.isc.org/products/BIND does NOT have the updated versions (4.9.11, 8.2.7, 8.3.4) that addresses these security issues posted yet (as of 1:16 CST). Perhaps slashdot should update the story once the tarballs become available.

    --
    -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d? s: a-- C++++ UL++++ P++ L+++ E- W++ N o-- K- w--- O- M+ V PS+ P
  8. In other news by pheph · · Score: 5, Funny
    Another vulnerability has been found in Microsoft Windows 98...

    Come on, Bind 9 has been out for some time, so don't flip out!

  9. Did ISS tell bind maintainers? by spacey · · Score: 4, Interesting

    It was pointed out on the nylug-talk list that the advisory doesn't seem to include any info about whether nominum, paul vixie, or the ISC was notified about the bug.

    Does anyone know if ISS did the right thing, or are they being big doo-doo-heads?

    -Peter

    --
    == Just my opinion(s)
    1. Re:Did ISS tell bind maintainers? by Black+Art · · Score: 5, Informative

      ISS did not inform any of the Unix vendors.

      They are pretty pissed about it.

      Alan Cox's response was "Well we can all express our deep regret at the inability of the ironically named ISC to work with the internet and society in all the announces."

      BTW, Bind 9 does not fix all of these probems and the fixed versions will be out next week.

      This is not the first time that ISS has released information like this without informing the vendors ahead of time.

      --
      "Trademarks are the heraldry of the new feudalism."
    2. Re:Did ISS tell bind maintainers? by tekBuddha · · Score: 5, Insightful

      It was mentioned on the FreeBSD-Security list this morning that ISS had informed vendors that they were going to go public with this advisory tomorrow and not today. So in answer to your question, Yes, the vendors have apparently been notified.

      This however appears to be yet another situation where ISS has gone ahead and released an advisory before the vendors have actually had a chance to make patches available to the public.

      This is supposed to be a security firm that is trying to assist the public in keeping their boxen secure? If so, I'm really scared of the firms that are out there really trying to do damage.

    3. Re:Did ISS tell bind maintainers? by Black+Art · · Score: 3, Interesting

      The message to the vendors came out at about 11pm.

      The announcement to the public happened about nine hours later.

      The vendors were blindsided by this.

      --
      "Trademarks are the heraldry of the new feudalism."
    4. Re:Did ISS tell bind maintainers? by molo · · Score: 2

      From the advisory:

      BIND 9 was not affected by any of the vulnerabilities described in this advisory.

      http://bvlive01.iss.net/issEn/delivery/xforce/al er tdetail.jsp?oid=21469

      So what makes you say that there are Bind 9 problems? Mailing lists? Can you provide archive links?

      -molo

      --
      Using your sig line to advertise for friends is lame.
    5. Re:Did ISS tell bind maintainers? by Black+Art · · Score: 2

      Yes, Bind 9 is not vulnerable to those problems.

      Not everyone can upgrade to Bind 9 however. (Though they may have to.)

      --
      "Trademarks are the heraldry of the new feudalism."
    6. Re:Did ISS tell bind maintainers? by Black+Art · · Score: 2

      The Bind maintainers were informed about a month ago.

      The Unix vendors were not informed until last night.

      --
      "Trademarks are the heraldry of the new feudalism."
    7. Re:Did ISS tell bind maintainers? by Anonymous Coward · · Score: 2, Informative

      ISS and ISC worked together on this. ISS found the
      vulns, ISC worked with the vendors, and both of us
      worked with CERT and coordinated the announcements.

      Paul Vixie
      Chairman, ISC

    8. Re:Did ISS tell bind maintainers? by Florian+Weimer · · Score: 2

      Does anyone know if ISS did the right thing, or are they being big doo-doo-heads?

      In this case, ISS did not rush ahead. This was a coordinated release. Of course, something went horribly wrong, but I don't think ISS is to blame for it (maybe they could have warned ISC that their approach wouldn't work out, though).

    9. Re:Did ISS tell bind maintainers? by Florian+Weimer · · Score: 2

      ISS did not inform any of the Unix vendors. They are pretty pissed about it.

      So what? Vendors don't care. Sun even released a new version of Solaris with BIND and the TSIG bug, even though their previous version wasn't vulnerable (no DNSSEC support). It's been known for long that the BIND 8 DNSSEC is especially flakey, and if someone distributes compiled BIND 8 binaries with enabled DNSSEC, he's willing to take the risk and partly to blame for it. At the moment, nobody really needs DNSSEC, certainly not the (relative) masses who install precompiled BIND binaries.

      In addition, I strongly doubt that it is the duty of the researcher to contact distributors.

      Speaking of duties, ISC really should publish the patches now.

    10. Re:Did ISS tell bind maintainers? by Florian+Weimer · · Score: 2

      It's been known for long that the BIND 8 DNSSEC is especially flakey, and if someone distributes compiled BIND 8 binaries with enabled DNSSEC, he's willing to take the risk and partly to blame for it. At the moment, nobody really needs DNSSEC, certainly not the (relative) masses who install precompiled BIND binaries.

      I'm no longer sure that the current, critical problem is related to DNSSEC. There could be a spelling error in the ISS advisory. So please do not assume that you are safe if you've compiled BIND 8 without DNSSEC support!

    11. Re:Did ISS tell bind maintainers? by Alan+Cox · · Score: 2

      ISC did not tell the Linux vendors. Mr Anonymous is wrong.

      Why they didn't we don't know. They've not explained that yet. The exciting conspiracy theory is that its an attempt to force people to join their pay to play early notification stuff. The more boring posibilities are that they forgot, or that ISS didn't give them enough notice either.

  10. Tips by ekrout · · Score: 5, Informative

    [] Most smaller networks don't need a large (and dare I say buggy) installation of BIND.
    [] May I suggest djbdns rather than BIND? Its creator says "every step of the design and implementation has been carefully evaluated from a security perspective. The djbdns package has been structured to minimize the complexity of security-critical code. dnscache is immune to cache poisoning. It is advisable to use the package as a secure alternative to BIND."
    [] May I suggest Dnsmasq , which is described by its creators as a "lightweight, easy to configure DNS forwarder designed to provide DNS (domain name) services to a small network where using BIND would be overkill".

    --

    If you celebrate Xmas, befriend me (538
    1. Re:Tips by Anonymous Coward · · Score: 4, Insightful

      Waddayamean, free ?

      DJB has been quite clear on this. DJBDNS has his name on it, his guarantee against remote exploits, and his own petty little rant about where things should be installed, and why they should be the same on different systems. As far as he is concerned, you may NOT distribute binaries unless you guarantee they build exactly like the source would build them on the machine in which they are used.

      However, he is also QUITE clear. Source patches are fine. Of any sort. This is not any more the original djbdns package, and his guarantee goes out the window. Debian does this with qmail, for example.

      I use djbdns, but I REALLY like free software. WHY? Well, BIND is buggy as hell. It is probably the worst possible server software ever written with respect to remote exploits. And, even after the BIND 8 rewrite, it is still buggy as hell. It is also a pain in the ass to configure.

      In contrast, djbdns is pretty easy to configure and install. I installed it exactly once per machine (mostly caching servers for local machines only, but also domain servers). It never stopped working. EVER. It never needed restarting. It never needed attention. I sometimes forget it is even running. There has never been an exploit.

      So I ask you - if something works like this, why do you need to be able to redistribute anything more than patches? You install the dern thing once and it just keeps going like the Energizer bunny.

      So, go ahead, laugh if you want. Install buggy BIND, or some other DNS package. DJBDNS keeps my machines working, free from exploits of dns origin, and it never breaks down or needs attention. And if it ever does, I still have the source and permission to alter it for my own use, and to distribute patches that alter it to others.

      That pretty much covers the freedoms I want from my DNS software. Granted, it would be cooler yet if distros could package it and distribute as THEY see fit (placing the trust in the distro and not in DJB), but DJB is kinda quirky, so I live with the next best thing.

    2. Re:Tips by Electrum · · Score: 2

      May I suggest Dnsmasq [freshmeat.net], which is described by its creators as a "lightweight, easy to configure DNS forwarder designed to provide DNS (domain name) services to a small network where using BIND would be overkill".

      Don't run that. Run dnscache, which is part of the djbdns package. djbdns will out perform everything else and has security guarantee backed by a cash reward for security holes. djbdns has never had a security hole and never will. Why run anything else?

    3. Re:Tips by Istealmymusic · · Score: 2

      Yeah man I hear ya, pounding out make install too tedious for my tasts.

      --
      "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
    4. Re:Tips by T-Ranger · · Score: 2

      BIND with sufficently smart people to maintain it and keep it up to date.

    5. Re:Tips by Electrum · · Score: 4, Insightful

      You are being very naive. Please read this comment of mine, I don't want to repeat myself. The point is, that basically a "security guarantee backed by a cash reward" doesn't mean anything. I'm really surprised that people, sometimes even educated people, are still trusting in such poor marketing tools as "cracking contests."

      You shouldn't trust the software because of the cash guarantee. You should trust it because it is secure.

      Some people will audit the software in hopes of claiming the reward, either for the monetary or ego value. It also means that the author has faith in his software. How many other people will put a cash guarantee behind their code? Dan doesn't have any commercial reasons to offer this guarantee. He does it because he knows his code is secure. Why won't the BIND authors guarantee their code? Because they know that they can't.

      Look at it from another perspective. How many people here dislike Dan for one reason or another? How many of those people would love to find a hole in his software to discredit him? How many of those people have found one?

      djbdns is secure in the same way that qmail is secure. Read the code for yourself. You will see how different it is from other software. It is quite easy to see how Dan can guarantee that it is secure.

    6. Re:Tips by Electrum · · Score: 2

      How about Microsoft's "Hack our IIS Server" contest running on Windows 2000 Beta? Lots of people dislike Microsoft and would love to dicredit them. Nobody hacked the server and claimed the prize. Therefore IIS is secure (snicker).

      Except for one little difference: no one attempting to hack it had the source code.

  11. Or you could use bind 9... by Anonymous Coward · · Score: 5, Informative

    It's not surprising that bind 4 and 8 have the same vulnerabilities - they're based on the same code base, after all. Bind 9 was 100% rewritten, is modular, and actually *checks its inputs*, avoiding buffer overruns and such.

    It uses RFC-specified zone file format, it's extremely functional (internal/external views of DNS based on query source, TSIG authenticated DNS transactions, DNSSEC authenticated DNS records).

    In the couple of years the bind 9 code has been out there, the only vulnerabilities it's had caused the server to shut itself down immediately, as it realised something was wrong with its input. That's likely to be it's only failure mode in the future - stick a wrapper around it that restarts it when it dies, and you'll be right as rain.

    1. Re:Or you could use bind 9... by serlaten · · Score: 3, Insightful
      In the couple of years the bind 9 code has been out there, the only vulnerabilities it's had caused the server to shut itself down immediately, as it realised something was wrong with its input. That's likely to be it's only failure mode in the future - stick a wrapper around it that restarts it when it dies, and you'll be right as rain.
      No, you'd create a potentially very effective DoS target. If named were to restart each time it received some malformed packets, a motivated script kiddie could easily max out your load.
    2. Re:Or you could use bind 9... by Electrum · · Score: 2

      In the couple of years the bind 9 code has been out there, the only vulnerabilities it's had caused the server to shut itself down immediately, as it realised something was wrong with its input. That's likely to be it's only failure mode in the future - stick a wrapper around it that restarts it when it dies, and you'll be right as rain.

      You like to run software that anyone can take down anonymously? Correct, secure software like djbdns does not have these kinds of problems.

    3. Re:Or you could use bind 9... by bourne · · Score: 3, Interesting

      That's likely to be it's only failure mode in the future - stick a wrapper around it that restarts it when it dies, and you'll be right as rain.

      What, like supervise from daemontools?

      Nah. It'll never work.

    4. Re:Or you could use bind 9... by Phroggy · · Score: 3, Insightful

      It uses RFC-specified zone file format

      Is it just me, or does the RFC look like it was documenting BIND's implementation, rather than defining a standard which BIND then implemented?

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  12. Passive Worm Potential... PATCH NOW by nweaver · · Score: 5, Insightful

    The potential for a passive worm is actually fairly high, given that the exploit needs to come in response to a DNS query: The worm infects a DNS server, and waits for queries. It responds to those queries from other DNS servers by attempting to infect them.

    The nasty parts: Enough people dual-use their DNS servers (serving as both authoritative master for outside and for their own lookups) that you could get lots of authoritative masters. It also does NOT scan.

    It could be made even stealtier if the exploit, on failure, would still function. On success, it of course functions normally. This might be harder, but, if so, it would be really REALLY hard to detect such a worm.

    It would take a bit of writing to get right, so there is a good window in which to patch your machines. So patch SOON.

    --
    Test your net with Netalyzr
  13. BIND9 by isa-kuruption · · Score: 5, Informative
    1. Re:BIND9 by SpaFF · · Score: 5, Interesting

      It's funny that they recommend this, yet F.root-servers.net (which is run by the ISC) runs bind 8.3.3.

      F is a virtual server made up of multiple systems and runs ISC BIND 8.3.3 as its DNS server.

      --
      -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d? s: a-- C++++ UL++++ P++ L+++ E- W++ N o-- K- w--- O- M+ V PS+ P
    2. Re:BIND9 by Amazing+Quantum+Man · · Score: 3, Insightful

      Actually, IM(V)HO, *ALL* the root servers should be running different DNS servers. Basic rule of reliability...

      With redundant servers running different software, the chance of a single attack taking them all down is minimized.

      --
      Fascism starts when the efficiency of the government becomes more important than the rights of the people.
  14. /. should be more precise with security flaws news by rsd · · Score: 3, Informative

    Just old versions of bind,
    Bind 4.x and 8.x are vulnerable to this.

    Version 9, which is a complete rewrite from scratch
    and the version that everyone running bind should be using,
    does not suffer this security flaw.

    Slashdot editors should take an extra care when posting
    news like this to avoid FUD and unnecessary panic.

  15. Re:Tinydns is a pain in the ass to install by Geekboy(Wizard) · · Score: 3, Interesting

    No, it's secure because no one has ever found a flaw in tinydns. He has a *cash* reward for anyone who can prove that it is flawed. No one has taken then money, in several years of it being offered.

  16. Who uses bind4 anymore department? by RazzleDazzle · · Score: 5, Informative

    Answer: OpenBSD See subsection 6.8.3.1
    and read this for why

    --
    ZERO ZERO ONE ZERO ONE ZERO ONE ONE! Just brushing up for my next big invention: Ethernet over Voice (EoV)
    1. Re:Who uses bind4 anymore department? by Krieger · · Score: 4, Interesting
      Ah, but you didn't tell them why. Though you did provide a link.

      OpenBSD severely audited their BIND 4 code-base and it is very secure. This can be ascertained by looking at their errata pages and looking for patches to BIND. There aren't very many at all in the more recent versions.

      Sure it's BIND 4, but it's solid and stable, like DNS is supposed to be.

    2. Re:Who uses bind4 anymore department? by grub · · Score: 5, Informative

      This just hit one of the OpenBSD mail lists from Todd Miller re: the bind exploit:

      Based on the ISS and CERT info it looks like OpenBSD's named is vulnerable. However, since named is run chrooted on OpenBSD this shouldn't be such a big deal. When bind 4.9.11 comes out we will spin a patch.

      Note that we do not appear to have the resolver buffer overflow described in http://www.isc.org/products/BIND/bind-security.htm l
      (looks like we fixed it in 1997).

      --
      Trolling is a art,
    3. Re:Who uses bind4 anymore department? by Florian+Weimer · · Score: 2

      Based on the ISS and CERT info it looks like OpenBSD's named is vulnerable. However, since named is run chrooted on OpenBSD this shouldn't be such a big deal.

      How many kernel exploits to gain root access have been discovered for OpenBSD this year, and how many of them can be used from a chroot "jail"?

      (Leaving aside the fact that a chroot "jail" is sufficient for quite a bit of network tunnelling, misuse of a machine as spam relay etc.)

    4. Re:Who uses bind4 anymore department? by evilviper · · Score: 2

      Not only does it drop to user privlidge, and get chrooted by default, but with some minor changes, I additionally have it systrace'd using the included policy.

      If someone wants to break into my OpenBSD DNS server, I wish them luck.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    5. Re:Who uses bind4 anymore department? by evilviper · · Score: 4, Informative

      Are you a troll or just ignorant?

      Systrace will likely stop this attack from even being effective.

      Chroot'ing means that you give the program access only to an almost empty folder (basic config files).

      And Droping to a normal user means that it no longer has root permissions (and so can't even overwrite the few files in the chroot).

      Any one of these three security measures should stop this exploit from accomplishing anything. It's practically impossible that all three could be circumvented.

      So, no, my DNS server isn't going to be sending out ANYTHING.

      Besides, I haven't even implimented user/group filtering with PF yet. That would mean, even if an attacker got around systrace, and the chroot, they would not be able to transmit any data except on the ports I've allowed (e.g. only 53), and I could even set up a stateful rule that would only allow port 53 traffic in response to an outside request...

      Computer security has been a complete mess for some time now. It's beginning to look like it may be straightening out (provided you have a good admin that can impliment all of the available security tools).

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  17. Re:Troll submission by mickwd · · Score: 2

    Troll ???

    Just to clarify: You do know the meaning of quotation marks, and you are referring to the poster of the original story, right ?

  18. Strawman worms by AndroidCat · · Score: 2

    According to the article, exploiting these bugs will terminate the DNS. There's no mention of being able to infect the server. I'm not sure why the article mentions worms, other than the possibility of h4x0red Win boxes pounding on the bug.

    --
    One line blog. I hear that they're called Twitters now.
  19. What if you can't use (fill_in_the_blank)? by why-is-it · · Score: 5, Insightful

    For me, it is not really an option to use a tinydns or any other DNS solution other than BIND. Upgrading to BIND9 is not really an option for me either. I work for a large multinational, and we have a lot of UNIX servers (Sun, IBM, and HP in terms of numbers). I get hardware and software support direct from the manufacturer, and if I install an application, or a version of an application that my vendor does not support, I am on my own. These 24-7 support contracts are important to us in being able to sell our services and maintaining our SLA's and availability targets. Those issues aside, I do not want to have to explain to the PHBs that we cannot get support on a particular problem because the application in question is not supported by Sun, or that IBM only supports version 3.4 and we run version 4.0.

    So, it is all well and good if someone out there has the choice to install some other software, but keep in mind that it is not necessarily an option for everyone...

    --
    *** Where are we going? And what's with this handbasket?
    1. Re:What if you can't use (fill_in_the_blank)? by arkanes · · Score: 3, Insightful

      What the fuck are you playing your vendor for if they won't provide fixes for known, proven, and public vulnerabilites? If thats your quality of service, are you really losing anything by giving up thier support and installing your own apps?

    2. Re:What if you can't use (fill_in_the_blank)? by afidel · · Score: 2

      Why not work the contract so that they WILL support the version that is arguably many times more secure and which should be less hassle for them to support (as in they don't have to release a patch everytime ANOTHER bug is found in BIND 8). Whenever we make a contract we make sure OUR needs are met. For instance we have a line item in our contract with MS for Exchange that says the will fix OWA to work with our linux clients, since they don't want to do that they are paying for Ximian network connector liscenses for every linux install we have =) If we can make MS do something like support linux you should be able to get your vendor to support a newer version of BIND that is more secure =)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    3. Re:What if you can't use (fill_in_the_blank)? by why-is-it · · Score: 2

      What the fuck are you playing your vendor for if they won't provide fixes for known, proven, and public vulnerabilites? If thats your quality of service, are you really losing anything by giving up thier support and installing your own apps?

      IBM, Sun and HP *do* provide fixes for vulnerabilities, but only for specific versions of supported applications. So, in this particular instance, they will provide me with a fix for the versions of BIND4 and BIND8 they currently support. If I run something older or newer, they will not support me. I don't have a problem with that either for the most part. There is no reason for them to support really old code, and they may not have had the chance to examine the newer stuff to be able to support that properly.

      My only complaint is that what they do support is not quite as current as I might like. I don't expect them to support the bleeding edge stuff, and if you had SLA's to uphold, you wouldn't want to run the absolute newest code either...

      --
      *** Where are we going? And what's with this handbasket?
    4. Re:What if you can't use (fill_in_the_blank)? by arkanes · · Score: 2

      Well, you might want to re-evaluate your contracts then.... if what they provide you is less secure and less stable than other software (BIND 9 has been out for 2 years.. thats a pretty long time in software), then maybe you aren't getting a good value from your SLAs.

    5. Re:What if you can't use (fill_in_the_blank)? by kindbud · · Score: 2

      What is wrong with your company's policies that they prevent you from using more secure, or otherwise superior alternatives, for purely non-technical reasons?

      --
      Edith Keeler Must Die
  20. Re:AMEN! by thogard · · Score: 3, Interesting

    Thats just like the postfix situation. No one has reported bugs.... however if you look at most of the sendmail "bugs" over the last 5 years, you will find they workaround bugs in standard libraries and operating systems, not the main program code. If you look at the patches to sendmail and see if they have are need and applied to other packages, you will find they were needed but aren't applied. None of the people paying for bug reports will pay for bugs in the OS.

  21. Newer major versions often drop features by yerricde · · Score: 2, Insightful

    Another vulnerability has been found in Microsoft Windows 98...

    I take that comment to imply: "Windows 98 Second Edition is too old to be supported; all users of Windows 98 Second Edition should upgrade to Windows XP Home Edition." The problem with upgrading from one major version of a product to the next just to fix a bug is that newer major versions will often drop useful features that an older version had. For instance, Windows XP Home Edition loses Windows 98's competent support for running proprietary applications designed for MS-DOS. In addition, XP Home loses the ability to run acceptably on a 133 MHz machine with 32 MB of RAM.

    Does BIND 9 drop major features or require more hardware for a given level of service vs. BIND 8?

    --
    Will I retire or break 10K?
    1. Re:Newer major versions often drop features by pheph · · Score: 2

      I think you are absolutely right... However, Windows 98 still has many many more vulnerabilities than Windows XP. You just need to balance security (read: newer) with useful (read: needed) features.

    2. Re:Newer major versions often drop features by Fjord · · Score: 2

      Not to mention that you have to pay just to upgrade to Win XP, while you can upgrade to BIND 9 for free.

      --
      -no broken link
    3. Re:Newer major versions often drop features by Electrum · · Score: 2

      FWIW, I tried djbdns (via Debian's .deb wrapper that goes and gets it off cr.yp.to) at home. Then I reinstalled BIND. I didn't like installing all his other software to support djbdns and I didn't feel up to maintaining mods to change it--mods that would be violating the spirit of the license. I neither pirate commercial software nor rip off GPL'ed software: since I cannot use djbdns in the spirit of Bernstein's license, I will not use it.

      Stop trolling. ``all his other software to support djbdns'' consists of one package: daemontools. And if you felt like setting up djbdns by hand, it would even work without that. Though, I don't see any reason why you wouldn't want daemontools installed. Unless, of course, you don't care if your services stay up without you constantly watching them. daemontools is useful for many things, not just djbdns.

      The rest of your post is complete FUD. You are completely allowed to modify djbdns however you see fit. Patches are allowed and encourged. Although, there is no reason you should have to patch it, as the software works fine. The only thing you can't do is distribute modified versions of the software. Distributing patches is just fine.

    4. Re:Newer major versions often drop features by TheLink · · Score: 2

      Actually one might need to install ucspi in some configs, just to get tcpserver.

      I personally like tcpserver - can use it for other things.

      I think they just need it to be productised- bundle _everything_ into one package whether they need it or not, let them get a nice blue install screen etc, with Typical install and Minimum Install options doing exactly the same thing ;).

      --
    5. Re:Newer major versions often drop features by Electrum · · Score: 2

      Actually one might need to install ucspi in some configs, just to get tcpserver.

      Yeah, it is necessary to use axfrdns, for example. But for just running dnscache or tinydns, it is not required. The poster was complaining that a lot of extra software was required, when it is not. (Gee, complaining that programs actually follow the UNIX tradition.)

  22. Re:Welcome to System Administration 101 by RazzleDazzle · · Score: 2
    --
    ZERO ZERO ONE ZERO ONE ZERO ONE ONE! Just brushing up for my next big invention: Ethernet over Voice (EoV)
  23. Bind 9.2.1 by decarelbitter · · Score: 2, Insightful

    Bind 9.2.1 has been out for a while. If you haven't upgraded yet consider letting someone who does know run your nameservers...

  24. Re:Tinydns is a pain in the ass to install by ComaVN · · Score: 5, Funny

    Hey, this guy offers $10,000.00 to anyone who can disprove his *AHEM* theory, and no-one has taken HIS money.

    --
    Be wary of any facts that confirm your opinion.
  25. Not So Strawman Worms by nweaver · · Score: 5, Informative

    Two of the attacks are DoS: You crash the server, end of story. One, the buffer overflow, can potentially execute code.

    The only "gotcha" in that exploit is that an attacker needs to control a DNS server which the victim DNS server queries. Thus it is a passive attack, the victim must query you, not the other way around.

    That is why the attacker uses a passive worm: The worm infects a DNS server, which in addition to being the local DNS server, serves as the authoritative master DNS server for some domains. When another DNS server queries the infected authoritative master, the authoritative master's response is designed to compromise the requesting server.

    This compromise is followed by a transfer of the worm code itself, and now the victimized server is now infected as well.

    As I said, this doesn't scan, which makes it particularly nice and stealthy.

    You could also make an active scanning worm as follow: There are 2 kinds of nodes, authoritative DNS servers and other DNS servers. If you infect an authoritative DNS server, the worm knows it. Otherwise, it knows the authoritative DNS server it was infected from.

    The worm "scans" by sending DNS queries (ideally with forged from addresses) which will trigger a lookup from the known corrupted authoritative server. This can then go through the net, rather noisily, and infect all servers which accept remote queries. This process can be sped up considerably by looking through the local cache for a list of all DNS servers that the corrupted machine knows about. Rough guess? Less than an hour to infect everything which can listen to the net, and you still have the passive attack to get DNS machines behind firewalls etc.

    The fortunate thing: Although the possible worms are either very fast (lots of vulnerable machines, topological speedup from using the cache) or very stealthy (no scanning at all, a contageon strategy), both techniques require a fair amount of BIND specific programming to develop and release: You need to not only craft the exploit, but keep bind running and transmit the exploit.

    So no kiddiot can simply drop exploit code into scalper.c and get it to work, instead there is a considerable amount of programming needed. So we do have a significant time window to patch machines, but they do need to be patched because it is a very "worm friendly" exploit pattern.

    --
    Test your net with Netalyzr
    1. Re:Not So Strawman Worms by AndroidCat · · Score: 2
      Yeah, I was rereading and realized that I'd skimmed over the SIG Cached RR Overflow Vulnerability. D'Oh!

      As for kiddiots, it only takes one to share his code. (Open Source hax0r tools, must be a good thing right? :^)

      --
      One line blog. I hear that they're called Twitters now.
  26. BIND by Make · · Score: 4, Funny

    BIND - serving remote shells since 1986 ;)

  27. Why I LOVE Red Hat Network by mcrbids · · Score: 3, Informative

    Knowing that this might be a vulnerability issue, I immediately logged into my main servers and typed, in each, "up2date -du --tmpdir=/home/tmpdir".

    Before I even realized that this doesn't apply to me, (I'm using Bind 9) all the updates had been downloaded and applied.

    And, I guess, in a week or so, I'll get an email from Red Hat letting me know that I should be running up2date again...

    -Ben

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:Why I LOVE Red Hat Network by LinuxHam · · Score: 2

      == why I love the cron-apt deb

      every night at 4am, my debs are updated. and yes I did remove the -d (download only, no install) flag, so it does real updates nightly.

      --
      Intelligent Life on Earth
    2. Re:Why I LOVE Red Hat Network by markcox · · Score: 3, Informative

      Official Red Hat Statement

      "Versions of Red Hat Linux since 7.1, and Red Hat Linux Advanced Server
      shipped with BIND 9 are are therefore not vulnerable to these issues.

      Older releases (6.2, 7.0) of Red Hat Linux shipped with versions of BIND
      which are vulnerable to these issues, however a Red Hat security errata in
      July 2002 upgraded all our supported distributions to BIND 9.2.1 which is
      not vulnerable to these issues."

      --
      -- Mark Cox, http://www.awe.com/mark/
  28. Bind9 by retro128 · · Score: 3, Interesting

    Used to run Bind9, but BIND seems to be suffering from the Microsoft bloat phenomenon. How many megs do you need for serving up DNS?? The BIND 9 decompressed tar file comes out to 2100+ files at 21MB. If I recall the installation process, it took forever to compile and then loaded the system with a bunch of superfluous directories and files. For more complicated installations with more exotic requirements than I have, maybe I can see using BIND9, but for my wimpy little web server that has maybe two or three A records to its name, there's no point, so I use djbdns.

    --
    -R
  29. Upgrading to BIND 9 by mellon · · Score: 5, Interesting

    BIND 9 is slower than BIND 8, because it does a more correct job, but it's not significantly slower for most applications. If you are running a root name server, you will have to buy bigger iron. If you are running a corporate nameserver, you probably won't. For home use, BIND 9 will perform nicely on a 486 (I run it on a Soekris board, for example).

    BIND 9 is also not bug-for-bug compatible with BIND 8, so there are some things you can do in BIND 8 that are broken, that you can't do in BIND 9. So upgrading can require some rework if you happen to have unwittingly tripped over those bugs.

    On the other hand, BIND 9 is a complete, ground-up rewrite of BIND. It works better, is easier to use, and because of the strict practices that were followed in implementation, is much more reliable.

    BIND 9 also supports DNSSEC, which isn't yet widely deployed, but is worth checking out.

    (I used to work for the ISC, so you might think I'm biased, but I wasn't involved with the ISC BIND project, so it's more that I got to look on while they did it, and was there to see some of the design work they did to make it more reliable, I know the engineers who did it, and I really think they did a great job.)

    1. Re:Upgrading to BIND 9 by uncleFester · · Score: 2

      (I used to work for the ISC, so you might think I'm biased, but I wasn't involved with the ISC BIND project...

      !

      Used to? Egad, who's filling your shoes on the ISC DHCP project? I've not been on dhcp-* lists since I was laid off in May.. what happened? IIRC, you were pondering a different direction to take at the time.

      Sorry to hear.. your effort was appreciated on that and I had a nice failover system working thanks to your work.

      -fester (was a poster from alcatel.com)

      --
      -'fester
    2. Re:Upgrading to BIND 9 by Florian+Weimer · · Score: 2

      BIND 9 also supports DNSSEC, which isn't yet widely deployed, but is worth checking out.

      BIND 8 supports DNSSEC, too. Unfortunately, I have to say--so far, this part of BIND 8 contained the nastiest security bugs.

    3. Re:Upgrading to BIND 9 by mellon · · Score: 2

      I haven't been directly employed by the ISC for a very long time. But yes, I stepped down as ISC DHCP maintainer about six months ago, and the position has been somewhat open since then, although it looks like a new person has stepped in.

    4. Re:Upgrading to BIND 9 by mellon · · Score: 2

      AFAIK, DNSSEC support in BIND 8 is nowhere near complete. But I will admit that I haven't tried to use it, so this is strictly second-hand information.

  30. I'm scared by mao+che+minh · · Score: 5, Funny

    With all of the security news lately, I am too scared to run Apache, IIS, Exchange, lpr, lprng, mySQL, PostgreSQL, Outlook, Outlook Express, map Netware drives to Win 9x clients, X11, use any program that requires glibc, or use BIND 4 or 8 or any DNS for that matter. My computer sits in a locked closet, lacks input devices, and runs only the OpenBSD kernel and nothing else.

    1. Re:I'm scared by dpilot · · Score: 5, Funny

      You'd better finish securing it, then.

      Cut the power cord and fill the closet with cement.

      --
      The living have better things to do than to continue hating the dead.
    2. Re:I'm scared by belloc · · Score: 2

      The deepest sin against the human mind is to believe things without evidence.

      I don't believe you. Do you have evidence?

      I'm serious. Why call it a sin? Why do you think that the human mind is the sort of thing that can be sinned against? Why is it the deepest? What if you were shown a "deeper sin"?

      Belloc

      --
      I got more rhymes than Jamaica got Mangoes.
    3. Re:I'm scared by belloc · · Score: 2

      talk about being offtopic... you're reply to his sig...

      Not any more offtopic than you: replying to a reply to a reply to a sig? Oh, and is it just a coincidence that you and "he" have the same homepage?

      Belloc

      --
      I got more rhymes than Jamaica got Mangoes.
  31. Re:Tinydns is a pain in the ass to install by ceejayoz · · Score: 2

    No, it's secure because no one has ever found a flaw in tinydns.

    There's a difference between secure and presumed secure.

  32. I like MyDNS by bleachboy · · Score: 2, Informative

    I like MyDNS - http://mydns.bboy.net/ - serves records directly from a MySQL database, and easy to set up and manage.

    0.9.5 (development copy at http://mydns.bboy.net/beta/) also supports PostgreSQL.

    Of course, I am biased. ;)

    1. Re:I like MyDNS by mustangdavis · · Score: 2

      This sounds like an interesting product, but I have an even more light weight solution for this ... especially if you run other things on the MySQL DB that MyDNS is running on (like a web site ...)

      Store all of your DNS information in a MySQL db, use the db to make updates, then have a silly shell/C/C++/Java/Perl/PHP script generate the DNS files for you ... this way, there is less over head on the system over all ...

      Please poke holes in my solution ... I'd like to be convinced that this is the best way to manage a large number of DNS entries ...

      Cheers!

    2. Re:I like MyDNS by Animats · · Score: 3, Insightful

      Clearly that's the way to do it. Every other modern server-based app that needs a database has the database in a separate program and address space. BIND and Sendmail are archaic exceptions to this rule, and look where all the security holes show up.

    3. Re:I like MyDNS by bleachboy · · Score: 2, Insightful

      That plan doesn't work too well if your DNS data is very large. Think about how long it takes, to select, say, a million records from your SQL database and write them to a file. It can definitely tie up your server for several minutes at a time. I speak from experience doing this with a MySQL -> tinydns conversion script (in C).

      MyDNS was specifically designed for use by ISPs and other entities where very large DNS databases are maintaned, and frequently updated, and where instantaneous or near-instantaneous updates are desirable.

      It's not really any better than the competition, IMO, for small local DNS needs, such as serving static DNS data for just a couple of domains -- but I think it's the best around for large, frequently changing DNS data.

  33. Who needs DNS? by nuclearmoose · · Score: 2, Funny
    Real geeks just use host files. Here you go:

    /etc/hosts:

    66.35.250.150 slashdot

  34. Re:Pah by squiggleslash · · Score: 3, Interesting
    According to Todd Miller, yes, but.... Under OpenBSD BIND is chrooted to /var/named, which means its potential for damage if infected is highly limited.

    Those who are stuck with BIND 4 for legacy reasons or whatnot are probably best off switching over to a chroot'd configuration - it's all very easy and the functionality is already built in.

    --
    You are not alone. This is not normal. None of this is normal.
  35. Please pass on the crack pipe! by Fefe · · Score: 3, Informative
    If you find a bug, you can announce it and publish a patch. I have never seen anyone publish a fixed version instead of a patch before, why do you insinuate that would be somehow a good idea?

    Besides, the project has not been updated because there is no need. djbdns just works. If you need more functionality than the stock package provides, there are several patches. I know because I wrote (and publish) one.

    The rest of your "arguments" I will not go into because they rely on flawed assumptions.

    1. Re:Please pass on the crack pipe! by Dionysus · · Score: 2

      Find a bug and collect the money. Big incentive to find a bug, I would think....

      --
      Je ne parle pas francais.
  36. How to remove tinydns ? by martial · · Score: 2, Informative

    I was running tinydns on my home computers and the servers I maintain at work, but I was getting frustrated with the locations of the files and the use of non standards services. Note that this is my opinion and I understand that other people may want to continue using it.

    But in case your installed it on your system in the "standard" location (/usr/local) (Note: I used dnscache and dnsclog as the users to create), here is a little script to "wipe" it (remember to have bind ready to take over after you kill the sv processes remaining).

    rm -rf /package
    rm -rf /command
    rm -rf /service
    rm -rf /etc/dnscachex
    rm -rf /var/spool/djbdns
    rm -f /var/spool/mail/dnsc*
    rm -f /etc/dnsroots.global

    perl -pi.old -e 's%^(SV:123456:respawn:/command/svscanboot)%#$1%' /etc/inittab

    userdel dnscache
    userdel dnsclog

    cd /usr/local/bin
    foreach i (fghack pgrphack readproctitle supervise svc svok svs* envdir envuidgi
    d multilog setlock setuidgid softlimit tai64n* axfr* dns* pickdns* random-ip rbl
    dns* tinydns* walldns*)
    rm -f $i
    end

    Hope this helps,

    -- M

    --
    -- Martial MICHEL
  37. Shameless plug time by Kiwi · · Score: 5, Informative
    I am the implementer of a DNS server called MaraDNS. This server was written in response to the demand for a fully funcitonal DNS server which has a open source compatible license (which tinydns doesn't). The webpage for MaraDNS is here. The 1.0.x branch has stabilized; I am currently working on the 1.2 branch of MaraDNS.

    Another option, if one does not need recursive caching is posadis. There is also pdnsd, which only provides recursive DNS service.

    Security history of various DNS servers:

    • Bind 4 and 8: multiple remote root shells
    • Bind 9: Denial of service vulnerbilities found
    • MaraDNS: Denial of service vulnerabilities found
    • Posadis: remote shell
    • pdnsd: remote shell
    --

    The secret to enjoying Slashdot is to realize that it should not be taken too seriously.

    1. Re:Shameless plug time by BitHive · · Score: 3, Informative
      This is not a troll, but you left out one:
      • djbdns: no reported vulnerabilities
      Hurrah to people who know how to write software properly.
  38. Re:AMEN! by jonadab · · Score: 5, Interesting

    Sendmail likes to _blame_ things on the OS that are really (at least
    partly) sendmail's fault. For example, being insecure if /usr is
    group-readable. That's just silly; there's nothing inherently
    insecure about having /usr be group-readable. (If it were world
    writable, that would be something else.) (It was /usr, wasn't
    it? It's the thing you have to change in the filesystem to get
    sendmail to be secure on OS X.) IMO there's no excuse for sendmail
    to blame that on the OS; in the first place, sendmail should be
    secure regardless of the filesystem permissions, and in the second
    place if it doesn't need to read such places it should run as a user
    with fewer permissions (e.g., with its own group like Apache does).
    qmail, for all the complaints you can make about its license, at
    least takes responsibility for its own vulnerabilities.

    Are weaknesses in the OSes _partially_ responsible for some of those
    vulnerabilities? Well, sure, but the weakness is exploited through
    sendmail and does not have an impact on competing implementations;
    that makes it sendmail's problem in my book, and blaming it on the
    OS is just a way of shirking responsibility. Do you report the
    vulnerability in the OS? Heck, yes, but you also fix your app to
    not be exploitable through it. The sendmail people need to drop the
    "don't blame sendmail" attitude and write secure software. I know
    it's hard being the leading server software in a particular market,
    but when openssl can be exploited because of an issue in certain
    kernels, they patch openssl. When the openssl issue causes some
    Apache installations to be vulnerable, the Apache people release
    an advisory. It shouldn't be about placing blame; it should be
    about _fixing the problem_. The sendmail people are more interested
    in pointing fingers.

    Not that there aren't things you _can't_ work around, that have to
    be fixed at the OS level. Keeping unauthorized local users out of
    the data on a system without filesystem permissions (e.g., Win98),
    for example, is not something that can be fixed by the app, at least
    not easily. But at some point a line is crossed where the problem
    _should_ be fixed in the app. Especially if it's an app that listens
    on ports or otherwise receives data from random entities on the net.
    sendmail has a long history of being vulnerable -- way worse than
    BIND, right up there with IIS and Outlook. And it's going to
    continue to be that way for as long as they keep wanting to blame
    their issues on the OS.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  39. Copyright misconceptions by phliar · · Score: 2
    If you own a piece of copyrighted work, you can alter it for your own use legally. Try this. Pick up the newspaper, and put a mustache on GW Bush. It is legal !!!
    True; however, can you now re-distribute (in a magazine, say) that doctored picture of Dubya? Not necessarily. This is where the "fair use" doctrine applies; satire (like a moustache on Dubya) is covered. A source patch to djbdns -- unclear. People who write patches may have to support their patches ad infinitum to track changes in djbdns.

    Note: I'm not making any claims about how the djbdns license is written; merely that since it doesn't include the right to modify and re-distribute, it is not completely free. In practice Bernstein may be good about accepting patches and incorporating them into the main trunk of the code.

    --
    Unlimited growth == Cancer.
    1. Re:Copyright misconceptions by Electrum · · Score: 2

      True; however, can you now re-distribute (in a magazine, say) that doctored picture of Dubya? Not necessarily. This is where the "fair use" doctrine applies; satire (like a moustache on Dubya) is covered. A source patch to djbdns -- unclear.

      You can distribute instructions on how to draw the moustache. That is the same thing as source patches. Patches are covered under software law.

  40. Re:Tinydns is a pain in the ass to install by spongman · · Score: 2

    wow, that guy needs to be locked in a cube, a very small, padded one.

  41. Re:QPL? by Electrum · · Score: 2

    Has Bernstein put permission to redistribute any patches against djbdns in writing? If so, then the license becomes roughly equivalent to the Trolltech QPL.

    He doesn't need to. djbdns doesn't have a license and doesn't need one:

    http://cr.yp.to/softwarelaw.html

    What about for porting the program to operating systems that don't fit Bernstein's idea of how the directory structure should be laid out, such as Windows 2000 Server or Windows .NET Enterprise Server?

    djbdns is UNIX software. If you really want to run it on Windows, then fix Cygwin so that it works under that. But if you really want to port djbdns to Windows and distribute the patches, then that is fine. You simply can't distribute a compiled version.

    Buggy? At least the vulnerability mentioned in the article does not affect most recent version of BIND 9.x.

    BIND 9 has had security holes. djbdns never has and never will.

  42. Don't Blame Sendmail (Re:AMEN!) by Fry+a+Lad+Up · · Score: 4, Informative
    Sendmail likes to _blame_ things on the OS...

    Actually, it's more the other way 'round. People like to blame things on Sendmail. Usually people who haven't looked at it years, if it all. Would you blame the 2.[45] Linux kernels for 1.0's lack of support for fireware or USB.

    Neither Sendmail.org nor Sendmail, Inc has a long history of being vulnerable. Commercial OSes have a history of running old Sendmail5.65 distros. Sendmail.org, on the other hand, has a history of being blamed for vulnerabilities it neither caused nor can be responsible for fixing.

    It has a history of Slashdolts making ignorant critiques like yours: Sendmail doesn't complain problem about group-readable /usr; it complains about group-WRITABLE /usr. It does complain about group-readable authentication databases.

    Show us an option that Sendmail should code around. One that actually exists, I mean! You'll find that (a) satisfying Sendmail without DontBlameSendmail will be more secure and (b) the circumstances are the choice of the OS distro or the installation's Sys Admin (and likely an oversight).

  43. BIND is too pervasive by NZGreg · · Score: 2, Insightful

    One of the least appreciated strengths of the internet is its diversity. MS Office (macro viruses) and MS Outlook (all the other viruses) are great examples of how dangerous a homgenous environment can be - and so is BIND.

    The logical conclusion is that we should all actively explore and support alternative solutions, and luckily the internet community seems to enjoy doing this anyway. I use MaraDNS - a simple, secure, open-source, well supported, low overhead authoritative and caching name server that does zone transfers (with a crap website, unfortunately).

    So if you aren't hogtied by corporate policy, try an alternative - increase diversity - strengthen the internet. Just don't all switch to MaraDNS...

    Brian: You don't need to follow me! You're all individuals!
    Crowd (together): Yes! We're all individuals!
    Individual: I'm not.

  44. this wouldn't be a problem ... by darkuncle · · Score: 2, Insightful

    if your named was running in a chroot jail to begin with. Like, say, OpenBSD's. The more vulnerabilities I see published, the more I see the truth in what Bruce Schneier was talking about when he noted that total security can not be achieved, and the the goal of developers should instead be software and systems that fail gracefully.
    Running your daemons with restricted privs, in a chroot jail, is a great example of software that fails gracefully.

    --
    illum oportet crescere me autem minui
  45. A 5?!?!? by TheAwfulTruth · · Score: 2

    First: There are probably still thousands of people are still running oder versions so this announcement is vitally important to some.

    Second: When any flaw in any version of any Windows software older that the latest and greatest has a flaw, it is flailed mercelessly on this very site. And now you're saying we should just ignore the same situation with Unix?

    I dream of a day that /. editors stop spreading FUD and panic about Windows software problems too. But if they're going to do it for one, it had better be for both!

    --
    Contrary to popular belief, coding is not all free blow-jobs and beer. Those things cost MONEY!
    1. Re:A 5?!?!? by rsd · · Score: 2

      what I meant was that by the time I wrote that post, it wasn't too clear
      that this was a problem related only no bind 4 and 8.

      In no way I meant that this kind of news shouldn't be posted.
      Just that a warning about which versions were flawed should be
      specified.

  46. You didn't *really* mean by myowntrueself · · Score: 2

    "in the first place, sendmail should be
    secure regardless of the filesystem permissions"

    Did you?

    --
    In the free world the media isn't government run; the government is media run.
    1. Re:You didn't *really* mean by myowntrueself · · Score: 2

      "Yes, I did. sendmail listens on a port, for connections from the
      internet. It needs to handle the data coming in from there safely,
      _regardless_ of permissions on the local filesystem."

      Oh ok fair enough. I was thinking in terms of local as well as network exploits, in which case file permissions would have been a duh. :)

      --
      In the free world the media isn't government run; the government is media run.
  47. Wow, you're dumb. by tqbf · · Score: 4, Interesting

    You say the djbdns "license" is "more restrictive" than Microsoft's "shared source license".

    You don't know what you're talking about. Dan Bernstein does not allow you to redistribute FORKS of djbdns. You are very explicitly allowed, in perpetuity, regardless of what Dan says next year, to redistribute djbdns source tarballs with a specific MD5 checksum. Obviously, you are also allowed to publish patches and detailed vulnerability reports. You're simply not allowed to distribute adulterated source code or your own "fixed" binaries.

    This is of course a moot point. There has never been a published vulnerability in the qmail or djbdns codebase. qmail is one of the most widely used MTAs on the Internet. The incentive to find vulnerabilities is huge. Bernstein's methodology is correct and his understanding of the Unix secure coding problem is complete.

    You say that there hasn't been a djbdns release since last year and offer that as evidence that djbdns is going "stale".

    You don't know what you're talking about. There hasn't been a new qmail release in years. qmail remains one of the most popular MTAs on the Internet, contending seriously only with the diminishing Sendmail hegemony and Microsoft's products. There are no new qmail releases because qmail is complete, hasn't had any security problems, and does virtually everything anyone wants an MTA to do. There hasn't been a new djbdns release because djbdns is complete, hasn't had any security problems, and does virtually everything anyone wants a DNS server to do.

  48. Re:QPL? by rickmoen · · Score: 3, Insightful
    yerricde wrote:

    Has Bernstein put permission to redistribute any patches against djbdns in writing? If so, then the license becomes roughly equivalent to the Trolltech QPL.

    As Prof. Bernstein himself has pointed out, as a matter of copyright law, patches are considered analogous to commentary on the original work, and not as derivative works. Thus, the author of the original work has no claim upon them.

    So, with a source-available proprietary software package like djbdns, you can end up with a quasi-free software ecology based around distribution of patches and compile-time modification. Inevitably, those patches end up being very seldom regression-tested against one another. Also, if the base package ever ceases to be maintained, continuing development via patch-distribution alone isn't really very practical. It would rapidly become such a hassle that I'm pretty sure the project would effectively die, at that point.

    The fix for that problem is of course licensing that includes a right to fork. But that's possible only if the copyright holder is willing to grant that right, which Prof. Bernstein (for most of his project) is not.

    That is not intended as a criticism of Prof. Bernstein (whom I admire for his dogged defence of crypto rights), nor of his software (even though I don't like or use the latter). It's just the facts of copyright law and licensing as I understand them.

    Buggy? At least the vulnerability mentioned in the article does not affect most recent version of BIND 9.x.

    Indeed. One of the most distressing aspects of Prof. Bernstein's flying squadron of groupies is their characteristic shading of the truth on well-known key issues. One of those issues is the vital distinction between BIND8 and BIND9, which by and large they're fully aware are distinct codebases following a from-scratch rewrite specifically to jettison the inherent unmaintainability of the legacy BIND8 codebase -- but they find it convenient to slur the new codebase with the old one's faults. Another is their characteristic refusal to compare the Qmail MTA against anything other than Sendmail -- when the obvious comparisons are Qmail/Postfix/Courier (all modular designs) and Sendmail/Exim (both monolithic designs where process instances drop privilege according to role). A third is their curious inability to ever say the words "proprietary" or "not open source", instead making excuses, changing the subject, and talking around that point.

    (I'll hasten to add that Prof. Bernstein clearly isn't responsible for his acolytes' conduct.)

    Rick Moen
    rick@linuxmafia.com

  49. How to remove head from ass by BitHive · · Score: 2
    1. If you would like a local copy of these web pages, download the djbdns documentation package and unpack it under under /doc:

    gunzip < doc.tar.gz | (cd /; tar -xf -)

    Then run slashdoc-merge to create indices such as /doc/commands.html.
    2. Download the djbdns package. The latest published djbdns package is djbdns-1.05.tar.gz.

    3. Unpack the djbdns package:

    gunzip djbdns-1.05.tar
    tar -xf djbdns-1.05.tar
    cd djbdns-1.05

    4. Compile the djbdns programs:

    make

    5. As root, install the djbdns programs under /usr/local:

    make setup check

    6. Report success:

    ( echo 'First M. Last'; cat `cat SYSDEPS` ) \
    | mail djb-sysdeps@cr.yp.to

    Replace First M. Last with your name.
  50. Re:QPL? by rickmoen · · Score: 3, Informative
    Electrum wrote:

    He doesn't need to. djbdns doesn't have a license and doesn't need one: http://cr.yp.to/softwarelaw.html

    It would be more accurate to say that djbdns has the default licence that implicitly attaches to creative works by default application of copyright law -- in the absence of an explicit licence grant. The terms of that default licence, described by Prof. Bernstein mostly accurately (other than, according to John Cowan, those concerning modifications) at the URL you posted, are those of proprietary software, rather than open source. (Thus, any software instance issued without an explicit licence is proprietary by default.)

    BIND 9 has had security holes.

    Tell the whole truth, please: A BIND9 version was subject to one type of DoS attack. Sending a specific DNS packet to the daemon triggered that instance going into some sort of test mode where it performed an internal consistency check, effectively shutting it down.

    Rick Moen
    rick@linuxmafia.com

  51. Re:Tinydns is a pain in the ass to install by gol64738 · · Score: 4, Funny

    thank you for actually making all slashdot readers dumber by posting that.

  52. Re:QPL? by Electrum · · Score: 2

    Tell the whole truth, please: A BIND9 version was subject to one type of DoS attack. Sending a specific DNS packet to the daemon triggered that instance going into some sort of test mode where it performed an internal consistency check, effectively shutting it down.

    Simply calling that a ``DoS attach'' is stretching the truth. Being able to shut down the entire DNS server by sending a single anonymous DNS packet is a much larger problem than typical DoS attacks. Network services are inherently vulnerable to DoS attacks. This is much more. I consider that a security problem.

  53. Re:QPL? by rickmoen · · Score: 4, Informative
    An anonymous coward wrote:

    First there was sendmail. Then qmail. Then, a long time later, other options.

    Noted. But I'm talking about how DJB groupies tend to behave today. See for yourself: Look on the various Qmail pages. Read the Qmail HOWTO.

    That might have been a reasonable excuse years ago. Today, it looks a whole lot like intellectual dishonesty: Beating up on monolithic Sendmail, especially in the usual fashion that fails to credit it for the major improvement of dropping privilege according to role, is a whole lot more facile rhetoric than comparing it against the similarly-designed Postfix (ne Vmailer) codebase.

    First, there was BIND. Then, djbdns. And now, VERY recently, other replacements.

    Actually, some (such as Dents) have been around for quite a long time. Most people were not aware of them until after I expanded my essay to include open-source alternatives to all the proprietary DJB packages. Which in turn I was motivated to do out of annoyance at Prof. Bernstein sending me belligerent e-mails essentially making legal threats (talking about my essay being "against the law" and containing "libel"). Funny how these things work out, isn't it?

    I don't think proprietary is appropriate.

    That's too bad, because that's what the word means. One key element whose absence makes us consider a package proprietary is not having the right to fork. Not having that possibility as a safety valve means that the package is at risk of becoming effectively unmaintainable if its copyright holder stops issuing new versions (and doesn't grant additional rights to fix the problem).

    Prof. Bernstein is certainly under no obligation to grant such rights, and he's quite generous in granting those he does -- but the only fitting term for the result is "proprietary code".

    DJB software provides the user ALL of the GNU freedoms.

    That, sir, is simply wrong. Hmm, I don't usually pay a whole lot of attention to Stallman's "four freedoms" essay, since it's a bit too vague to be useful. I prefer the DFSG and OSD, generally.

    However [rummaging through the FSF propaganda], Prof. Bernstein doesn't choose to meaningfully grant FSF freedom #4. To quote that essay: "The freedom to redistribute copies must include binary or executable forms of the program, as well as source code, for both modified and unmodified versions. (Distributing programs in runnable form is necessary for conveniently installable free operating systems.) It is ok if there is no way to produce a binary or executable form for a certain program (since some languages don't support that feature), but you must have the freedom to redistribute such forms should you find or develop a way to make them."

    His software works dern well, and is free enough for anyone whose concern is getting their work done.

    Until the day Prof. Bernstein hangs up his hat, at which point the projects basically become unmaintainable. (Maintaining a codebase solely through source patches against a legacy final-version source tarball wouldn't really be feasible for long.) And that is of course the prospect that hangs over users of all such software.

    Rick Moen
    rick@linuxmafia.com

  54. Re:Passive Worm Potential... PATCH NOW by Florian+Weimer · · Score: 2

    So patch SOON.

    First we need a patch, and one that still loads our zone files, please.

    Some BIND 8 security updates tightend some security-unrelated consistency checks, too, making upgrades suprisingly hard. After such experiences, nobody rushes to make updates, unless absolutely forced to.

  55. Re:QPL? by rickmoen · · Score: 4, Interesting
    "Electrum" wrote:

    Simply calling that a ``DoS attack'' is stretching the truth.

    I'm sorry, but what do you think a DoS attack is? The attack mode described would be a classic example, in fact. Whereas, calling it a "security hole" is actively misleading, by omission.

    Besides, as you are perfectly well aware, I did not "simply" call it a DoS attack: I stated precisely and concisely what occurred.

    The point was to call attention to yet another example of the polemics characteristic of the DJBware camp, and their tendency to shade the truth. In light of which, you have quite a bit of nerve selectively ignoring parts of my accurate characterisation in order to label it "stretching the truth". I'm not surprised, but I am disappointed.

    Rick Moen
    rick@linuxmafia.com

  56. Re:QPL? by rickmoen · · Score: 2
    An anonymous coward wrote:

    Let's see default rights. You buy a book. You scribble in it. Is that legal?

    If I read John Cowan's analysis of the legal history correctly, he's saying the CONTU Report's language suggests that modification of a copyrighted work could be considered technical copyright violation, if it were ever adjudicated -- but, of course, in your example, the publisher isn't going to give a rat's ass, so the issue is never going to come up in court.

    Now, was there some particular part of your need to take up any disagreements with John Cowan (after reading the legislative history) rather than me that you failed to understand the first time?

    Also, your writing style and punctuation suggests that you're the same anonymous coward who posted that earlier handwave about my essay being "wrong on several counts" and then suddenly unwilling to provide details after I showed up. Cat got your tongue?

    Also, default rights are FAR FAR different from rights typically associated with proprietary software.

    Proprietary licensing lies along a spectrum: Typical DJBware licensing is at the liberal end of that spectrum (and is quite generous), but is still quite obviously proprietary, lacking as it does the key right to fork the project, with the sad long-term consequences for continued development always inherent in that limitation.

    But you already knew that. You just prefer not to address it.

    Rick Moen
    rick@linuxmafia.com

  57. Re:Of'course .. djbdns .. by Electrum · · Score: 2

    Though, do you like to use a not-maintained package? When was the last date it was updated? How are you going to stay in touch with current technologies if the package is not being maintained ?

    djbdns is maintained. Dan Bernstein revamped the djbdns web page this month, making it even easier for people to understand and install the software. He is also active on the mailing list. There hasn't been a new release of djbdns in over a year because the software does not need to be updated. It is complete. Why update software that works?

  58. More about the right to fork by rickmoen · · Score: 3, Insightful

    Afterthought: The right to fork is such a fundamental assumption of the open-source model that it's easy to forget other vital reasons for it, beyond just the code being maintainable after its owner decides to quit. I posted before thinking of those.

    When we say something is "open source", we're also implying the right to create derivative works descended from that codebase. E.g., the most important long-term fact about the Berkeley NET2, 4.4BSD, 4.4BSD-Lite, and 4.4BSD-Lite2 releases is that we got 386BSD, and then {Free|Net|Open}BSD from them. Had the U.C. Berkeley Computer Science Research Group used a Bernstein-style no-forking-allowed licence, there would have been none of those things: Their creation would have been illegal.

    So, I think if you mull over your assertion that you "don't think that [a right to fork] is necessary for something to be free (as in GNU free)", you'll see that this right actually is absolutely vital and essential to the very concept.

    Rick Moen
    rick@linuxmafia.com

  59. Always vulnerable, and probably still is. by KFury · · Score: 3, Interesting

    "The world's most popular DNS package is once again vulnerable."

    This is the scariest part of the security mentality. Whenever a flaw is discovered everyone freaks and says 'oh, now I'm vulnerable!' until a patch is distributed and 'Phew! Now I'm safe again."

    This is not the right way to look at it. The flaw was there for years, and you were vulnerable to everyone who found it before a whitehat did. What's more, you're *still* vulnerable to every flaw that hasn't yet made it to slashdot's pages, but will in coming months and years.

    Choosing a platform that reacts quickly to patch discovered flaws means only that you're safer from attacks from those people who read the same sources you do, and quickly move to exploit the published vulnerabilities before you can patch them.

    The fact is that it's rarely known how many people discovered a vulnerability before it was made public, and so if you rely on a system that requires frequent hotfixes, however quickly the vendor may react, you are still succeptable to the countless holes that have already been discovered, but not by the good guys.

    The morals of this argument are that it's better to use a system that doesn't have as many holes, to one that patches them 'instantly,' and that unless another vulnerability is never discovered in your platform, you're vulnerable to attack today, and always have been.

  60. Re:QPL? by Blkdeath · · Score: 2
    I don't bother much with comparisons against anything else. DJB's software installs easily, doesn't have security issues, never fails, and has been more stringently tested than anything except software like sendmail and BIND.That is enough for me.
    I have but one (two-fold) question for you, and for all the DJBDNS supporters;

    How many root nameservers run DJBDNS? On how many billion-query nameservers does DJBDNS run? How many mission-critical servers run DJBDNS? (By "mission-critical", I mean servers where lives, or tens/hundreds of millions of dollars are on the line. No home or SOHO server will be considered)

    Until that question can be answered honestly, DJB will remain, in my mind, a weekend cowboy's DNS server. My clients want industry standard servers backing their domains, so BIND is what they get.

    --
    BD Phone Home!

    Shameless plug. Like you weren't expecting it.

  61. Alternative: NSD by bodin · · Score: 2


    NSD is a good alternative,
    an authoratative only, high performance, simple and open source name server.

    http://www.nlnetlabs.nl/nsd/

  62. Re:QPL? by rickmoen · · Score: 3, Informative
    Blkdeath wrote:

    How many root nameservers run DJBDNS?

    It's actually pretty appalling that all 13 root nameservers run BIND8 -- that any of them do, actually, but particularly that they all do. Fortunately, it looks as if the RIPE.NET root nameserver will switch to the new, and very promising (for authoritative nameservice only) NSD package, which is BSD-licensed.

    No AXFR w/TSIG support yet, but it's under development.

    Rick Moen
    rick@linuxmafia.com

  63. Re: djbdns deployment by Blkdeath · · Score: 2
    Are Lycos and Citysearch big enough for you? How about Namezero, the largest domain-hosting company on the Internet?
    Not exactlly mission-critical though, are they?
    Funny how the BIND proponents say that BIND 8 and BIND 9 are completely different products when we're talking about security, but then suddenly forget the version number when we're talking about deployment.
    I'm not talking about the version number, I'm talking about the long history of proven reliability and scalability. Yes, it has a security track record, but do name me an enterprise-level software package or operating system that doesn't.

    Like any other large product, it has evolved and continues to this day with its latest version. Like it or not, BIND has proven itself reliable enough for the likes of government, military, mega corporations to stake their electronic presence on. My point is simply that DJBDNS has not.

    Most of the comments I'm reading in this thread seem to have a decided lack of sight of 'the big picture'. It seems as if most of the proponants of your product(s) are the weekend cowboy type; running a personal DNS server for their home or SOHO LAN. Then again, what should I expect from an online forum, right?

    So, considering 'the big picture' (ie; hundreds of hosted domains, secure zone updates for a plethora of alternate name servers, scalability (the ability to double or triple in size without a major restructuring), and standards compliance) - convince me. Which part of your website and/or documentation shows me why I should reccomend DJBDNS over BIND for an enterprise client.

    --
    BD Phone Home!

    Shameless plug. Like you weren't expecting it.

  64. Opensource not more secure just because it's open by TheLink · · Score: 2

    You're missing the point - it's fixed fairly quickly, but the main problem is it wasn't detected quickly.

    The stupid OSS fallacy that many eyes finds bugs is especially false for security bugs.

    If it were true, just get a bunch of insects to look at the code.

    A single skilled eye beats a billion dumb ones.

    Closed source can be just as secure.

    The only trouble is when the skilled eyes aren't given enough time to to look at stuff or write stuff securely in the first place.

    This could still happen to opensource software.

    --
  65. Re:Opensource not more secure just because it's op by ceejayoz · · Score: 2

    Actually, that was part of the point I was trying to make, you just put it into words properly. :-)

  66. Re:Tinydns is a pain in the ass to install by TheLink · · Score: 2

    Yep, but there's also track record given that security is something hard to prove.

    I wouldn't say it's 100% secure, but I'm pretty certain it is _more_ secure than BIND.

    djbdns track record is not just based on tinydns, it's based on the other software written by the same author.

    Also based on what I know of the author, given the sort of person DJB is (proud-perfectionist-obsessive-MustAlwaysBeRight- etc just the sort to write secure code), can you imagine what would happen if someone found one of these sort of vulnerabilities in his code? Heh there are lots of people out there just waiting to give it to him. Just like the bunch of people just waiting to get at Theo of OpenBSD fame (see Gobbles).

    Whereas the ISC's track record has been rather poor. So it's rather academic to talk about secure and presumed secure when LOTS of people are using stuff from a bunch who have been provably producing insecure software without fail for the past decade or more. And people are advocating switching to their latest and greatest version as a cure.

    I'm unaware of the track record of MaraDNS or its author. But it does not seem to be written in an obsessively secure way. In fact just looking at the FAQ, the design and the features, I doubt it's going to be significantly better than BIND in terms of security. And it sure looks a lot less secure than djbdns designwise.

    I refused to install sshd years ago because of its insecure design, and I've been vindicated. Pity OpenSSL hasn't been much better, I was hoping that since it did fewer things it would be more likely to be secure. Oh well, sometimes you just have to pick your poison. IPSEC looked even more scary (huge spec, code etc), so I was running out of options for remote admin.

    --
  67. Re:DJB alternatives and distributions by rickmoen · · Score: 2
    WoodstockJeff wrote:

    Part of my problem with DJB's apparently wonderful products is that they don't come "ready to run". We wanted to run qmail. Spent several weeks trying to figure out how to get it to run, though, because the documentation (at the time) sucked. The (very nice) qmail book came out about 6 months after we'd switched to postfix, though!

    When DJB's qmail and djbdns products are distributed in compiled and working form with major Linux distributions, I might look at them again. However, I haven't seen that.

    Jeff, you may be interested to hear that there's a new project by John Newbegin, to create a GPLed clone of qmail. It's just starting, but eventually aims to have a permanent open-source codebase into which that vast cloud of qmail patches can finally be merged and regression-tested.

    (However, since you've already adopted Postfix, you no longer personally face that dilemma. A point I'll come back to, below.)

    DJB's refusal to allow distribution of anything but unpatched source tarballs keeps his tools out of the hands of a lot of people, pushing them to use BIND, Sendmail, postfix, and all these other "less secure" or "less perfect" options. I can see where djbdns would be the perfect default DNS for Linux distributions... if the license allowed it.

    I think the open-source MaraDNS package (again, as with you and Postfix) nicely eliminates this dilemma -- and possibly pdnsd for some caching-only situations such as workstations on demand dial-up.

    Maybe the solution would be for someone to develop RPMs that include the official DJB source tarballs, all the best patches, and a script to apply the patches, then compile and install the result? B-)

    More feasible than you might think. The standard way to install qmail on Debian is to apt-get the "qmail-src" package from Debian's non-free collection, then run a "build-qmail" script to Debianise-patch DJB's source tarball and compile/install it. (You must also have done the same drill with the similar ucspi-tcp-src package, first.)

    But, you know, after having to spend considerable creativity finding workarounds for problems that shouldn't exist, most people will just say "Fsck it. Let's eliminate this insanity, and just use Postfix."

    Rick Moen
    rick@linuxmafia.com

  68. Zone transfers by rickmoen · · Score: 2
    timftbf wrote:

    Or support zone transfers rather than telling to go away and rsync your gibberish-zone-files behind the scenes.

    Tim, to clarify, Prof. Bernstein talks about rsync/ssh or scp just as examples of alternate approaches that can be used to mirror zonefiles, without use of outgoing AXFR, not to mention TSIG and IXFR. And I suppose that, in fairness, that's worth considering (when you don't want/need to interoperate with other people's nameservers that do the standard zone-transfer protocols). You might be able to efficiently and reliably do pull-distribution of zonefiles in one of the ways Bernstein speaks of. It's worth trying, in some circumstances. (On the other hand, I don't see offhand how you could do push-distribution that way, without creating a security hazard.)

    But Prof. Bernstein didn't merely content himself with issuing a nameserver that doesn't fully support zone-transfer protocols he deprecates and say "Hey, that's how it is. Use it if you like the design, or don't." No, he had to justify that using one of the most wacko Web pages I've ever seen, where he argues against the very notion of backup nameservers (which in DJBware jargon are termed "third-party DNS service"). That just floors me, but, yes, the man actually does say that.

    On that page, you'll find a great deal of logic-chopping that presents facts that seem to support the conclusion he desires while omitting crucial ones that don't. Example: Bernstein says you needn't worry about inbound SMTP mail bouncing when your on-site DNS becomes unreachable (with no backup DNS elsewhere) because "Mail transfer agents defer delivery attempts when DNS servers are unreachable". Well, yes, but not past the expiration of any cached DNS values -- which is exactly the problem that offsite backup nameservers address.

    Example #2: Bernstein says having offsite backup nameservers won't stop the mail from bouncing during an extended outage because "the SMTP servers aren't reachable either". That is, of course, a non-sequitur: You would of course have offsite backup MX hosts, in addition to your offsite backup nameservice, to ensure that "the SMTP servers are reachable".

    Building up that sort of wacko justification for why offsite backup nameservers aren't useful (when clearly they are essential), just because his software supports that functionality in only a partial and eccentric fashion, is certainly the most bizarre move I've seen from the DJB camp, to date.

    The pity of it is that Bernstein has a number of excellent points he's made, that people really should heed, e.g., modular design, attention to trust relationships, eschewing featuritis, careful coding to prevent buffer overflows, and not mindlessly enshrining protocols into RFCs for little reason other than BIND already doing them. If not for his unexcelled talent at pissing people off, and for wacko post-hoc rationalising like the foregoing, those important lessons would surely be more widely understood.

    Rick Moen
    rick@linuxmafia.com

    1. Re:Zone transfers by rickmoen · · Score: 2
      Prof. Bernstein posted:

      Rick Moen is an idiot. He claims that, if an MTA tries to reach all the relevant DNS servers, and none of them respond, the MTA bounces the message instead of trying again later.

      What I said was that one cannot count on delivery attempts past expiration of the relevant cached DNS information, when no nameserver (or, impliedly, other source of that information such as static hostfiles) can still be reached. Which, as any sysadmin will tell you, is in fact the case. (I did not state, Prof. Bernstein's representation to the contrary, that such mail would necessarily be immediately bounced.) Thus part of the desirability of offsite backup nameservice. (There are other reasons, such as having a second authoritative host at which you can deploy to the public any needed changes to the RRs, even while the first host is unreachable to the public.)

      Now, this typical tactic of yours, of seeking to derail a conversation you don't like through a barrage of personal attacks and attempting to force others to explain what they did not say, was once mildly amusing, but has proven over the years to be a colossal time-waster. I think, on the whole, that we'll not indulge you further.

      Moen is also completely incorrect when he claims that my web page ``argues against the very notion of backup nameservers.''

      Well, it think that's overall a fair characterisation. E.g., "The bottom line is that, for the vast majority of sites, third-party DNS service has serious costs and negligible benefits." But I'll trust people to see that for themselves, and discount these mealy-mouthed excuses concerning the nature of a Web page that -- even worse -- seems mostly intended as rationalisation for your software's scant functionality in that area.

      Rick Moen
      rick@linuxmafia.com

  69. Re:DJB alternatives and distributions by rickmoen · · Score: 2
    WoodstockJeff wrote:

    One of the things that continues to attract me to djbdns is being able to update a domain without restarting the server... but, that's also why I'm interested in a SQL-based solution, since I can administer those pretty easily... B-)

    MyDNS is looking extremely promising for such things: It back-ends into a MySQL database -- and is nonetheless very fast. The slow, bloated in-memory storage of BIND (any version) really is totally obsolete, and really should have been done away with, ages ago.

    After it's been torture-tested for a while, I expect MyDNS will be widely adopted at sites where BIND's inefficient caching has begun to be a problem.

    Rick Moen
    rick@linuxmafia.com

  70. Re:Tinydns is a pain in the ass to install by Rick+the+Red · · Score: 2
    All the more reason to use it. If "nobody" uses tinydns, then crackers are way less likely to know how to attack it. Sure, it's "security through obscurity" but sometimes that's all you need. I have a cable modem and it lights up all the time with people knocking on the door -- I'd never let Windows be the doorman, no matter if I had BillG's personal admin keeping the patches up to date, simply because every script kiddie knows how to crack it. That's "insecurity through commonality" and running bind puts you in that boat.

    --
    If all this should have a reason, we would be the last to know.
  71. Re:Tinydns is a pain in the ass to install by Rick+the+Red · · Score: 2
    I agree. I wanted to configure all my PCs with DHCP and let them use a DNS cache on the firewall/NAT box, rather than hard-code my ISP's DNS addresses on each PC -- which could change, since they expect me to just be running a windoze box with DHCP. While they don't forbid NAT, they actively discourage it, and I didn't want to have to manually configure DNS on each PC, let alone re-configure it if/when they change addresses. djbdns not only does what I need, he has instructions that told me exactly what I needed to do to make it work. Most sites I've found that discuss BIND assume you're an ISP or play one for a corporation. For my little five PC network djbdns was perfect.

    Sure, it's not for everyone, but BIND isn't for everyone either.

    --
    If all this should have a reason, we would be the last to know.