[Kea-users] Parsing Option 82
Christian Kratzer
ck at cksoft.de
Tue Jul 4 14:13:15 UTC 2017
Hi,
On Tue, 4 Jul 2017, Gokulakrishnan Gopalakrishnan wrote:
> I'm trying to print and parse Option 82 but I couldn't understand the
> format in which it is received. My 'option->toText()' print this
> type=082, len=024:,
> options:
> type=001, len=014: 01:0c:45:74:68:65:72:6e:65:74:31:2f:32:39
> type=002, len=006: 04:62:73:56:13:bc
>
> Can someone help me to understand this value?
Option82 has suboptions as defined in: https://tools.ietf.org/rfc/rfc3046.txt
Suboption 1 is circuit-id.
Suboption 2 is remote-id.
So you seem to have a circuit-id of: 01:0c:45:74:68:65:72:6e:65:74:31:2f:32:39 and a remote-id of: 04:62:73:56:13:bc.
Also they seem to be binary.
They could also be in ascii.
Depends on the relay agent inserting the options.
Greetings
Christian
--
Christian Kratzer CK Software GmbH
Email: ck at cksoft.de Wildberger Weg 24/2
Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden
Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart
Mobile: +49 171 1947 843 Geschaeftsfuehrer: Christian Kratzer
Web: http://www.cksoft.de/
More information about the Kea-users
mailing list