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."

402 comments

  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 Anonymous Coward · · Score: 1, Interesting

      He's a Stallman wannabe. In other words, an asshole.

      If he's running BIND9 intead of Berstein's program, he's a moron too.

    5. Re:Escape by grub · · Score: 1


      I was thinking of installing some of DJB's software but then I realized I'd need to go buy another hard drive for /var as he likes his stuff to live there..


      only half joking.

      --
      Trolling is a art,
    6. 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."

    7. 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.

    8. 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?

    9. 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"?
    10. Re:Escape by grub · · Score: 1

      It was sarcasm silly :)

      --
      Trolling is a art,
    11. 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 ?

    12. 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

    13. 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
    14. Re:Escape by Anonymous Coward · · Score: 0

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

    15. Re:Escape by remohomer · · Score: 1

      Because standards change you dolt.

    16. Re:Escape by sirsnork · · Score: 1

      You haven't been here long have you? :-)

      --

      Normal people worry me!
    17. Re:Escape by Anonymous Coward · · Score: 0

      Care to back this claim up with facts/links, or are you just talking out your ass?

    18. Re:Escape by Anonymous Coward · · Score: 0

      Wrong, Wrong, and Wrong. djbdns has everything you need to run fast, secure, and flexible DNS services. I know because I do. Biggot.

    19. 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
    20. Re:Escape by Anonymous Coward · · Score: 0

      Or maybe,
      Better the devel you know.

    21. 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?

    22. 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."
    23. 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

    24. 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?

    25. 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.

    26. 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

    27. Re:Escape by Anonymous Coward · · Score: 0

      Mod this up. it is always good when a great software developer like djb takes the time to post on a site like this. The fact is, almost ever piece of software he writes has no competition (qmail, djbdns, etc...).

    28. 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

    29. Re:Escape by Anonymous Coward · · Score: 1, Insightful

      Wow speedy. postfix is waaaay better than qmail

    30. Re:Escape by Anonymous Coward · · Score: 0

      I did considerable research, and came to the conclusion that it simply wasn't possible. To be fair, dns views in BIND 9 isn't something that is widely publicised, I had to dig through the docs in order to find it.

      So, in short, yes, documentation was the main reason that led to my misconception.

      By the way, I do use qmail, and absolutely love it. Nice work.

    31. 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.

    32. 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.
    33. 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

    34. 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.

    35. Re:Escape by D.+J.+Bernstein · · Score: 1
      NOTIFY is an optional standard. I don't support it because I have better tools for the same thing. RTFM.

      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.

      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.

    36. 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

    37. 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.
    38. 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.

    39. 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

    40. 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

    41. Re:Escape by Shuck · · Score: 1

      It is also rather amazing how tall a tower of stupidity can be built on a foundation of idealism.

      --
      That's a good name--ground! I wonder if it will be friends with me?
    42. Re:Escape by D.+J.+Bernstein · · Score: 1
      My introduction to zone transfers
      1. describes the usual file-copying mechanisms, such as scp;
      2. says ``Zone transfers are an archaic alternative mechanism for copying DNS information'' and explains the problems with zone transfers;
      3. says ``There has been some work on improving the zone-transfer protocol'' and describes that work; and
      4. concludes with a comparison table showing eleven disadvantages of (improved) zone transfers.

      Wdomburg
      • quotes #2 out of context and claims, incorrectly, that I'm ignoring the work on improving the zone-transfer protocol;
      • claims, incorrectly, that BIND's implementation of the experimental IXFR mechanism works (and has worked ``for years'') with hand-modified zone files;
      • claims, incorrectly, that the DNSSEC architecture works without centralized key management;
      • claims, incorrectly, that scp et al. are proprietary;
      • claims, incorrectly, that TSIG is ``compatible'' and IPSEC isn't; and
      • 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.

      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.
    43. 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.
    6. Re:And I guess... by huskymo · · Score: 1

      Actually, one of the three vulnerabilities was in the resolver library, not in the name server.

    7. Re:And I guess... by Anonymous Coward · · Score: 0

      I tried that "block the primary MX" to thwart dictionary attack idiots that were slamming my machine. I figured they'd hit my backups, which have no clue whether a user exists or not.

      I had to dump it when we stopped getting mail from several sources. There are actually dumbshits out there who run MTAs that can't fall back on lower-priority MXs. Really.

      I wish I had the luxury to not talk to them, but the boss says otherwise.

    8. Re:And I guess... by rplacd · · Score: 1

      A better way to do this is to have an off-site/external MX listed as the MX with the lowest priority. On that MX, use mailertables or smtproutes (whatever feature the MTA supports) to forward all mail for the domain to your internal firewalled mailhost.

      I do something similar at work, though in my case the MX with the lowest priority is in the DMZ, and the internal mailhost is behind the firewall. At one point it was necessary since the internal mailhost was running Lotus Notes R4.6, but I've since moved everyone over to something more...open.

    9. Re:And I guess... by Anonymous Coward · · Score: 0

      as all redhat users would know
      Bind 9.2.1 comes in the box and "up2date" is all you need to not fall into traps of outdated packages and patches

    10. Re:And I guess... by Anonymous Coward · · Score: 0

      and what if a bug is discovered in bind9
      and you have to wait for the lazy ISS to issue
      a patch while hax0rz enjoy your bandwith for
      warez ?
      ISS purely sucks

  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 Anonymous Coward · · Score: 0

      It supports split-horizon DNS very easily.

    2. Re:tinydns: internal and external views? by kaisyain · · Score: 1

      Yes it can.

    3. 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.
    4. Re:tinydns: internal and external views? by asland · · Score: 1

      Yes, you run multiple dns servers, one listening on the interface to the internal network, and one listening on the interface to the external network.

    5. Re:tinydns: internal and external views? by Anonymous Coward · · Score: 0

      I believe so. But you may want to check the documentation at the TinyDNS website.

    6. Re:tinydns: internal and external views? by MORTAR_COMBAT! · · Score: 1, Troll

      That page does not contain the words "subnet" "view" "horizon" or "internal". So that page hardly shows me how. I've just always found the TinyDNS zone format and configuration to be much harder to use than BIND 9.

      --
      MORTAR COMBAT!
    7. 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)
    8. 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.
    9. 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.


    10. 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!
    11. 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!
    12. 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. AMEN! by Anonymous Coward · · Score: 1, Interesting

    All hail djbdns! ... now if we could only convinve djb to loosen some licensing issues.

    1. Re:AMEN! by Anonymous Coward · · Score: 0

      I hear that complaint a lot (ie - more than once). Honestly, i think it's invalid. If you can find a bug in it, you'll get paid. Does BIND make that offer?

      Free as in speech isn't all that useful if it also means free for anybody to root your box.

    2. 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.

    3. 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.
    4. Re:AMEN! by Negatyfus · · Score: 1

      For a time, I even half believed people's stories about sendmail being too vulnerable for any serious work. But luckily, I now know better and realize sendmail is a robust mail server everybody and I am familiar with, capable of handling even the most complex environments. Sure, there have been a few bugs, but what software package is without any, really? Sendmail gets hammered on, because it's popular yadda yadda, familiar story. Stop pointing uninformed fingers.

  5. Tinydns is a pain in the ass to install by Anonymous Coward · · Score: 0, Flamebait
    And I don't buy that it's secure just "because DJB wrote it."

    Use BIND 9. It works, it's secure, it supports DNSSEC, and doesn't have the bizantine architecture (read: clusterfuck) of tinydns.

    1. 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.

    2. Re:Tinydns is a pain in the ass to install by Anonymous Coward · · Score: 0

      DNSSEC? Now there is a clusterFsck. I can installed a working dns in 10 minutes with djbdns. That was the first time I had worked with DNS. Can you do that with BIND? I bet not.

    3. 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.
    4. Re:Tinydns is a pain in the ass to install by Anonymous Coward · · Score: 0

      Which he has weaseled out of on a number of occasions to make it a running joke. It is also the slowest DNS server out there. I really don't see why people like it so much.

    5. Re:Tinydns is a pain in the ass to install by friedmud · · Score: 1, Troll

      I didn't think that:

      emerge djbdns

      was all that hard! But I guess you don't run Gentoo

      Derek

    6. 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.

    7. Re:Tinydns is a pain in the ass to install by Anonymous Coward · · Score: 0

      don't be a pretentious asshole

    8. Re:Tinydns is a pain in the ass to install by Anonymous Coward · · Score: 0

      djbdns is a clusterfuck because it just doesn't work sometimes. I setup a test server on my local Linux box and after about a half hour of resolving it just stopped. Hung, nothing resolved anymore. NEVER had that problem with BIND. Plus, no binary packages of djbdns means I sure as fuck am not going to run it. I have better things to do than recompile all my daemons.

    9. Re:Tinydns is a pain in the ass to install by Anonymous Coward · · Score: 0

      Sure, nobody found because nobody used this crap.

    10. 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.

    11. Re:Tinydns is a pain in the ass to install by BaverBud · · Score: 1

      I went through all that and STILL didn't figure out what his theory actually is.

      --
      Baver
    12. Re:Tinydns is a pain in the ass to install by Anonymous Coward · · Score: 0

      Especially when you consider some people don't give a fuck about money at all. Who needs money when you control information, anyway?

    13. 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.

    14. Re:Tinydns is a pain in the ass to install by Christopher+Doopov · · Score: 1

      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.

      It's hard to believe that people are still trusting in software security, because no one has won some cracking contest yet. Gene Spafford, Sameer Parekh, Jon Wiederspan, Jeff Weinstein, Bruce Schneier... -- they have been writing about it for decades.

      Please let me quote part of The Fallacy of Cracking Contests from the December 1998 issue of Crypto-Gram by Bruce Schneier:

      You see them all the time: Company X offers $1,000,000 to anyone who can break through their firewall/crack their algorithm/make a fraudulent transaction using their protocol/do whatever. These are cracking contests, and they're supposed to show how strong and secure the target of the contests are. The logic goes something like this: We offered a prize to break the target, and no one did. This means that the target is secure.

      It doesn't.

      Contests are a terrible way to demonstrate security. A product/system/protocol/algorithm that has survived a contest unbroken is not obviously more trustworthy than one that has not been the subject of a contest. The best products/systems/protocols/algorithms available today have not been the subjects of any contests, and probably never will be. Contests generally don't produce useful data. (...)

      Taken at a conservative $125 an hour for a competent cryptanalyst, a $10K prize pays for two weeks of work, not enough time to even dig through the code. A $100K prize might be worth a look, but reverse-engineering the product is boring and that's still not enough time to do a thorough job. A prize of $1M starts to become interesting, but most companies can't afford to offer that. And the cryptanalyst has no guarantee of getting paid: he may not find anything, he may get beaten to the attack and lose out to someone else, or the company might not even pay. Why should a cryptanalyst donate his time (and good name) to the company's publicity campaign?

      Cryptanalysis contests are generally nothing more than a publicity tool. Sponsoring a contest, even a fair one, is no guarantee that people will analyze the target. Surviving a contest is no guarantee that there are no flaws in the target. (...)

      Contests, if implemented correctly, can provide useful information and reward particular areas of research. But they are not useful metrics to judge security. I can offer $10K to the first person who successfully breaks into my home and steals a book off my shelf. If no one does so before the contest ends, that doesn't mean my home is secure. Maybe no one with any burgling ability heard about my contest. Maybe they were too busy doing other things. Maybe they weren't able to break into my home, but they figured out how to forge the real-estate title to put the property in their name. Maybe they did break into my home, but took a look around and decided to come back when there was something more valuable than a $10,000 prize at stake. The contest proved nothing.

      Bruce Schneier writes mostly about cryptanalysis contests but the situation is basically the same with the software security cracking contests. Let me also quote Hacker Challenges -- Boon or Bane? from the February 1996 issue of Electronic CIPHER. It's almost seven years old, but even today many people still seem to not understand it:

      A Few Comments on "Hacker Challenges" by Eugene H. Spafford, COAST Laboratory Director, Purdue University

      I note with dismay the increasing number of "hacker challenges" used in marketing security products. I think these are actually harmful to the profession and practice of security, rather than helpful. I believe the harm comes in two ways: (1) the challenges don't serve as any real test of the products, and it denigrates security professionals by suggesting that they should accept them as proof of security; and (2) it helps reinforce the image that there should be some form of reward for hacking through security measures. Neither of these are views we should responsibly seek to promote.

      Consider the nature of showing the security of a product. Does a "challenge" meet the goal of testing, which is to increase one's confidence in the correct functioning of the artifact? It really doesn't, for a number of reasons:

      • Few such "challenges" are conducted using established testing techniques. They are ad hoc, random tests. Thus, there is no way of determining final coverage. For instance, if 90% of all challenge attacks are of the same variety, what has the "test" really shown? (Consider testing a calculator. If you perform 10,000 tests, but 9000 of them are addition with zero, have you done a thorough job of testing?)
      • That no problems are found does not mean that no problems exist. It may mean that the testers didn't expose them. Doing random, black-box testing remotely is not likely to really test much of the product. (Challenge testing is basically a form of black-box testing.)
      • That no problems are reported does not mean that no problems exist. The "testers" might not have recognized them. (Look at how often software is released with bugs, even after careful scrutiny -- users don't always recognize anomalies.)
      • That no problems are reported does not mean that no problems exist. How do you know that the "testers" will report what they find? How do you know the vendor is getting accurate data? If Jane Random Hacker found a way to penetrate the product in a manner that vendor monitoring didn't expose, it is possible she'd find more profitable uses (later) for that information than informing the vendor about it. Further, because of possible problems with the law, hackers might not want to report success and draw attention to themselves.
      • Simply because the vendor does not report a successful penetration does not mean that one did not occur -- the vendor may choose not to report it because it would reflect poorly on its product, or not meet the narrow criteria for a "successful" penetration, or the vendor may not be able to detect it happened. (How can anyone outside prove otherwise?)
      • Seldom do the really good experts, on either side of the fence, participate in such exercises. Thus, anything done is usually done by amateurs. (The "honor" of having won the challenge is not sufficient to lure the good ones into the fray. Good consultants command fees of several thousand $$ per day in some cases -- why should they donate their time and names for what amounts to free consulting and advertising?)

      So, let me repeat: it is NOT necessarily secure just because no one has ever published a flaw in tinydns (we can't even assume no one has found it). There may be a cash reward for anyone who can prove that it is flawed, but even if no one has proven it yet, it doesn't mean it is not flawed. Remember that it doesn't mean that someone has proven it's secure -- it just means no one has proven it's insecure, which is something totally different. Hopefully, people will understand it some day.

      --

      ~Christopher Doopov

    15. 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.

      --
    16. 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.
    17. 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.
  6. "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.

  7. 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 Neolithic · · Score: 1

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

      Patch released != Patch applied

    5. 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.

    6. Re:patches already available by Anonymous Coward · · Score: 0

      You mean this guy?
      http://206.54.177.105/

    7. 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".

    8. 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."
    9. 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... :')

    10. Re:patches already available by remohomer · · Score: 1

      non sequitor. are you implying that we never hear about closed source bugs months later?

      What is your evidence that the Closed Source world operates differently--oh yes, all those "patched" IIS servers.

      Ignorance is bliss.

    11. Re:patches already available by archen · · Score: 1

      True enough, but there is a difference between a vulnerability, a patch and an exploit. How long was the original vulnerability there before a patch was available? Typically MS has a longer wait period then I am comfortable with.

    12. 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
    13. Re:patches already available by Anonymous Coward · · Score: 0
      "Perhaps the lesson to draw is that we should throw out old code and rewrite it more often... :')"

      I wanted to throw out a couple quotes here, but since I will be seen as Karma Whoring, I'm posting anonymously;

      Hans Reiser believes firmly that one should throw out and re-write their filesystem every four years.

      I forget who, but someone said once that in order to write a high quality program, write it twice and throw the first version away.

      I have to say; they're both right. You write it once, learn from your mistakes, and re-write it with your new-found knowledge. After a time, you learn more from maintaining your software so you once again start anew.

    14. Re:patches already available by Anonymous Coward · · Score: 0

      The original vulnerability was probably there for years.

      How long was it public knowledge before being patched? Probably not longer a month or so.

      How long before people apply the patch? Well it was released in March 2001, and Klez is still one of the top viruses ... so never.

      How many other mail clients have buffer overflows in the date parser? The world may never know...

    15. 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.
  8. BIND 9 by the+eric+conspiracy · · Score: 1, Redundant

    And I guess this is why I run BIND 9...

  9. Yep by AGTiny · · Score: 1

    Yeah don't most people run Bind 9 these days? My Redhat 7.1 and 7.3 servers are both at bind-9.2.1.

  10. maradns by zdzichu · · Score: 3, Informative

    This is why I run MaraDNS.

    --
    :wq
    1. Re:maradns by gid · · Score: 1

      I remember hearing about maradns earlier on /. I was running bind as a resolver for my home network, because my isp's dns servers were kinda far away from me, so I did a a dpkg --purge bind; apt-get install maradns; copied over the recursive example config, and I was off.

    2. Re:maradns by Mendax+Veritas · · Score: 1

      I also use maradns and am generally quite happy with it. However, there is one minor annoyance that seems to be an acknowledged property of the current design: maradns doesn't work terribly well as both a recursive and authoritative server at the same time. The most obvious example I've found of this causing a problem is in the resolution of CNAME records. I have a local CNAME that maps to a name in another domain. What I expect to happen (and what would happen with BIND) is that if I try to resolve the local name, the DNS server should realize that it has to make a recursive request to the authoritative server for the other domain. But maradns doesn't do that (or at least, it didn't the last time I tried it, which was a few months ago).

  11. 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
  12. 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!

  13. 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 kireK · · Score: 1

      Since when was ISS worried about how the community thought of them? But I bet ya that their sales reps will be using this vulnerability in OLD versions of bind to sell more product.Notice that the did not tell useres to move to Bind9.

    4. 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."
    5. 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.
    6. Re:Did ISS tell bind maintainers? by xijix · · Score: 1

      That is definately NOT the case here. They were alerted well before this information was ever released.

    7. Re:Did ISS tell bind maintainers? by Anonymous Coward · · Score: 0

      Alan Cox is wrong (it happens to us all) I know for a fact that the ISC did indeed inform vendors about these problems a whole week ahead of time.

    8. 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."
    9. 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."
    10. Re:Did ISS tell bind maintainers? by Anonymous Coward · · Score: 0

      Not everyone can upgrade to Bind 9 however.

      Yes they can. If they're too lazy that's another issue.

    11. 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

    12. 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).

    13. 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.

    14. Re:Did ISS tell bind maintainers? by Anonymous Coward · · Score: 0

      Actually, Lynda McGinley (the individual in charge of distributing the patches) of the ISC kindly informed a few of us that they have had patches ready for over a week, and these have been available to subscribers of their for-profit mailing list. Our company emailed them as per the instructions on isc.org and were instructed to call her. When we called her, she basically dropped a sales pitch and after showing no interest, she then decided we didnt need these patches. No, I'm not joking.

      I encourage everyone to email her, Lynda_McGinley@isc.org, and ask for the patches.

      This behavior is appalling. We are bordering on extortion here.

    15. Re:Did ISS tell bind maintainers? by Anonymous Coward · · Score: 0

      Actually, no. ISC has known about this for nearly a month. The patches have been available to subscribers of their commercial front, Nominum, for some time now.

    16. 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!

    17. 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.

    18. Re:Did ISS tell bind maintainers? by Anonymous Coward · · Score: 0

      Don't blame ISS.

      Here's some additional information that clears up whether ISS was responsible and properly gave notice to the ISC BIND organization.

      http://online.securityfocus.com/archive/1/299873 /2 002-11-11/2002-11-17/0

      Subject: Re: Bind 8 bug experience
      Date: Nov 14 2002 2:41PM
      Author: Olaf Kirch

      On Wed, Nov 13, 2002 at 12:04:31PM -0800, Jeremy C. Reed wrote: > But I see the patches were made October 30 (if the dates are reliable).

      In fact I believe ISC have been sitting on this for almost a month. The CVE IDs were assigned October 16, and I have reason to believe that
      they learned of this no later than October 23.

      Members of BIND Forum were notified last week, from what I'm told.

      In my opinion, the main reason for ISC to use this method of distributing the patches rather than going through established channels (such as
      CERT) was to be able to convince software vendors and other bodies using/distributing BIND to become a member of BIND forum. I don't
      know if that worked out, but I have my doubts.

      From my experience of the past two days, I believe they did not expect there to be such a demand for the patches...

  14. Re:WHAT A BUNCH OF CRAP??? by Karamchand · · Score: 1

    uhm. you know there's more to do for a DNS server? Like reverse lookups? MX lookups? ......?
    Not that easy as you might think! But - why didn't you write a fast, secure, simply ideal DNS server?

  15. 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: 0

      djbdns isn't an option for those of us that want to run free software, sorry.

    2. Re:Tips by Anonymous Coward · · Score: 0

      OMG your sig is pathetic.

    3. 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.

    4. Re:Tips by Anonymous Coward · · Score: 0

      You mean BIND 9 that hasn't had an exploit in 2 years? This license is crap, it's more restrictive than Microsoft's shared source. It's a shame you fell for it.

    5. Re:Tips by Anonymous Coward · · Score: 0
      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.

      Sure, but don't try to do anything like DNSSEC or IPv6, and of course you'll never be able to provide zone transfer capabilities.

      Not only that, but you have to risk dealing with DJB. He makes Theo seem almost tolerable.

    6. Re:Tips by Anonymous Coward · · Score: 0

      Eric --

      Checked out your webpage and saw that you are the largest pompus affected wuss I've seen in a long time, but I'm glad you think you are so special and have your own personalized bowling shirt now.

      I'm curious if you actually have someone proofread your webpage, and what they think of your ego.

      I'd laugh, but you are more sad than funny.

      http://www.erickrout.com/

    7. 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?

    8. Re:Tips by Anonymous Coward · · Score: 1, Insightful

      Let's go through the freedoms of the GNU foundation with respect to DJB software.

      The freedom to run the program, for any purpose

      DJB software gives you this.

      The freedom to study how the program works, and adapt it to your needs

      Yup. You have the source, and you can change it for your own needs. Also true.

      The freedom to redistribute copies so you can help your neighbor

      You can distribute the source package as it exists at the official distribution web site, and you can distribute patches. So, this one is true, too.

      The freedom to improve the program, and release your improvements to the public, so that the whole community benefits.

      This is ALSO true. A bunch of whiny ignorant assholes are calling djb software more restrictive than proprietary licenses! DJB provides you the source, the ability to modify it, the ability to redistribute your patches, and the latest source.

      The things that are missing are the right to distribute a modified and/or binary version of the software. You can only distribute source (unless you can establish on install that the binary is built just like the source build would do it), and modification can only be in patch form.

      But, in general, all GNU freedoms are preserved, and the source is freely available (free as in beer).

    9. Re:Tips by Anonymous Coward · · Score: 0

      DNSSEC is a redundant feature which doesn't work. Since when did you have to deal personally with BIND developers? Why would you need to deal with DJB?

    10. Re:Tips by Snowbeam · · Score: 1

      What would you recommend for the bigger networks out there?

      --
      I am Lord Snowbeam. Heed my call!
    11. Re:Tips by Anonymous Coward · · Score: 0

      Anonymous Coward --

      That posting was from last week's "The Onion".

      I'm curious if your life is as fucked up as your research skills.

      I'd laugh, but you are more sad than funny.

      http://slashdot.org/comments.pl?sid=44855&cid=46 53 960

    12. Re:Tips by Fjord · · Score: 1

      Yeah, but djbdns can only be distributed source only. I just installed dnsmasq on my debian system using the regular apt system. With dbjdns I'd have to apt it and then compile it, and on upgrades I'd have to remember to compile it again. Too much of a PITA.

      --
      -no broken link
    13. Re:Tips by mayoff · · Score: 1

      "... you'll never be able to provide zone transfer capabilities." This claim is incorrect. djbdns comes with a zone transfer server (axfrdns) and a zone transfer client (axfr-get).

      There are patches available for IPv6 transport support.

    14. 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
    15. Re:Tips by T-Ranger · · Score: 2

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

    16. Re:Tips by Christopher+Doopov · · Score: 1

      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.

      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."

      --

      ~Christopher Doopov

    17. 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.

    18. Re:Tips by Anonymous Coward · · Score: 0

      Ahh, BIND, written with an intent; job security.

    19. Re:Tips by Anonymous Coward · · Score: 0
      out perform anything else


      Bwahahaha!!!

      djbdns is ASTONISHINGLY slow given it didn't have to worry about backwards compatibility.

    20. Re:Tips by Anonymous Coward · · Score: 1, Insightful

      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).

    21. 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.

    22. Re:Tips by ChoyLeeFut · · Score: 1

      If you're considering djbdns for your zone server, you might want to consider the complementary dnscache as your cache/forwarder server.

      --

      The postman hits! The postman hits! You have mail.

    23. Re:Tips by Fjord · · Score: 1

      That's not what I said at all. When I apt-get update, I don't analyse every package it's sending me, mostly I just switch the window and work on something else, flipping back to configure the packages that need it. I'd have to make it a regular part of updating to check if a djbdns update came down, and then manually go and make && make install. Relative to other package management, djbdns is a PITA, and I can use other packages (such as dnsmasq) that provide the same simplicity.

      --
      -no broken link
  16. Pah by Anonymous Coward · · Score: 0, Troll

    Frankly, anyone still using BIND 4 deserves to get rooted.

    Anyone still running BIND 8 should be given a good slap and told to upgrade.

    Anyone running BIND 9, well done.

    1. Re:Pah by Anonymous Coward · · Score: 0


      Frankly, anyone still using BIND 4 deserves to get rooted.

      The audited verion of BIND that comes with OpenBSD is 4.x. I'm not sure if this security problem affects it though.

    2. 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.
    3. Re:Pah by Anonymous Coward · · Score: 0

      Hey shit for brains, have you bothered to look at the memory requirements for bind8 vs. bind9? Oh, you have? You must be running zones less with less than a couple records.

    4. Re:Pah by mackstann · · Score: 1
      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.

      three cheers for chroot, ironically i was going to re-setup bind today, and after reading this story, i decided it'd be good to install a chroot'ed bind9. a google search for 'chroot bind' and about an hour of time was all that was needed, and its working beautifully :)

    5. Re:Pah by Tottori · · Score: 1
      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.

      Note that even if your BIND is chrooted, it can be used to attack other name servers. Unless it's carefully firewalled, it can also be used to perform DOS attacks, or as a staging area to attack other services on the same machine or subnet.

      Be a good Internet citizen. Upgrade.

      --
      use constant PERL_IS_BROKEN => $] >= 5.006;
  17. 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 Anonymous Coward · · Score: 0

      But it's not very stable under a high load. If you have a really busy server, in my experience, BIND9 will choke and die.

      For me, it would usually last a week or so in an environment of tens of requests per second. Ended up switching back to BIND8. Yeah, I could have written a wrapper around it to restart it automatically, but I don't think good software should need something like that.

    2. 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.
    3. 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.

    4. Re:Or you could use bind 9... by Anonymous Coward · · Score: 0

      Would you idiots please stop it with your endless cheerleading for djbdns already. As the man said, "the vulnerabilities it's had". Had. Past-tense. But hey this is slashdot, no need to read what you're replying to..

      BIND 9 is solid. 9.2.1 has been out since May of this year.. no vulns.

    5. 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.

    6. 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;
  18. 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
  19. 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 pheared · · Score: 1

      You didn't want files in superfluous directories, so you installed djbdns?

      /command, /packages, anyone?

    3. 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.
    4. Re:Bind9 by retro128 · · Score: 1

      Well, I wasn't saying that djbdns is perfect, but my overall impression is that it's less invasive than BIND. My biggest hangup with BIND was its huge size...all it's doing is DNS. How big does it really need to be? This is my impression, and I'm not saying BIND sucks, in fact it's a great DNS server and I've run several systems on it. It's just overkill for what I'm doing.

      --
      -R
    5. Re:Bind9 by Fastolfe · · Score: 1

      Bind's target audience is the professional, enterprise-scale DNS infrastructure. If that's not you, then by all means consider something a little simpler.

      Heterogenous environments are usually more secure/robust anyway.

    6. Re:BIND9 by Frysco · · Score: 1

      It should be noted that this vulnerability only affects BIND 8 servers that perform recursion (ie, the regular nameservers that things like your workstation/laptop/whatever that you ask for a name, and they go out and find that name for you).

      The root servers are authoritative only, do not allow recursion, and are thusly not affected by this exploit.

      --
      -Frysco!
    7. Re:Bind9 by Frysco · · Score: 1

      Did you look at what is in the tarball at all? Not all of that is required to build the server.

      Out of 22Mb
      5.0Mb are extra documentation files
      5.1Mb is contributed software
      2.6Mb is the testing suite

      That leaves you with 9.3Mb

      --
      -Frysco!
    8. Re:Bind9 by rplacd · · Score: 1

      You're comparing 9.3MB with

      mx-1# ls -l djbdns-1.05.tar.gz ucspi-tcp-0.88.tar.gz daemontools-0.76.tar.gz
      -rw-r--r-- 1 fn staff 36975 Sep 13 20:35 daemontools-0.76.tar.gz
      -rw-r--r-- 1 fn staff 85648 Sep 13 20:35 djbdns-1.05.tar.gz
      -rw-r--r-- 1 fn staff 53019 Sep 13 20:35 ucspi-tcp-0.88.tar.gz
      mx-1#

      And even there, ucspi-tcp isn't required to run the server.

  20. Troll submission by Dammital · · Score: 1

    "I guess this is why i run tinydns."

    BIND 9 has been available for TWO YEARS, Troll.

    1. 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 ?

    2. Re:Troll submission by Dammital · · Score: 0, Offtopic

      My apology! By "submission" I meant the original story. Had I meant your comment, I would have said "post". I probably wasn't clear.

      I followed up to your post because I was taking your point -- except that I added the "two years" reference. And of course called the submittor a troll.

      Kind regards!

  21. Welcome to System Administration 101 by ekrout · · Score: 0, Flamebait

    - Free
    - Secure

    Choose one.

    --

    If you celebrate Xmas, befriend me (538
    1. Re:Welcome to System Administration 101 by Anonymous Coward · · Score: 0

      Free software can't be secure?

    2. Re:Welcome to System Administration 101 by runderwo · · Score: 0, Offtopic

      I guess you don't use Postfix, PureFTPd, OpenSSH, BIND 9, or OpenBSD, for that matter. Since they are free, they cannot be secure.

    3. Re:Welcome to System Administration 101 by Uma+Thurman · · Score: 1

      Ladies and gentlemen, we're witnesses to the birth of a little baby meme. I think this one's going to go really far.

      --
      This is America, damnit. Speak Spanish!
    4. 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)
    5. Re:Welcome to System Administration 101 by Uma+Thurman · · Score: 1

      Oh, I spoke too soon. That baby was stillborn. But there's a fraternal twin:

      1) Proprietary
      2) Secure

      Choose one.

      --
      This is America, damnit. Speak Spanish!
    6. Re:Welcome to System Administration 101 by earlytime · · Score: 1

      d'oh! i modded with the wrong remark, this certainly isn't offtopic. hopefully posting this comment will unmod the modding.

      --

    7. Re:Welcome to System Administration 101 by Q+Who · · Score: 0

      I guess you don't use Postfix, PureFTPd, OpenSSH, BIND 9, or OpenBSD, for that matter. Since they are free, they cannot be secure.

      There were exploits for all of these. Thus, they were not secure.

      There were no exploits for djbdns.

      What was your point again?

    8. Re:Welcome to System Administration 101 by runderwo · · Score: 1
      There were exploits for all of these. Thus, they were not secure. There were no exploits for djbdns. What was your point again?
      I don't know about my point, but I'm having trouble finding yours. You seem to be claiming, "There have not yet been any exploits found in djbdns, therefore it is secure."

      Was OpenBSD secure until the moments a root exploit was publicized? Does the lack of knowledge of an exploit existing in an application somehow verify that application's security?

      Why do bugs that have already been fixed somehow invalidate the security of a package in the future, compared to a package in which no bugs have happened to be found yet?

      There's an awful lot of djb worshiping going on here. I seriously doubt djb happens to be the only living example in the world of a programmer who simply won't ever make a mistake. Very few people use djbdns compared to the uncountable masses that use popular open source server software. Don't you think there just might be a "more eyes spot more flies" corollary there?

    9. Re:Welcome to System Administration 101 by mayoff · · Score: 1

      "more eyes spot more flies". But to a large degree, it's irrelevant how many users BIND has versus djbdns. The question is whether sufficiently-skilled programmers have spent a sufficient amount of time inspecting the code. BIND, being far larger than djbdns, requires a far larger amount of inspection time.

      I've inspected much of the djbdns code base. Although some of the code (in dnscache) is difficult to understand, the bulk of the code (including the all of the code that deals with data from the network) clearly has no buffer overflows and does not wrongly trust external data.

    10. Re:Welcome to System Administration 101 by Q+Who · · Score: 0

      I don't know about my point, but I'm having trouble finding yours. You seem to be claiming, "There have not yet been any exploits found in djbdns, therefore it is secure."

      It is probably secure, because no exploit has been found for it yet, despite widespread use.

      Why do bugs that have already been fixed somehow invalidate the security of a package in the future, compared to a package in which no bugs have happened to be found yet?

      If a bug is found in a released product, then with probability close to 100% it has more bugs. Yet, if no bugs have ever been discovered in a product, then it may have no bugs at all.

      There's an awful lot of djb worshiping going on here. I seriously doubt djb happens to be the only living example in the world of a programmer who simply won't ever make a mistake. Very few people use djbdns compared to the uncountable masses that use popular open source server software. Don't you think there just might be a "more eyes spot more flies" corollary there?

      Perhaps djbdns is not a good example for this purpose. Qmail is the second most common SMTP server on the internet. No bugs have been found in it yet. Countless bugs have been found in sendmail and postfix. According to your flawed logic, after each sendmail patch, it may be more secure than qmail.

      Worshipping D. J. Bernshtein is fully justified. Unlike immature programmers working in open sores projects, he does not release buggy products.

      Heil djb. Long live qmail.

    11. Re:Welcome to System Administration 101 by runderwo · · Score: 1
      If a bug is found in a released product, then with probability close to 100% it has more bugs.
      Please cite the statistics that you are using to make your point here.
      According to your flawed logic, after each sendmail patch, it may be more secure than qmail.
      My "flawed" logic says that for all you know, each patch to sendmail may very well be the last. You can't disprove this any more than you can prove that there will never be a bug in qmail. In the end, it comes down to preference. Do I prefer a piece of software that has had issues in the past but is in wide use and development, or do I prefer a piece of software that has not shown issues to date, has a closed license, and few users in comparison? I don't think there's a case for arguing that either one is inherently better.
      Worshipping D. J. Bernshtein is fully justified. Unlike immature programmers working in open sores projects, he does not release buggy products.
      ;) Thanks, I was wondering if you were just trolling. You spared me from wasting further time on this thread.

      By the way, there's a bug in your spelling of DJ's name.

  22. In other news... by Anonymous Coward · · Score: 0

    ...sun rises in the East.

  23. /. 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.

  24. 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 Anonymous Coward · · Score: 0

      That's a good reason not to use bind 8. Now find me a reason not to use BIND9 kthx.

    3. 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,
    4. 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.)

    5. Re:Who uses bind4 anymore department? by Anonymous Coward · · Score: 0

      hey punk, there have been 0 kernel exploits for OpenBSD!

      The only problems in OpenBSD in the last 6 years have been because of other people's code.

      jerk

    6. Re:Who uses bind4 anymore department? by Anonymous Coward · · Score: 0

      hey and guess what the majority of code on any unix system including OBSD is written by ? thats right -- other peoples code.
      they have been zero kernel exploits for virtually all other unixes too -- doesnt make em any more secure. the libs can still be compromised.
      so quit whining about other peoples code and audit/fix it dickweed. or dont claim the most secure os in obsd.

    7. 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
    8. Re:Who uses bind4 anymore department? by Anonymous Coward · · Score: 0

      So you wouldn't mind if your DNS server was infected and spreading worms around the net, because it's chrooted and your precious emacs binary is safe. Thanks.

    9. 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
  25. 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.
  26. 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 Anonymous Coward · · Score: 0

      Why isn't your post on the /. front page? that is great news. Making MS pay to support Linux. You are great!

    4. 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?
    5. 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.

    6. 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
    7. Re:What if you can't use (fill_in_the_blank)? by demi · · Score: 1

      Another option might be to assign your risk of security vulnerabilities to someone else by outsourcing. UltraDNS will run your authoritative services, and you can maybe get recursive service from your datacenter provider; if not then at least you can firewall off the internal servers from the outside world and reduce the risk of attack.

      --
      demi
    8. Re:What if you can't use (fill_in_the_blank)? by Anonymous Coward · · Score: 0

      Yes, Microsoft just clinced a $350,000 software deal by buying $620 of Ximain licences. Go Linux!!@!!

    9. Re:What if you can't use (fill_in_the_blank)? by Anonymous Coward · · Score: 0

      RTFPost:

      "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."

      This has nothing to do with the company policies, it's the vendor's policy.

  27. MOD PARENT UP by Anonymous Coward · · Score: 0

    anyone else find the djbdns user community arrogant and unhelpful in the extreme? they use djbdns because they don't know better, but soon the licensing issues they care so little about will come and bite them in the ass

  28. 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 Anonymous Coward · · Score: 0

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

      No, it is faster, more scalable, and more featureful. There's no reason anyone should still be running BIND 4 or 8.

    2. 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.

    3. 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
    4. Re:Newer major versions often drop features by pbuxton · · Score: 1
      YMMV, but I find BIND9 more responsive than BIND8. Yes, dnscache is still quicker, but I substituted 9 for 8 on a small file/mail/fax/print server (P-166, 80 MB RAM) and was perfectly happy with the (faster) results. A friend with a much larger IT campus to serve noted that he didn't experience memory leaks under BIND9, as opposed to BIND8.

      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.

    5. 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.

    6. 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 ;).

      --
    7. 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.)

    8. Re:Newer major versions often drop features by pbuxton · · Score: 1
      Stop trolling. ``all his other software to support djbdns'' consists of one package: daemontools
      I said "other software," not "other packages," didn't I? Daemontools and djbdns installed a lot of programs, inclunding svscan and supervise, log and all the programs, directories and rc files to run and manage them; not to mention /package, DJB's personal global namespace.
      And if you felt like setting up djbdns by hand,
      And deny myself the right to post questions to DJB's mailing lists about running his software The Wrong Way. Which I didn't.
      Unless, of course, you don't care if your services stay up without you constantly watching them.
      My home machine still runs inetd, fer Chrissake, and I've never woken up to my machine without it. I've also used xinetd and daemon on 'real' servers happily enough.
      Patches are allowed and encourged.
      The right ones, anyway.
      Stop trolling..... The rest of your post is complete FUD....
      You're the strident one. Hell, you even declined to quote or reply to my statement of observation that BIND 9 is almost as fast as dnscache, but if you started arguing facts, that wouldn't be fud, I mean, fun anymore, would it? And do consider that remedial English course. I said, "since I cannot use djbdns in the spirit of Bernstein's license, I will not use it." If you like his terms, by all means, go to it. That's not FUD, that's one man voting with his dselect.
  29. Ever feel... by Anonymous Coward · · Score: 0

    like many things posted here about security is actually about advertising? Right now, I have a feeling that this is not about talking about old versions of bind, but about pushing tinydns. After looking at the notice, that felt like ads for ISS. More so, since readint what the moron from ISS said in australia.

  30. first post! by Anonymous Coward · · Score: 0

    edit: damn.

  31. 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...

  32. Solution: by Dot.Com.CEO · · Score: 1
    Make the vendor aware of the problem. Send an email with a detailed explanation of the potential problem your company will experience when (not if) the script kiddies get easy tools to exploit it. Use the words bug, exploit and unsafe throughout the document. Send a couple of relevant links as well.

    Most important of all, involve someone higher up at management, preferably puting them on the cc: of the mail you send. If you are responsible for the box, it is your ass on the line if things go wrong. By involving them, you put more pressure on the vendor. Be proactive, pass the problem to your vendor, rather than try to justify yourself when the inevitable happens.

    --
    Mother is the best bet and don't let Satan draw you too fast.
  33. AIRLACE did it by Anonymous Coward · · Score: 0

    http://developers.slashdot.org/comments.pl?sid=424 88&cid=4465167

    AIRLACE claims to have maintained the BIND code base for a year. I bet she did it.

  34. LDAPDNS baby! by Anonymous Coward · · Score: 1

    http://www.nimh.org/code/ldapdns/

  35. Re:MOD PARENT UP NOT! AIRLACE is a fool by Anonymous Coward · · Score: 0

    http://developers.slashdot.org/comments.pl?sid=424 88&cid=4465167

    The DJBDNS community gives excellent help. There policy is that you don't mung files. If you do then they will be grasping at straws and that doesn't do anybody any good.

  36. What's for dinner? by Anonymous Coward · · Score: 0

    Well?

  37. 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.
    2. Re:Not So Strawman Worms by eecue · · Score: 1

      Well i hate to remind everybody but the last BIND worm used the same type of vuln where a vulnerable server was owned by requesting from an owned server. We'll see how long it takes history to repeat itself.

      --
      -- sigs suck --
  38. BIND by Make · · Score: 4, Funny

    BIND - serving remote shells since 1986 ;)

  39. 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 Anonymous Coward · · Score: 0

      Hopefully you're running stable. :-) Some morning you may wake up and find some package installed automatically and broke something you use. I've had that happen and I was NOT a happy camper, but I run testing so I know I deserve it! ;-)

    3. 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/
    4. Re:Why I LOVE Red Hat Network by Grayraven · · Score: 1

      I just hope you're not tracking unstable ;-)

      --
      "Source... The Final Frontier" -- keepersoflists.org
    5. Re:Why I LOVE Red Hat Network by Anonymous Coward · · Score: 0

      AFAIK they still don't GPG sign their packages. If that's the case there's no way in hell I'd have stuff installing automatically.

    6. Re:Why I LOVE Red Hat Network by Anonymous Coward · · Score: 0

      They are signed in Redhat 8.0

  40. AIRLACE can't code worth 541t by Anonymous Coward · · Score: 0

    http://developers.slashdot.org/comments.pl?sid=424 88&cid=4465167

  41. 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
  42. DJB is an idiot by Anonymous Coward · · Score: 0

    Well, he is actually very smart, however, his licensing schemes are questionable. Someone has said it before and I will say it again:

    "Change the BIND license to something non-BSD and wait for the OpenBSD crew to yank it from their source and write something more secure"

    1. Re:DJB is an idiot by Anonymous Coward · · Score: 0

      Even having the OpenBSD (read Theo) write something more secure is questionable. At least with djb's programs I know that they are secure.

      So if DJB is an idiot (college professor) does that make you a brainless slug?

    2. Re:DJB is an idiot by Anonymous Coward · · Score: 0

      One mans idiot is anothers professor. Yes, I think his licensing schemes are idiotic. I corrected my self, or can you not read?

      Go do something constructive with your self and commit suicide you worthless fucktard

    3. Re:DJB is an idiot by Anonymous Coward · · Score: 0

      If you consider being a college professor a guarantee of intelligence then you have never worked in a college.

  43. 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.

    5. Re:Upgrading to BIND 9 by Tottori · · Score: 1

      It's also worth noting that BIND 9 is about a million times easier to run in a chroot than BIND 8. You can just use the default compile! This makes me happy.

      --
      use constant PERL_IS_BROKEN => $] >= 5.006;
  44. 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 Anonymous Coward · · Score: 0

      So, a pretty typical OpenBSD install, then?

      [hey moderators: I'm kidding. Ha ha ha. Not flamebait. OpenBSD good.]

    2. 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.
    3. Re:I'm scared by AKnightCowboy · · Score: 1
      My computer sits in a locked closet, lacks input devices, and runs only the OpenBSD kernel and nothing else.


      I know you're trying to be funny, but even your example has an exploit. I hope you applied the patches for the setitimer/getitimer vulnerabilities in 3.0 and 3.1. :-) Check them out from here.

    4. Re:I'm scared by Anonymous Coward · · Score: 1, Funny

      See, your problem is that you're running all this bloated, feature-filled, popular software. You need to run truly secure software, like DJB's new "djbtam" and "djbdhws".

      djbtam -> Dan J. Bernstein's Tight Anus Mail.

      That's right. Your mail server can be sealed up tighter than DJB's sphincter. This secure package is licensed under the "who gives a fuck" license, and is used by tens of users around the globe to keep their mail servers tight and puckered.

      All servers that send and receive mail need to install the djbtam sender package, which is a collection of 15 small C programs that each run under a different user ID and in a different chroot jail. Just to remind you how stupid you are, you have to install each one by hand and the license forbids you from distributing an installer. The daemons communicate with one another by flashing lights on the keyboard. You must be present to type the correct flash pattern into your console. This extra level of security keeps hackers at bay. Note: if you need logging, just write down the light flashes as you copy them. See, this kind of bloated functionality is what keeps other mail servers insecure!

      djbdhws -> Dan J. Bernstein's Dick Head Web Server.

      Ahh, now here we have a truly modern, high-performance web server. It consists of a single, chroot'd process that receives HTTP requests, one at a time (multithreading breeds security holes), and then looks up each one in a table, and passes it to an executable. There's one executable for each web page, which has the content hard-coded into the program. Each one runs in a chroot jail, and under a different userID. Adding a web page to your site is so easy! Just compile a new executable for the page, and then create a new user id for it to run under.

      Note, only HTTP GET is supported, no POST, no CGI, no dynamic content, no virtual hosts, and no logging (again, you should be smart enough to write a program that sits between the daemon and each page. kinda tough, since it runs chroot'd in an empty directory, but if you can't figure that out you're a shit-for-brains that deserves to be hacked).

      DJB software - 121 satisfied users, won't you join our elite club?

    5. Re:I'm scared by ellem · · Score: 1

      Damnit I just spit my soup on the screen!

      To Do: Go to Home Depot, buy QuikCrete...

      --
      This .sig is fake but accurate.
    6. 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.
    7. 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.
  45. Yes, ISS did tell bind maintainers by Anonymous Coward · · Score: 0

    The BIND maintainers are ISC. ISS notified ISC a long time ago. ISC chose when it would notify WHICH vendors WHEN.

  46. 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 pheared · · Score: 1

      haha, hey bboy. I was waiting for you to chime in and plug your DNS server ;)

      /me is kvn from #C.

    2. 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!

    3. 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.

    4. 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.

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

    /etc/hosts:

    66.35.250.150 slashdot

    1. Re:Who needs DNS? by wraithgar · · Score: 1

      Something tells me the hosts file would be get a little big here.

      [root@xxx /root]# grep ^zone /etc/named.conf|wc -l
      1375
      [root@xxx /root]# wc -l /var/named/*|tail -1
      88642 total

  48. QPL? by yerricde · · Score: 1

    However, he is also QUITE clear. Source patches are fine. Of any sort.

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

    if something works like this, why do you need to be able to redistribute anything more than patches?

    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?

    Install buggy BIND

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

    --
    Will I retire or break 10K?
    1. Re:QPL? by Anonymous Coward · · Score: 0

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

      His stated and written position is that he doesn't need to give any such permission because he has no legal authority to tell you you can't do it, and neither does anyone else.

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

    2. 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.

    3. 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

    4. 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

    5. Re:QPL? by Anonymous Coward · · Score: 0

      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 [linuxmafia.com] 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.

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

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

      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 don't think proprietary is appropriate. He GIVES you a copyrighted version for free, and makes no challenge to re-distribution of patches, or re-distribution of source (as long as the source you distribute is byte for byte the same software on his web site). That alone distinguishes it A LOT from proprietary software (which you cannot re-distribute or patch or even modify for your own use).

      DJB software provides the user ALL of the GNU freedoms. It is appropriate to call it open source. It fails in the Debian freedom of allowing redistribution of derivative works.

      Call a spade a spade. His software works dern well, and is free enough for anyone whose concern is getting their work done. After becoming familiar with administering BIND, sendmail, qmail, and djbdns, I now look at DJB's website FIRST when I am looking for server software before I check anywhere else. I do this because his software doesn't get remote compromises, never fails, and has quite reasonable performance by almost any measure.

    6. Re:QPL? by Anonymous Coward · · Score: 0

      The terms of that default licence, described by Prof. Bernstein mostly accurately (other than, according to John Cowan, those concerning modifications [linuxmafia.com]) 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.)

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

      You download djb's software. You fix it for yourself. Is that legal ?

      The parallel is obvious and clear.

      Also, default rights are FAR FAR different from rights typically associated with proprietary software. Proprietary software rarely comes with source, disallows patching or any re-distribution of the original or modifications in patch or other forms. That is clearly different from the rights you get when you get the source for free and the right to re-distribute patches.

      He falls in a funny middle-ground. But ALL GNU freedoms are there, and all but one of the Debian freedoms (the right to re-distribute derivatives).

    7. 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.

    8. 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

    9. 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

    10. 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

    11. 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.

    12. 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

  49. 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.
  50. 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
    1. Re:How to remove tinydns ? by dismayed · · Score: 1

      Why would you want to remove it?

      ... use of non standard services ... and non standard locations ...

      *cough* You can put these where you want... Could you elaborate more on why it didn't work so well for you? Its always been simple, easy and fun for me to use.

  51. Gentoo astroturfing. by Reservoir+Penguin · · Score: 1

    Is it just me or there have beemr ecently a flood of people whoring Gentoo. Seems suspicios since noone I know perosnally or proffesionally runs it. And no I dojnt run Gentoo coz I'm located in Russia and d/l every package in source form over 33.6 is not much fun.

    --
    US-UK-Israel: The real Axis of Evil
    1. Re:Gentoo astroturfing. by friedmud · · Score: 1

      Sorry you take it for whoring... It's just that this operating system has completely blown me away. Never before have I been so happy to be using a certain OS.

      I apologize, I didn't mean to say that YOU should use Gentoo, I was just pointing out that it is easy if you do. Gentoo isn't for everyone, and I agree, gentoo over a modem wouldn't be much fun.

      As for people using it personally I know several. I use it both at work and at home as my desktop. I know of 5 other people who use it as their personal desktops as well (this is not including the 2 that I persuaded to switch to it).

      As for professionally, I only know of 1 company personally that has rolled out servers based on Gentoo. I know the sys-admin and he is VERY happy with it.

      Maybe it just hasn't caught on yet in Russia ;-) Maybe it won't ever. But it is a great system, and if you ever get the chance to try it I highly recomend it.

      Derek

    2. Re:Gentoo astroturfing. by rabidfox · · Score: 1

      I use it, so do 2 of my friends (read converts) with a total of 5 gentoo boxes between us (3 mine), it's not as rare as you think, just cuz you don't see it doesn't mean it's not everywhere

    3. Re:Gentoo astroturfing. by Poppa_Chubby · · Score: 1

      Its probably not just you. Astroturfing is fairly common on slashdot, just look at any post that mentions anything about debian. Some of the gentoo converts are ex-debian people, so its fairly natural to see them turfing every chance they get.

    4. Re:Gentoo astroturfing. by IpalindromeI · · Score: 1

      Note: Offtopic
      I wanted to try out Gentoo, but while installing it I wanted to install the gnome-panel. I couldn't because gnome-core blocked it. No problem, just unmerge and emerge the new gnome package right? Unfortunately, unmerge only unmerges the specified package, and not any packages that depend on it. In fact, it doesn't even tell you if or which packages depend on it. I couldn't find any way to find out more information about package than it's name, version, and a one-line description. Please correct me if I'm wrong, but is the packaging system really so info-lacking? Makes it tough to switch from Debian where I can find out just about everything about a package through dpkg.

      --

      --
      Promoting critical thinking since 1994.
  52. 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.
    2. Re:Shameless plug time by Anonymous Coward · · Score: 0

      I realized that two seconds after posting the article; djbdns does have the best security history.

      Then again, I do not completely trust Dan's software. We had some serious problems using qmail as an outgoing mail relay at my last job; it has this annoying way of having a random 90 second delay.

      - Sam

    3. Re:Shameless plug time by Anonymous Coward · · Score: 0

      Let it daemonized for the love of god!

  53. Re:www.nvnews.net has pulled parhelia review? by Anonymous Coward · · Score: 0

    You're messed up. Read this

    "Just wanted to let you guys know that the review will be back up soon. We recently went through a new formatting standard, and work is being done to get the review to conform to that standard."

  54. Re:www.nvnews.net has pulled parhelia review? by Anonymous Coward · · Score: 0

    I wasn't messed up, I referred to that particular passage.

  55. thanks! by MORTAR_COMBAT! · · Score: 1

    I'll have to set this up and try it. Thanks for the info.

    --
    MORTAR COMBAT!
  56. Don't use djbdns! by Anonymous Coward · · Score: 0

    This package is full of crap and you need daemontools installed. And as always, all crap made by D. J. Bernstein is unmaintained and can't be modified.

    1. Re:Don't use djbdns! by roly · · Score: 0

      You can modify it, but you cannot redistribute the modifications as a binary.

      --
      "With Microsoft, you get Windows. With Linux, you get the full house" - unknown
  57. 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 Anonymous Coward · · Score: 1, Funny

      Who cares whether the software is "completely free" according to someone's definition? As far as system administrators are concerned, if it meets or exceeds their needs, they're happy - be it "free", commercial, or DBJware. There's a large patch and support community for DJBware. Qmail is the second most-frequently used email server according to DJB's own surveys. djbdns is also used with great success by huge sites. System administrators with a clue love quality software whether it meets your definition of "free" or not, and will keep using it.

    2. 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.

  58. WAY TO GO!!! by Anonymous Coward · · Score: 0

    Way to go IIS!! You keep on releasing SECURITY WARNINGS without notify the package maintainers! This shows the absoulute non-thinking-mentality that runs that company. I guess this is why people point and laugh at you guys and use more reliable sources such as BugTraq / SecurityFocus.

    I have to ask... You already put one foot in your grave.. Could this be the other foot??

    And honestly.. How much is Microsoft paying you guys to do this?? You must be getting some really big kick backs for pulling stunts like this?

    Nite Nite IIS.. I'll be sleeping a lot better than you will tonight.

  59. 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).

    1. Re:Don't Blame Sendmail (Re:AMEN!) by Anonymous Coward · · Score: 0

      wh00t ? sendmail is the MOST FAMOUS BUGGY program, they even have some bugs REINTRODUCED
      after years they've been already discovered/patched (as in case of -d command line signed integer overflow bug).

      Sendmail is prolly one of the reasons the security comunity it is where it is today (i.e. sophisticated methods for exploits and their counter-measures)

  60. 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.

  61. 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
  62. It serves any idiot right... by Wakko+Warner · · Score: 0, Redundant

    ...who runs BIND as "root" and doesn't jail it.

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
    1. Re:It serves any idiot right... by Anonymous Coward · · Score: 0

      Is there any reason to run BIND as root, even if it is jailed? It's easy to break out of a chroot on most operating systems. FreeBSD's jail() is better, but I don't think BIND includes built-in support for it (like the "-t" switch for chroot).

  63. 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.

  64. why I avoid djb code by Anonymous Coward · · Score: 0, Redundant
    I am sorry this will sound like a djb flame. But I truly believe that people should understand what they get into when they enter into the djb world. Mod me down as flamebait ... but I believe that what I speak is the truth.
    1. djb has too much control over the code he distributes

      djb's license leaves a lot to be desired See the linuxmafia djb FAQ for details.

      That site goes into much more extensive detail and says it better than I can here.

    2. djb code is written in a very poor style.

      It is as if djb thinks white space is a non-renewable resource.

      HINT: Strange code style makes it harder to review for correctness.

      PROBLEM: Bind is no great pile of wonderful code either.

    3. djb ego can be a problem

      If you ever have the unfortunate situation of disagreeing with djb, you know what I mean. Find a flaw and djb will argue with you until you give up in disgust.

      Yes: tinydns has flaws, but djb will argue that his code is the way things should work and it is the other hosts that have problems.

      HINT: What good is it to offer a reward for finding a bug when all you get is an argument in return?

      I'll refer you back to his distribution controlling licenses for another example.

      And if you EVER invent an algorithm, implement an idea, distribute code that djb things was his original idea ... well the EMail that you get from him is nothing short of amazing.

      HINT: If you are not willing to be an djb-acolyte, then you might as well forget it.

    4. djb is too quick to pull out the lawyers

      It seems that ever since his US DoJ lawsuit, djb feels free to wield his lawyer stick to anyone who dares editorialize on his activity. I see that the linuxmafia folks have encounters his legalistic zeal as well.

    dbj: You demonstrate that you have the ability to contribute to others very well. I only wish you were less controlling, open to constructive comments and easier to collaborate with ... you and others would benefit from a more gentle and less caustic approach to dealing with others.

    1. Re:why I avoid djb code by Anonymous Coward · · Score: 0

      Dear Troll.

      Believing one source of facts and one persons opinions is just asking for it. Remember Hilter?

      Point 1. It is his code not yours. To say he has to much control is asnine.
      Point 2. Let's see you coding style troll. Oh. Your a coding equilivent of an arm chair quarterback.
      Point 3. You are probably using Windows. Doesn't Bill Gates egotism bother you too. Oh, you can't actually communicate with Mr. Gates so the fact that he may actually know more then you is irrelevent. As long as you can send an email to DJB about all the supposed bugs and security issues you think you've found makes all your arguments correct if he writes back telling you your full of shit. You have written full implementations of common internet proctocals haven't you?
      Point 4. Good. That anyone who calls him self "mafia" and writes what I read to be as libelist comments deserves to get sued.

    2. Re:why I avoid djb code by spacey · · Score: 1

      I've read and patched djb code. Its among the best code I've read, and has taught me a lot about how to program.

      While you're free to criticize it because you can't understand it, that lack minly demonstrates that you don't have a competant grasp of C.

      -Peter

      --
      == Just my opinion(s)
  65. 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 jonadab · · Score: 1

      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.

      Incidentally, I checked, and the fs permissions issue I was talking
      about was actually / being group-writable -- i.e., members of the
      wheel group can put stuff in the root directory. The fact that
      sendmail cares about that at all is a symptom of the fact that it
      runs as root, which is generally considered to be a really really
      really bad idea for anything that listens on a port for connections
      from the internet and handles data that comes in from random people
      "out there".

      I don't happen to know exactly _what_ vulnerabilty we're not
      supposed to blame sendmail for if / is group-writable, but frankly
      it's none of sendmail's business. sendmail should be conducting
      its business in ~sendmail and shouldn't care about /, other than
      to be able to traverse it to find its binaries in /usr/bin or
      whereever. Apparently there are a number of things we can put
      in the DontBlameSendmail environment variable to get sendmail to
      run without complaining if various things that are none of its
      business aren't to its liking. It's a symptom. sendmail cares
      about stuff it shouldn't need to care about, because it's running
      as root, which is inherently dangerous and completely unnecessary,
      a legacy of the LONG gone era when people got their mail by logging
      into the mail server directly and using an mbox file. (For this
      reason sendmail wants to be root, so it can store mail in each
      user's own home directory, rather than in a subtree of sendmail's
      home directory where it ought to be.)

      --
      Cut that out, or I will ship you to Norilsk in a box.
    2. 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.
  66. BIND 9 missing things from BIND 8 by salty_oz · · Score: 1

    I would love to upgrade our internal DNSs to BIND9, but we use the "rrset-order" option quite heavily. BIND9 doco says this is still not supported...

    --
    ln -s /dev/null /dev/clue
  67. 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.

    1. Re:Wow, you're dumb. by timftbf · · Score: 1

      "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."

      Other than, of course, have zone files which someone might be able to read and make any sense of. Or support zone transfers rather than telling to go away and rsync your gibberish-zone-files behind the scenes. But neither of those is important in a name server, right?

      I hate qmail too, for what it's worth, and I especially hate the bizarre inetd replacement whose name currently escapes me, but which believes in unfeasibly long command lines rather than config files. djb seems insistant on throwing away anything that's been done before and re-inventing the wheel, only making it harder...

      Regards,
      Tim.

    2. Re:Wow, you're dumb. by D.+J.+Bernstein · · Score: 1
      ``Support zone transfers rather than telling to go away and rsync your gibberish-zone-files behind the scenes.'' djbdns supports zone transfers. They aren't recommended, because they're obsolete, but if you need them to talk to third-party servers then you can use them.

      ``Have zone files which someone might be able to read and make any sense of.'' No sane human-interface designer would choose BIND's

      4.3.2.1.in-addr.arpa. 86400 IN PTR lion.heaven.af.mil.
      lion.heaven.af.mil. 86400 IN A 1.2.3.4

      (even worse, in two separate files!) over the tinydns-data equivalent:

      =lion.heaven.af.mil:1.2.3.4

      See the upgrade-from-BIND page, under Administration, for a list of ten time-saving features in the data format.

      Even more important is that the data format is easy for programs to read and write. There are tinydns management tools supporting several different administrative tastes: MySQL, LDAP, a web interface, etc. Development of these tools was faster for tinydns than for BIND, and will remain faster, because I'm not throwing artificial barriers in the way of implementors.

  68. MOD THIS +5000 FUNNY!!!!!!111 by Anonymous Coward · · Score: 0

    see subject

  69. 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.
  70. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  71. Fuck you, Eric Krout. by Anonymous Coward · · Score: 0

    You really, really suck, Eric Krout.

  72. Re:/. should be more precise with security flaws n by PCGod · · Score: 1

    Unless they changed the headline between the time you posted and the time I read it, they did take care in posting. The headline as I read it is "Bind 4 and 8 Vulnerabilities"

  73. The Asstalkers by Anonymous Coward · · Score: 0

    The asstalkers are an ancient indian tribe who helped us win the Vietnam War by speaking their sacred language, asstalkian. The Vietnamese could not crack the asstalk code, so that is how we one the war. There is a movie coming out to tell the story of the indians' struggle. It is called "The Asstalkers."

  74. 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.

  75. Of'course .. djbdns .. by freaker_TuC · · Score: 1

    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 ?

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
    1. 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?

  76. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  77. ISS endangering the Internet... again by neoThoth · · Score: 1

    Just like the Apache vulnerability release the ISS team failed to contact the maintainers about the vulnerability to get a proper patch released. This is horrible behaviour and it endangers everyone. Most say this recent behavior is due to the fact that M$ is in bed with ISS and their 'x-force'. They seem to target open source projects and then issue statements denying that there are 'responsible contacts' since it's not an actual firm or corporation. Just another tool to cause fear and uncertainty in the open source world in the name of security. While ISS didn't release the full details of the exploit they released enough. Anyone with half a brain can figure out how to turn this exploit into a deadly worm. I'd give it a few weeks before we see the first few attempts.

    1. Re:ISS endangering the Internet... again by Anonymous Coward · · Score: 0

      Re-read the thread. DUH. It wasn't ISS's fault.

      http://developers.slashdot.org/comments.pl?sid=4 48 55&threshold=-1&commentsort=0&tid=172&mode=thread& cid=4653012

      Re:Did ISS tell bind maintainers?

      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

      [ Reply to This | Parent ]

      Re:Did ISS tell bind maintainers?
      by Florian Weimer (fw@deneb.enyo.de) on Tuesday November 12, @06:43PM (#4655265)
      (User #88405 Info | http://www.enyo.de/fw/)
      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).

    2. Re:ISS endangering the Internet... again by Anonymous Coward · · Score: 0

      Don't Blame ISS for this. Do not shoot the messenger.

      Here's some additional information that clears up whether ISS was responsible and properly gave notice to the ISC BIND organization.

      http://online.securityfocus.com/archive/1/299873 /2 002-11-11/2002-11-17/0

      Subject: Re: Bind 8 bug experience
      Date: Nov 14 2002 2:41PM
      Author: Olaf Kirch

      On Wed, Nov 13, 2002 at 12:04:31PM -0800, Jeremy C. Reed wrote:
      > But I see the patches were made October 30 (if the dates are reliable).

      In fact I believe ISC have been sitting on this for almost a month. The CVE IDs were assigned October 16, and I have reason to believe that
      they learned of this no later than October 23.

      Members of BIND Forum were notified last week, from what I'm told.

      In my opinion, the main reason for ISC to use this method of distributing
      the patches rather than going through established channels (such as
      CERT) was to be able to convince software vendors and other bodies
      using/distributing BIND to become a member of BIND forum. I don't
      know if that worked out, but I have my doubts.

      From my experience of the past two days, I believe they did not expect there to be such a demand for the patches...

  78. Re:Microsoft paying to support Linux re: Ximian by libertarian · · Score: 1

    You are my hero.

  79. 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

  80. 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.

  81. Re:Passive Worm Potential... PATCH NOW by Neon+Spiral+Injector · · Score: 1

    So write RFC complient zone files.

  82. rrset-order and BIND9 by Frysco · · Score: 1

    While stile quite alpha, the latest snapshot of BIND 9.3.0 (in ftp://ftp.isc.org/isc/bind9/snapshots) does contain _partial_ support for rrset-order (cyclic and random orders).

    Probably best not to run it in a production environment, though.

    --
    -Frysco!
  83. Fuck you, Eric Krout. by Anonymous Coward · · Score: 0

    We don't like spammers, troll, and krapflooders here. Go to hell and die, E r i c.

  84. The Submission is a Bunch of Crap by Anonymous Coward · · Score: 0

    I read that submission and thought "Oh My God! Time to upgrade BIND to 8.3.whatsit! I'll quick pop over to CERT and see what's up..." No mention of anything at CERT. Then I re-read ISS's stuff more carefully and see that ISS just lost all credibility with me. They're talking about a vulnerability in an ANCIENT version of BIND! I've been on BIND 9 since late 2001, and they mention this archaic falderol about BIND 8.3.3 in an urgent-sounding November 12th 2002 press release. Wankers. Fool me once, shame on me uh, er, we won't be fooled again! Someone please hack their site and post some twisted porn on their front page.

  85. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  86. Re: djbdns deployment by D.+J.+Bernstein · · Score: 1
    ``On how many billion-query nameservers does DJBDNS run? How many mission-critical servers run DJBDNS?'' Are Lycos and Citysearch big enough for you? How about Namezero, the largest domain-hosting company on the Internet?

    ``How many root nameservers run DJBDNS?'' None at the moment. Of course, none of them run BIND 9 either.

    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.

  87. 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/

  88. Unlikely... by Anonymous Coward · · Score: 0

    Of course, we have already proved that tinydns contains exactly zero vulnerabilities..... :p

  89. 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.

  90. Re: djbdns deployment by brad-x · · Score: 1

    The site www.lycos.com is running Microsoft-IIS/5.0 on Windows 2000.

    It would seem that not every enterprise is able to pick the right tool for the right job.

    This is unfortunate, as it would otherwise render your attempt at culling a tacit endorsement from these organisations in terms of their use of your software legitimate.

    --
    // -- http://www.BRAD-X.com/ -- //
  91. Re: djbdns deployment by D.+J.+Bernstein · · Score: 1

    www.lycos.com is the web server. The DNS servers are running djbdns. You're also wrong when you claim that this endorsement was ``tacit''; the administrator sent a testimonial to the mailing list three months ago.

  92. DJB alternatives and distributions by WoodstockJeff · · Score: 1
    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.

    qmail in particular, in my opinion, suffers from the need to apply over a dozen "unofficial" patches to make it do the wonderful things people associate with it.

    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.

    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-)

    1. 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

    2. Re:DJB alternatives and distributions by WoodstockJeff · · Score: 1
      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."

      And it isn't as if I'm adverse to compiling things... or patching them... after all, I'm one of the first sites to run dbmail on a production server (SQL-based back-end for mail, everything but the MTA), although I froze my installations 8 months ago... I'll wait until the final release ("Real Soon Now") before updating again, because it WORKS.

      One of the things that attracted me to postfix in the first place was that, by default, it works. The first machine I had it on, surprised the hell out of me by forwarding web-generated emails before I'd even looked at the configuration, while still rejecting all attempts by spammers to use it as an open relay. I still have several boxes that have default postfix configurations, that are used merely to forward auto-generated mail for their daemons.

      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-)

    3. 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

  93. Last Post!! This story is not news. by Anonymous Coward · · Score: 0

    Use of BIND 4 and BIND 8 is deprecated. BIND 9 was rewritten from scratch because the BIND 4/8 code is so badly written, and is therefore full of undiscovered vulnerabilities.

    Would it be news if a vulnerability were discovered in sendmail 2 or 4? Or in Linux 1.2? Everyone running BIND 4 or 8 should upgrade to 9, unless (like OpenBSD) they have performed their own security audit and code rewrite.

  94. 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.

    --
  95. 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. :-)

  96. 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 D.+J.+Bernstein · · Score: 1
      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. He then makes the same claim with ``SMTP servers'' in place of ``DNS servers.'' Not only are both claims factually incorrect, but both claims are, on their face, patently absurd.

      Think about it: what would happen to one of those message transfer agents if its own network connection failed? Answer: It would bounce every message in the queue! People who claim that it's a disaster for servers to be reachable less than 100.0000000000% of the time are forgetting that client connections are nowhere near that level of reliability.

      This is just one of the issues discussed in my cost-benefit analysis of third-party DNS servers. Note that my page doesn't say that third-party DNS servers are always bad; it analyzes the costs and benefits in detail, so you can see whether you're in the rare situation where the benefits outweigh the costs.

      Moen is also completely incorrect when he claims that my web page ``argues against the very notion of backup nameservers.'' On the contrary. The page clearly states, both in its title and in its introduction, that it is discussing the costs and benefits of third-party DNS servers.

      In contrast, backup DNS servers are useful at many sites, just like backup HTTP servers, and my documentation specifically recommends DNS service replication at large sites. If your company has identical HTTP servers in New York and Paris, obviously you should put identical DNS servers at the same locations.

    2. 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

  97. the above anonymous coward sure writes like djb by Anonymous Coward · · Score: 0
    IMHO: the line of reasoning, the style of personal attack, and the level of argument expressed by the Anonymous Coward who began with "Dear Troll." is very similar to djb's typical way that he expresses himself in Internet-based arguments.

    If the author of the above comment was not djb but someone else who was defending him: I would not consider such a comparison with djb's style of argument as a complement.

  98. typical djb sycophant by Anonymous Coward · · Score: 0

    Only a sycophant of djb would be dumb enough to feed a troll.

  99. please do not code like djb codes - part 1 by Anonymous Coward · · Score: 0

    I'm sorry to hear that you learned from djb's code. While I have nothing to do with the troll to whom you replied (i.e., I'm not the author of the "why I avoid djb code"), I could not but help respond to your comment about learning to program from reading djb's code.

    Lets pull up MR djb's djbdns v1.05 code shall we? This code has 208 *.[ch] files. These 208 files contain 11731 lines of text. How many opening comments can one count? Only 124 comments. Of those, 114 comments are single line comments, and only 10 are multi-line comments that total 73 lines for a grand total of 187 lines of comments.

    So a puny 1.59% of the source lines in djbdns are comments!!! I hope you document your own source code better than that!

    Now you may say that well commented code is no guarantee of quality. Very True. Some might even go as far as to try and argue that good code should self document. But a balance must be struck somewhere.

    Lets pick a file at random ... qlog.c. OK, it is a small file:

    #include "buffer.h"
    #include "qlog.h"

    static void put(char c)
    {
    buffer_put(buffer_2,&c,1);
    }

    There is no indication of what buffer_2 is. One has to go to buffer_2.c to find these gems:

    #include "buffer.h"

    char buffer_2_space[256];
    static buffer it = BUFFER_INIT(buffer_unixwrite,2,buffer_2_space,size of buffer_2
    _space);
    buffer *buffer_2 =

    And that BUFFER_INIT magic being:

    #define BUFFER_INIT(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }

    So we character array of buffer_2_space fixed in size and declared with the magic constant of 256?!

    I'm not very impressed so far! But lets continue back in qlog.c where we left off:

    static void hex(unsigned char c)
    {
    put("0123456789abcdef"[(c >> 4) & 15]);
    put("0123456789abcdef"[c & 15]);
    }

    Cute ... for obfuscated C. Could have been less cleaver. And if speed were a real concern a simple table lookup would have done nicely.

    Continuing:

    static void octal(unsigned char c)
    {
    put('\\');
    put('0' + ((c >> 6) & 7));
    put('0' + ((c >> 3) & 7));
    put('0' + (c & 7));
    }

    OK, here the author assumes ASCII and continues to be cute. Now we reach the heart of the qlog file, the qlog function itself:

    void qlog(const char ip[4],uint16 port,const char id[2],const char *q,const char
    qtype[2],const char *result)
    {
    char ch;
    char ch2;

    BTW: All of the indentation is that of the author. I have not omitted any comments in this file because there are none. Between these code sections are single empty lines.

    So we see function with 6 arguments, none of them documented. Let us hope that qlog is always called with a non-NULL q and result pointers.

    To avoid the "too few chars per line" /. filter, I will stop this post now and continue with part 2.

  100. please do not code like djb codes - part 2 by Anonymous Coward · · Score: 0

    Next we see the reason for those hex() and octal() functions:

    hex(ip[0]);
    hex(ip[1]);
    hex(ip[2]);
    hex(ip[3]);
    put(':');
    hex(port >> 8);
    hex(port & 255);
    put(':');
    hex(id[0]);
    hex(id[1]);
    buffer_puts(buffer_2,result);
    hex(qtype[0]);
    hex(qtype[1]);
    put(' ');

    Gee, those first 4 hex() calls look a a lot like an attempt to output a value of an IP address. I sure hope this code never encounters non-IPv4 addresses! No attempt to use the standard declaration types for IPv4 addresses, just 4 signed chars? And what about endian/host/net order? Oh, I'm sure it all works ... but gee wiz folks!

    I'll move to part 3 where the "quality" begins!
    (Sorry, must break this into parts because of
    the "too few chars per line /. filter).

  101. please do not code like djb codes - part 3 by Anonymous Coward · · Score: 0

    For the final gem we see the following code from that same function. Here we see more examples of why you should not code like djb codes.

    if (!*q)
    put('.');
    else
    for (;;) {
    ch = *q++;
    while (ch--) {
    ch2 = *q++;
    if ((ch2 >= 'A') && (ch2 <= 'Z'))
    ch2 += 32;
    if (((ch2 >= 'a') && (ch2 <= 'z')) || ((ch2 >= '0') && (ch2 <= '9')) || (ch2 == '-') || (ch2 == '_'))
    put(ch2);
    else
    octal(ch2);
    }
    if (!*q) break;
    put('.');
    }

    I am not making this code up folks! Did the author every heard of ctype macros? What about non-ASCII character sets? Can you be sure that the *q pointer will stop on a NUL character and terminate the above loop? How about those magic 32 constants? Hopefully the 1st octet that *q points at will cause the while(ch--) loop to terminate before *q++ runs off the end of the string!

    Just for completeness here are the final lines of this qlog.c file:

    put('\n');
    buffer_flush(buffer_2);
    }

    I am far from impressed with just this little sample.

    Poorly commented code. Frequent use of magic constants. Places where standard types and macros could have been used. Excess cleverness where sample straight forward coding would work just as well. Sorry, all that makes for poor code quality!

  102. Re:Escape tsarkon report by Anonymous Coward · · Score: 0

    Qmail sucks. no smtp auth. real fuckin good. dont give me that its good until you try to scale. Say postfix, or some other real MTA. But qmail?

    and DJB, fucking sucks. Try reading his sources. Its unreadable.

    Shows what you know, fuck head.

  103. Re:Escape tsarkon report. by Anonymous Coward · · Score: 0

    DJB. I think you are such a fucking cunt. Your code sucks. your software sucks. and you FUCKING LIE about your 500 dollar bet - people complain about nailing your ass and you not paying up.

    You make fun of software with real circulation. if as many people who use bind and sendmail used Q-homo-mail or DickJerkDNS we would find your shit fuck software fullm of holes.

    You are probably a ass philandering pedophillic fuckstick motherfucker. I hate you your software and you existence.

  104. Re:Wow, you're dumb. tsarkon report by Anonymous Coward · · Score: 0

    mister tiny program piece wise speaks! hey arent you the guy who makes 9000 little binaries to do the job of one binary? so you create a fucking mess in /services/, and its filled with 900 fucking files, and you talk about how forward and reverse tables being in sep. files is gay?

    FUCK YOU

  105. tsarkon reports LYCOS loses money out the ass. by Anonymous Coward · · Score: 0
    So here you are Professor Berenstain. That's what you are, a fucking cartoon character. Hahahaha. DJB you are a fucking laugh. You take the company which has the most fucking awful god damn financials on wall street and say it's a poster child. Professor, what a fucking ass you are:

    LYCOS:[Terra Networks now] Per-Share Data
    Book Value (mrq) $9.02 -- Earnings (ttm) -$18.95 -- Earnings (mrq) -$14.69 -- Sales (ttm) $1.22 -- Cash (mrq) $3.55
    Management Effectiveness -- Return on Assets (ttm) -4.77% -- Return on Equity (ttm) -100.83%
    Profitability -- Profit Margin (ttm) -81.9%

    So here you Papa bear Berenstain, telling all the cubs how it is. But instead of being good, I'm going to piss on your fucking leg like an angry cat. Lycos sucks shit, fool. Google rules it so hard. And the same degree which Google owns so hard over Lycos is about the same disparity between that Michael Jackson-esque piece of shit code base fairytale you refer to as DJBDNS and Qmail. Or should I call it quake mail, since the average Gaymer would produce better code than that. You taking the endorsement of that piece of shit company as anything more than insult is as laughable as you are, cuntcasket. Its dumbassed zealot professors such as yourself that leads me to believet hat scientists in skunk work projects are the road to technological salvation, not evangelical assholes hiding out in Universities so they don't actually have to prove themselves. You are the epitome of a tenured loser asshole. I hate you, and whatever titiion the kids have to pay to goto your rat infested dump of a school is too much if they hire idiots like you.

    All I have to Say, Berenstain, is GET A FUCKING JOB. You fucking cartoon character.

    All Research Reports for Terra Networks, S.A. (ADR
    Statistics at a Glance -- NasdaqNM:TRLYAs of 13-Nov-2002Price and Volume52-Week Low
    on 8-Oct-2002$3.60Recent Price$4.55152-Week High
    on 27-Nov-2001$9.27Beta1.67Daily Volume(3-monthavg)123.8KDaily Volume(10-dayavg)231.0K Stock Performance
    big chart [1d | 5d | 3m | 6m | 1y | 2y | 5y]52-Week Change-39.4%52-Week Change
    relative to S&P500-21.6% Share-Related ItemsMarket Capitalization$2.83BShares Outstanding621.3MFloat379.0M Dividends & SplitsAnnual DividendnoneLast SplitnonePer-Share DataBook Value(mrq)$9.02Earnings(ttm)-$18.95Earnings(mrq)-$ 14.69Sales(ttm)$1.22Cash(mrq)$3.55 Valuation RatiosPrice/Book(mrq)0.51Price/EarningsN/A Price/Sales(ttm)3.73 Income StatementsSales(ttm)$699.1MEBITDA(ttm)-$262.1MInco me available to common(ttm)-$11.5B ProfitabilityProfit Margin(ttm)-81.9%Operating MarginN/A Fiscal YearFiscal Year EndsDec 31Most recent quarter31-Dec-2001Management EffectivenessReturn on Assets(ttm)-4.77%Return on Equity(ttm)-100.83% Financial StrengthCurrent Ratio(mrq)5.59Debt/Equity(mrq)0.00Total Cash(mrq)$2.21B Short Interest
    As of 8-Oct-2002
    Shares Short4.73MPercent of Float1.2%Shares Short
    (Prior Month)6.17MShort Ratio39.07Daily Volume121.0K ADR InformationShares/ADR1See Profile Help