- 08 Jan, 2021 2 commits
-
-
Joost Bekkers authored
-
Joost Bekkers authored
KEA_QUERY4_RAI hex string of the entire optin 82 KEA_QUERY4_RAI_CIRCUIT_ID hex string of suboption 1 KEA_QUERY4_RAI_REMOTE_ID hex string of suboption 2
-
- 27 Feb, 2020 1 commit
-
-
Baptiste Jonglez authored
Fix #18
-
- 30 Jan, 2020 1 commit
-
-
Sylvain Chénot authored
The getMAC method of pkt4 seems to retrieve the mac of the packet sender which is not the client MAC if a dhcp-relay is used. The getHWAddr seems to be the method used in the KEA server (it's used in src/bin/dhcp4/dhcp4_srv.cc of the KEA 1.6.1 sources) and return the expected MAC address. I test this patch with KEA 1.6.1 sources and hook release v1.3.1, it work as expected. Without this path the MAC address in KEA_QUERY4_HWADDR is the MAC address of my default gateway, because the packet is forwarded from a dhcp-relay.
-
- 01 Nov, 2019 1 commit
-
-
Chad Catlett authored
Removing t1/t2 timers from hook as t1/t2 timers were removed from Kea's Lease struct.
-
- 14 Apr, 2019 1 commit
-
-
Baptiste Jonglez authored
-
- 04 Apr, 2019 1 commit
-
-
Jeff Groom authored
-
- 22 Oct, 2017 11 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
We want to parse both queries and responses, but they have the same type, so just make the parsing code common.
-
Baptiste Jonglez authored
getMAC() seems to be the generic interface (working for both IPv4 and IPv6), while getHWAddr() is specific to IPv4. In addition, getMAC() properly sets the "source" of the MAC address, while getHWAddr() does not.
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
I have no idea what they are used for, but some people might find them useful.
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
This reverts commit 5d1c2b25. The segfault was actually caused by a version mismatch between Kea and this hook, the code should be safe as it was.
-
- 30 Sep, 2017 2 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
This is undocumented in Kea, but lease6_renew and lease6_rebind can get either a "ia_na" and "ia_pd" parameter. Handle both to avoid an exception being raised when "ia_na" is not present.
-
- 27 Sep, 2017 2 commits
-
-
Baptiste Jonglez authored
This makes it clearer that these variables are used for debug.
-
Baptiste Jonglez authored
-
- 24 Aug, 2017 1 commit
-
-
Baptiste Jonglez authored
This avoids variable name conflicts and makes it easier to identify variables coming from the hook.
-
- 14 Aug, 2017 2 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
- 13 Aug, 2017 2 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
- 09 Aug, 2017 3 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
- 08 Aug, 2017 3 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
- 07 Aug, 2017 4 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-