Option 82 parse problems.

Alan DeKok aland at deployingradius.com
Fri May 28 08:11:57 CEST 2010


Anton wrote:
> 1. In dictionary.dhcp there are two strings (version 2.1.8):
> 
> ATTRIBUTE DHCP-Agent-Circuit-Id         0x0152                  octets
> ATTRIBUTE DHCP-Agent-Remote-Id          0x0252                  octets
> 
> but when I start radiusd -X I see only one whole string like:
> 
> DHCP-Relay-Agent-Information = 0x010600040064000002080006000cce477c00

  Yes... this was fixed in 2.1.9.  Don't expect 2.1.8 to parse option 82.

> How can I get DHCP-Agent-Circuit-Id and DHCP-Agent-Remote-Id without using perl post_auth ?

  2.1.9 was tested to work.

> 2. There is announced feature in 2.1.9 "Add sub-option support for Option 82. See dictionary.dhcp". When I
> start radiusd -X (2.1.9) with its dictionary.dhcp it begin to eat 100% of CPU with no any output in console
> after the first dhcp packet received.

  Please supply a packet trace (wireshark / tcpdump) which contains that
packet.  If we had seen this issue in testing 2.1.9, we would have fixed it.

> How to use this announced feature of sub-option for opt82 ?

  It was tested to work with a number of different switches.

> How to find the reason why radiusd (2.1.9) eats 100% of CPU ?

  Supply a "pcap" file containing the packet, so we can reproduce the
problem, and fix it.

  Alan DeKok.



More information about the Freeradius-Users mailing list