[Kea-users] ipv6 dhcp hook search for vendor specific info

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] ipv6 dhcp hook search for vendor specific info

itay cohen
hi guys

i'm writing a hook to get the field info from relay[0], vendor[4491], option[1026] on this request:

type=00001, len=00010: 00:03:00:01:f4:0e:83:ad:6a:c7
type=00002, len=00014: 00:01:00:01:24:fa:7c:7a:00:0c:29:9c:5b:b7
type=00006, len=00008: 39(uint16) 23(uint16) 17(uint16) 64(uint16)
type=00008, len=00002: 1061 (uint16)
type=16, len=16,  enterprise id=0x118b, data-len0=10, vendor-class-data0='eRouter1.0'
type=00017, len=00168: 4491 (uint32),
options:
  type=00001, len=00002: 1027(uint16)
  type=00002, len=00007: "EROUTER" (string)
  type=00003, len=00016: 45:43:4d:3a:45:4d:54:41:3a:45:52:4f:55:54:45:52
  type=00004, len=00015: 37:41:4c:32:57:52:31:34:35:33:30:32:33:34:31
  type=00005, len=00001: 33
  type=00006, len=00013: 39:2e:31:2e:31:30:33:43:44:2e:53:49:50
  type=00007, len=00008: 32:2e:32:2e:30:2e:34:35
  type=00008, len=00006: 30:30:30:30:43:41
  type=00009, len=00010: 54:47:31:36:35:32:53:2d:38:35
  type=00010, len=00025: "Arris Interactive, L.L.C." (string)
  type=00015, len=00007: 45:52:4f:55:54:45:52
  type=00036, len=00006: f4:0e:83:ad:6a:c7
type=00020, len=00000:
type=00025(IA_PD), len=00041: iaid=2209180360, t1=1000, t2=2000,
options:
  type=00026(IAPREFIX), len=00025: prefix=2a0d:6fc0:83d0::/56, preferred-lft=3000, valid-lft=4000
type=39(CLIENT_FQDN), flags: (N=0, O=0, S=1), domain-name='' (partial)
1 relay(s):
relay[0]: msg-type=12(RELAY_FORWARD), hop-count=0,
link-address=2000:0000:8000:3d::1, peer-address=fe80::f60e:83ff:fead:6ac7, 3 option(s)
type=00017, len=00022: 4491 (uint32),
options:
  type=01025, len=00004: 01:02:03:00
  type=01026, len=00006: f4:0e:83:ad:6a:c5
type=00018, len=00028: 42:75:31:2e:37:30:33:26:43:61:35:2f:31:2f:36:00:f4:0e:83:ad:6a:c7:00:00:00:00:00:40
type=00079, len=00008: 00:01:f4:0e:83:ad:6a:c7


what options shuld i use with getAnyRelayOption ?
btw, flex-id dosent support 3 level search.
thank you
itay



_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users