summaryrefslogtreecommitdiff
path: root/usr.sbin/bind
AgeCommit message (Collapse)Author
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-19CMSG_LEN and CMSG_SPACE are not neccessarily the same size. So if youTheo de Raadt
are going to allocate/free a block of memory for the message contents, you have to calculate and track the sizes seperately. This change is just like all the other CMSG changes...
2008-03-15Repair the simple cases for msg_controllen where it should just beTheo de Raadt
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment; ok kettenis hshoexer
2008-03-15Because the shuffle code initialisation is a specific case of shufflingDamien Miller
a set of incrementing integers (and not an arbitrary set of values) it is possible to populate the array as we shuffle it in a single forward pass. Clever optimisation from didickman AT gmail.com; ok deraadt@ mcbride@ (same change as netinet/ip_id.c)
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
an extensive discussion with otto, kettenis, millert, and hshoexer
2008-03-02introduce a isc_random_uniform() function to return a uniformly distributedDamien Miller
number 0 < x <= upper_bound and use it to correct the last tiny bias in the shuffle initialisation feedback & ok deraadt@
2008-02-29replacement algorithm. initialize a 64K-short buffer using DurstenfeldTheo de Raadt
shuffle. Upon allocation, swap-permute the new value to a random slot in the 0..32K-1 th entry of the buffer as we move forward, ensuring randomness but also satisfying the non-repeating property we need. Inspired by Dillon's implementation for ip id. We believe this is easier to read though, initializes with less bias and wins speed tests. Thanks a lot to mcbride and djm for doing a bunch of statistical and speed analysis, and comments from nordin ok jakob djm mcbride
2008-02-24taht -> thatMarc Balmer
2008-02-24fix a type, taht -> that.Marc Balmer
2008-02-07add IPv6 root serversJakob Schlyter
2007-12-19regenJakob Schlyter
2007-12-19ref rndc-confgen(8); from Jean RabyJakob Schlyter
2007-12-13more str fixes; from chl@Jakob Schlyter
2007-12-13str fixes; from chl@Jakob Schlyter
2007-12-13str fixes; from chl@Jakob Schlyter
2007-12-09nslookup(8) moved to nslookup(1)Jakob Schlyter
2007-12-09regen from named.docbookJakob Schlyter
2007-12-09merge our command line changes to docbookJakob Schlyter
2007-12-09more strcpy fixesJakob Schlyter
2007-12-09resolve conflictsJakob Schlyter
2007-12-09regen using autoconf 2.61Jakob Schlyter
2007-12-09resolve conflictsJakob Schlyter
2007-12-09ISC BIND release 9.4.2Jakob Schlyter
2007-11-24fix race condition, as reported by naddy@.Marc Espie
On a sufficiently fast machine, the subdirs and the ${TARGETS} will be run simultaneously, and will fail. Since TARGETS can be empty, we need an extra dummy-target to make sure make does something sensible (this avoids bsd-specific constructs).
2007-11-14update IP address of L.ROOT-SERVERS.NET; fix PR#5629Jakob Schlyter
2007-11-03make sure configure is done before we try building manpages.Marc Espie
2007-06-01avoid potentially bad snprintf construct; ok henning millert ottoPeter Valchev
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
oustside, seqencer, toghether, nessissary, etc.
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-02-28regenJakob Schlyter
2007-02-28remove bogus warning regarding OpenSSLJakob Schlyter
2007-02-22Pass sizeof(buf) to fgets instead of hard-coded number.Ray Lai
From Charles Longeau. OK moritz@ and jakob@.
2007-01-25resolve conflicts with 9.3.4; SECURITY UPDATEJakob Schlyter
2007-01-25ISC BIND release 9.3.4Jakob Schlyter
2007-01-10resolve conflicts and regen configure scriptJakob Schlyter
2007-01-10ISC BIND release 9.3.3Jakob Schlyter
2007-01-01rndc will now create output files of 'rndc dumpdb', 'rndcAlexandre Anriot
stats' and 'rndc recursing' commands in /var/named/tmp (instead of /var/named), which is writable by the 'named' user. feedback and ok jakob@ deraadt@, also agreed by fkr@ and msf@
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which leads to surprising results. Spotted by from Paul Stoeber, more to come. ok jaredy@
2006-09-05security update to BIND 9.3.2-P1. ok miod@ and deraadt@Jakob Schlyter
2006-07-18Tyop fix: simultaniousMichael Knudsen
2006-05-04- document -iJason McIntyre
- remove some whitespace whilst here fixes pr #5087 (james strandboge) ok jakob
2006-04-05resolve conflictsJakob Schlyter
2006-04-05regen using autoconf 2.59Jakob Schlyter
2006-04-05resolve conflictsJakob Schlyter
2006-04-05ISC BIND release 9.3.2Jakob Schlyter
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2006-02-07typos from alexey dobriyan;Jason McIntyre
ok jakob, who is passing these fixes upstream...
2005-12-07new ISC nslookup clone "written because we feel like it" is incorrectTheo de Raadt
to spit out the ">" prompt to stderr; it has always been output to stdout historically, and that is the right thing to do. scripts depend on it, as spotted in pr 4937. my fix, because the scripts do not need fixing
2005-11-13set type=XX sets the /type/ of the information query, not the /top/Tom Cosgrove
ok jakob@