omshell format error in hardware-address output
Glenn Satchell
Glenn.Satchell at uniq.com.au
Fri Jan 30 15:47:48 UTC 2009
Hi Matthias,
I think this is dhcpd trying to be clever about auto-printing ascii or
binary strings in a readable way. Your new MAC address is all ascii
characters... I don't think there is a way to get the binary only
format, unless you hack the source code.
rewgards,
-glenn
>Subject: omshell format error in hardware-address output
>Date: Wed, 28 Jan 2009 09:53:40 +0100
>From: "Matthias Stenke" <Matthias.Stenke at hrz.uni-giessen.de>
>To: <dhcp-users at isc.org>
>
> We operate dhcpd as a component of a web authentication system for about
> 2000 users and use omshell for performance reasons to get the MAC/IP
> pair for a specific client (we have short lease times and parsing the
> dhcpd.leases simply takes too much time in our case).
>
>
>
> I have just encountered a strange behavior of omshell (Version 3.0.7)
> with one of the clients which uses a locally set mac address
> (66:55:44:33:60:40). The lease data which is print out is wrong
> formatted: The hardware-address should be printed out in the usual
> format as 66:55:44:33:60:40, but omshell prints out "fUD3`@" (including
> the quotes). Obviously the six bytes of the hardware address are
> converted to ASCII characters and quoted. I have seen this so far only
> with this specific mac address.
>
>
>
> I hope someone can take a look at this. Many thanks in advance!
>
>
>
> Here is the input/output of omshell:
>
>
>
> Input:
>
> connect
>
> new "lease"
>
> set ip-address = <client ip>
>
> open
>
>
>
> omshell output:
>
>
>
> ip-address = <deleted>
>
> state = 00:00:00:02
>
> dhcp-client-identifier = 01:66:55:44:33:60:40
>
> client-hostname = "DUMMY"
>
> subnet = 00:00:00:07
>
> pool = 00:00:00:08
>
> hardware-address = "fUD3`@"
>
> hardware-type = 00:00:00:01
>
> ends = 49:7f:87:17
>
> starts = 49:7f:86:63
>
> tstp = 49:7f:87:71
>
> tsfp = 49:7f:87:71
>
> atsfp = 49:7f:87:71
>
> cltt = 49:7f:86:63
>
>
>
>
>
>
>
> Best regards,
>
>
>
> Matthias
>
>
>
More information about the dhcp-users
mailing list