Can you add a class match with omshell?

David W. Hankins David_Hankins at isc.org
Fri Jan 9 01:15:08 UTC 2009


On Fri, Jan 09, 2009 at 02:32:50AM +0200, Oleg Gawriloff wrote:
> After this I wrote small script that convert all params to standard RADIUS 
> Accouting request which our BSS kindly accepts. Only two question sremains:
> 1. in scripts params I want to include giaddr of relay agent, but I can't 
> find isc-dhcpd option for this field (giaddr). Any ideas/suggestion?

Look at the packet() function, which gives an offset/length interface
to the raw DHCP packet contents.  A little time with this and RFC 2131
should sort it.

> 2. man about 'execute' says that its blocking operation. My script run in 
> about 1 second. Does at means that any dhcp packets that comes to server at 
> this moment will be discarded or some kind buffering is in place?

Socket read buffer.  If too many packets are queued, the kernel will
drop packets off the tail (which is actually the worst thing for us).

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090108/31432582/attachment-0001.bin>


More information about the dhcp-users mailing list