summaryrefslogtreecommitdiff
path: root/usr.sbin/bind
AgeCommit message (Collapse)Author
2008-08-04Update to BIND 9.4.2-P2 and adapt our dynamic select changes. OK deraadt@Todd C. Miller
2008-08-03Don't print a warning when the random device cannot be opened ifTodd C. Miller
we have a pre-chroot random device. OK deraadt@ kettenis@
2008-08-01This log message is an excruiciating pain in the ass when it repeats 4000 ↵Bob Beck
times a second on a machine you need debug log on, and is actually used as a cacheing nameserver. remove just this one line of debug log to save people's sanity ok djm@
2008-07-16Dynamically allocate fd_sets so we are not limited to FD_SETSIZETodd C. Miller
connections. With help from djm@. OK djm@
2008-07-10retry port allocation on all errors, not just EADDRINUSE; ok jakob@Damien Miller
2008-07-09let the kernel choose the random port. code from djm@. ok markus@.Jakob Schlyter
2008-07-09reintroduce our own shuffle ID generator. ok djm@ millert@Jakob Schlyter
2008-07-09merge and resolve conflicts introduced by 9.4.2-P1Jakob Schlyter
2008-07-09remove an unused variable that is a leftover from the old alg.Reyk Floeter
ok deraadt@
2008-06-09simplify math for arc4random_uniform() suggested byDamien Miller
Jinmei_Tatuya AT isc.org via jakob@ empirically verified for entire domain of upper_bound
2008-06-04fix math screwup that reintroduced a bias for upper_bounds in rangeDamien Miller
(2^30,2^31). Nothing in the tree yet requests random numbers bounded by this range. report jakob!deraadt; ok deraadt@
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@