nanog mailing list archives

Re: IPv6 could change things - Was: DMCA takedowns of networks


From: Adrian Chadd <adrian () creative net au>
Date: Tue, 27 Oct 2009 22:39:52 +0800

On Tue, Oct 27, 2009, Jeroen Massar wrote:

But yes, the network stack itself is a different question, then again,
you can just route a /64 into the loopback device and let your apache
listen there... (which also allows you to do easy-failover as you can
move that complete /64 to a different box ;)

Funny you should mention that.

A couple of tricks I've seen:

* instead of a linked list and O(n) searching of interface aliases, use
  some kind of tree to map local IP -> interface.
* hacks to do a "bind to all damned IP addresses and let userspace sort
  it out".

I've done the former for a few thousand aliases with no degredation
in performance. The hacks available for freebsd-4.x for the Web Polygraph
software did something similar.

2c,



Adrian



Current thread: