1 Sep 2006 06:00
Re: RFC proposal on DNS spoofing prevention
Kevin Darcy <kcd <at> daimlerchrysler.com>
2006-09-01 04:00:31 GMT
2006-09-01 04:00:31 GMT
Robert Story wrote: > On Thu, 31 Aug 2006 15:18:10 +0300 Andreas wrote: > AG> > Given the above, a resolver MUST: > AG> > > AG> > o Use a new random source port from its available range for each > AG> > outgoing query > AG> > AG> I don't think this MUST is realistic for high-volume servers. In > AG> practice, most caching servers run on operating systems that require a > AG> separate open file descriptor for each port, and on a busy server the > AG> number of outstanding queries can easily exceed the number of > AG> available file descriptors. > > What about relaxing this rule a bit? Simply deleting the word 'new' > would allow for using a pool of N random ports, where 1 < N < OS > file descriptor limit. And if N is small, periodically cycling some/all > of the pool might be a good idea too. > > Thinking as an implementor, the term "random source port" to me means invoking a randomization function every time a source port is chosen, regardless of whether the term is preceded by the adjective "new" or not. If it is the intent to allow a "two-stage" randomization, in which random source ports are periodically chosen from the available range, and source ports are randomly chosen from that pool as they are needed, then perhaps the document should be more explicit about allowing that approach, as well as giving a recommendation for how frequently the pool should be re-randomized (as you imply in your note, the frequency of re-randomization should probably be a function of how large the pool is), and recommending _against_ making either stage(Continue reading)
RSS Feed