|
From: Jose N. <jo...@mo...> - 2002-11-12 16:30:06
|
On Tue, 12 Nov 2002, Lurene Angela Grenier wrote: > While the code base is rather large and imposing I'm still thinking that > it would be beneficial to rewrite at least a portion of the code over > from scratch. Such things like dig can be done very simply with getopt, > and I think a quick review would show that a LARGE part of the code is > wheel reinvention and can be cut, so that even if we use the general > BIND9 layout, we can still cut down alot of code and get a much better > piece of software. the answer, lurene, lies in your .sig: > "What I cannot create, I cannot understand" > -- Richard Feynman this is precisely the reason why i think it's worth it to redo it from scratch. i, too, have been overwhelmed with the codebase. isc poorly reimplemented a lot of stuff. refactoring is a challenging task. some implementation ideas: - rely on systrace's priv elevation rather than being root/droppriv or even privsep - be single threaded but use libevent to drive the system - start with ipv4, but be ready for ipv6 - use openssl for dnssec stuff so the real question is where does one start? at full current standards and attempt to implement them (an intractable task, to be sure) or basically start out with bind 4 and add features as needed (dnssec, ipv6)? luckily bind9 is under a bsd license ... :) ___________________________ jose nazario, ph.d. jo...@mo... http://www.monkey.org/~jose/ |