DHCPv6 PD server

Gert Doering gert at space.net
Mon Aug 13 17:42:17 CEST 2012


Hi,

On Sun, Aug 12, 2012 at 11:07:42AM +0200, Oliver wrote:
> The ISC suite implements "OMAPI" for reading/writing/trapping on events - you 
> should be able to write a monitoring daemon that connects to OMAPI for the 
> purposes of being notified about PDs that have been handed out; much cleaner 
> than poking a leases file :)

Will the dhcpd actually *notify* the client of changes?  From reading
omapi(3), this very much looks like a "command/response" interface,
with no way to install callbacks / select on "activity".

Better than parsing the dhcpd.leases file, maybe, but much worse to use
a polling interface than just passively wait for the dhcpd.leases file
to change (inotify etc).

A callback handler that runs an arbitrary command (e.g. script) with
some well-defined environment would be the right way forward...

Gert Doering
        -- NetMaster
-- 
have you enabled IPv6 on something today...?

SpaceNet AG                        Vorstand: Sebastian v. Bomhard
Joseph-Dollinger-Bogen 14          Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen                   HRB: 136055 (AG Muenchen)
Tel: +49 (89) 32356-444            USt-IdNr.: DE813185279



More information about the ipv6-ops mailing list