[bind10-dev] msgq and dhcp4

Shane Kerr shane at isc.org
Wed May 16 15:40:08 UTC 2012


Jinmei,

On Monday, 2012-05-14 11:22:15 -0700,
JINMEI Tatuya / 神明達哉 <jinmei at isc.org> wrote: 
> Frankly, however, I'm not excited with either approach.  Ideally we
> should have a single unified I/O framework for all services.  In that
> sense, customizing ASIO ourselves might not be that option.  We could
> at least ask the ASIO developers whether they are interested in
> incorporating the added feature.

I think this is the right thing to do. I spent a few cycles looking
around the ASIO mailing list and googling and the like, and found
people with similar problems but nothing that exactly matches.

So, just to be sure, I think we have two different problem statements,
one for DNS and one for DHCP:

1. For DNS, we need to know the destination IP address+port and use
   that as the source for reply packets.
2. In addition, for DHCPv6 we need to know the interface identifier
   that we received a packet on and send the reply on that interface.

Also, I'm not sure about the various techniques for doing the required
lower-level packet manipulations in DHCPv4. ASIO supports raw sockets,
but I don't know about other types. (In this case, we may want to
consider something like writing a non-ASIO application that only acts
as an internal relay, I suppose...)

--
Shane


More information about the bind10-dev mailing list