Werner Otto werner.otto at gmail.com
Fri Sep 14 17:08:26 UTC 2007

I want to have realtime information for all DHCPACK and DHCP_RELEASE events.
I am currently piping the DHCP server log entries to a Java application
listening on a socket. Ideally I would like to use a server API, so that I
can subscribe to these events mentioned and only send the ACK and RELEASE
events over to my application. This allows me to create a C/C++ application
that interacts with my Java program the way I want and maybe have a look at
using the JDHCP API, something like:

DHCP SERVER --> Custom application interested in ACK and RELEASE events -->
XML/RPC --> Java Web Services (using JDHCP)

I am not sure if the dhcpctl API allows me to do these things. What it will
do is to expose a number of objects and their lease state, good stuff, but I
will need to ask for it instead of me getting it realtime.

On 14/09/2007, Shane Kerr <Shane_Kerr at isc.org> wrote:
> Hash: SHA1
> Werner,
> Werner Otto wrote:
> > good stuff, a starting point. Would you know how I go about obtaining
> > DHCP Request and Offer packets. I guess hours of reading will give me
> > the answer, but that is what you guys are here for ;-). Last one I
> > promise...
> ISC DHCP does not currently have hooks on the server side to do packet
> inspection like that. I think it is possible to compile the server to
> execute a
> program on every packet, this might work for you.
> I think the best thing may be for you to let us know what you are trying
> to do,
> rather than asking us about specific mechanisms to do things like they are
> done
> in the Windows world. :)
> If you really need to look at each Request or Offer packet, one of our
> project
> folks can talk to you about your requirements off-list.
> - --
> Shane
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iD8DBQFG6rk/MsfZxBO4kbQRAnYyAKDbjIFSM7Oz9xsiQgWHZ+4ufs/ongCfXb65
> MSOK0k0Lk6ZkrirtKTq6qbs=
> =wR0S

Kind Regards
Werner Otto
+44 782 846 5076 (M)
+44 203 132 4368 (H)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20070914/d585870b/attachment.html>

More information about the dhcp-users mailing list