2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

181 Commits

Author SHA1 Message Date
Francis Dupont
8476fd1a21 [#3390] Checkpoint: code done 2024-09-26 11:41:33 +02:00
Francis Dupont
5e7ba78999 [#3496] Extra changes by Razvan 2024-08-22 17:01:32 +02:00
Thomas Markwalder
ac266d9c99 [#3492] Addressed review comments
Fixed ChangeLog, UT, and minor cleanups
2024-08-07 13:58:19 +00:00
Thomas Markwalder
da923051fa [#3492] Extend lenient parser check to FQDN types
/src/lib/dhcp/libdhcp++.cc
    LibDHCP::unpackOptions4()
    LibDHCP::unpackOptions6() - split out throw so we can emit
    a more helpful log on parser errors

/src/lib/dhcp/option.h
    Added OptionParseError exception

/src/lib/dhcp/option_custom.cc
    OptionCustom::bufferLength()
    - add throw of SkipThisOptionError if lenient parsing enabled
    for OPT_FQDN_TYPE errors

/src/lib/dhcp/option_definition.cc
    OptionDefinition::factoryFqdnList()
    - add throw of SkipThisOptionError if lenient parsing enabled

/src/lib/dhcp/tests/libdhcp++_unittest.cc
    TEST_F(LibDhcpTest, unpackOptions4LenientFqdn)
    TEST_F(LibDhcpTest, unpackOptions6LenientFqdn) - new tests

/src/lib/dhcp/tests/option_custom_unittest.cc
    TEST_F(OptionCustomTest, fqdnData) - check lenient parsing behavior
2024-08-05 19:53:14 +00:00
Francis Dupont
799a4cbf99 [#3440] Moved to a single vector 2024-07-19 17:49:52 +02:00
Francis Dupont
fdbcd4eeb4 [#3440] Added design comment 2024-07-19 17:49:52 +02:00
Francis Dupont
8cbf53f4d2 [#3440] Typo 2024-07-19 17:49:52 +02:00
Francis Dupont
f32546bad1 [#3440] Added new UT 2024-07-19 17:48:57 +02:00
Francis Dupont
2366ac079b [#3440] Checkpoint: updated all UTs 2024-07-19 17:48:57 +02:00
Francis Dupont
7998eef6aa [#3440] Checkpoint: updated compatible UTs 2024-07-19 17:48:57 +02:00
Francis Dupont
ef94b64b25 [#3440] Checkpoint: added code, UT to update 2024-07-19 17:48:57 +02:00
Francis Dupont
58cc9eb76c [#2755] Code done, doc to update 2024-06-14 22:44:34 +02:00
Francis Dupont
31b7b96f82 [#2618] Fixed shadow 2024-06-05 10:13:55 +02:00
Thomas Markwalder
b75e0f4c50 [#3209] Initial commit
Rewrote encoding/decoding.

src/lib/util/Makefile.am
    Removed old files, added encode.cc, encode.h

src/lib/util/encode/encode.*
    New implemenentation encoding and decoding not based
    on boost.
2024-02-07 13:58:47 +00:00
Wlodek Wencel
416a072394 [#3237] release changes 2024-01-29 10:17:26 +01:00
Razvan Becheriu
1b4d7b0293 [#3119] use range based for loop or BOOST_FOREACH 2024-01-22 17:49:59 +02:00
Razvan Becheriu
908e184654 [#3142] fixed race between start stop and wait 2023-11-14 17:20:17 +00:00
Razvan Becheriu
70f4321e4c [#2725] fixed v6 reservations 2023-06-29 20:54:14 +03:00
Andrei Pavel
9cf6db2252
[#2831] fix some dead assignments 2023-06-28 19:46:10 +03:00
Razvan Becheriu
903cd2cbbb [#2942] addressed review coments 2023-06-27 13:29:46 +03:00
Razvan Becheriu
c20d56ee26 [#2942] added extra coments 2023-06-27 05:37:42 +03:00
Razvan Becheriu
0b883b6674 [#2942] make splitOptions4 thread safe 2023-06-26 22:43:28 +03:00
Razvan Becheriu
ab0e84d524 [#2794] fixed circuit id and remote id definitions 2023-04-18 19:09:36 +03:00
Piotrek Zadroga
f22ceeb07b [#939] Extending unit tests 2023-03-23 14:51:23 +01:00
Francis Dupont
57fc6e7334 [#467] Updated dhcpsrv code and tests 2023-03-06 15:04:35 +01:00
Wlodek Wencel
e0f96268f8 [#2732] release changes 2023-01-23 19:18:49 +01:00
Razvan Becheriu
198ebabb91 [#1518] addressed review comments 2023-01-20 17:36:06 +02:00
Razvan Becheriu
29bbe90dcf [#1518] addressed review comments 2023-01-20 17:36:06 +02:00
Razvan Becheriu
c2a06af6a7 [#1518] addressed review comments 2023-01-20 17:36:06 +02:00
Razvan Becheriu
cb6340cefb [#1518] addressed review comments 2023-01-20 17:36:06 +02:00
Razvan Becheriu
216aadb45a [#1518] implemented support for multiple vendor options in v4 2023-01-20 17:36:06 +02:00
Francis Dupont
b87d5fcc5e [#2357] Filled dhcp-agent-options-space 2022-10-18 17:47:30 +02:00
Razvan Becheriu
5126e37b6c [#2527] added options 151-157 from RFC6926 2022-08-26 18:07:21 +03:00
Razvan Becheriu
9586adef93 [#2227] restore initial packet options 2022-05-19 17:29:57 +00:00
Razvan Becheriu
95f27c2d93 [#2227] split suboptions in separate options 2022-05-19 17:29:57 +00:00
Razvan Becheriu
1ac77490bc [#2227] fixed unittests 2022-05-19 17:29:57 +00:00
Razvan Becheriu
e986a3909f [#2227] add support for unpacking multiple options with the same code RFC3396 2022-05-19 17:29:57 +00:00
Razvan Becheriu
734f7fdec9 [#2227] add support for long options RFC3396 2022-05-19 17:29:57 +00:00
Andrei Pavel
cd64f52014
[#2290] release changes 2022-01-25 18:17:54 +02:00
Tomek Mrugalski
ccc9a027d2 [#1684] v4-captive-portal code changed from 114 to 160 2022-01-14 10:34:15 +01:00
Andrei Pavel
c53e135833
[#1656] 1.9.4 release: update copyrights 2021-01-25 13:52:09 +02:00
Andrei Pavel
96f049b111
[#1656] 1.9.4 release: spelling check 2021-01-25 13:52:09 +02:00
Francis Dupont
1c3ac82b52 [#1585] Checkpoint: did second phase 2021-01-11 15:28:01 +01:00
Francis Dupont
fd7bc3fba4 [#1585] Checkpoint: libdhcp tests 2021-01-11 15:28:01 +01:00
Razvan Becheriu
c1def1af89 [#1351] added documentation and updated unittests 2020-09-25 17:50:37 +02:00
Francis Dupont
50615cc9f6 [#1025] Got rid of vendor-opts-space 2020-09-21 12:52:46 +02:00
Francis Dupont
01e10ceba1 [#1007] Replaced some option spaces 2020-08-05 13:58:29 +02:00
Thomas Markwalder
151b22b5bb [#1235] Addressed review comments
src/lib/dhcp/libdhcp++.cc
src/lib/dhcp/std_option_defs.h
    Removed LQ_QUERY_OPTION_SPACE, using DHCP6_OPTION_SPACE instead

src/lib/dhcp/tests/libdhcp++_unittest.cc
    Updated unit test

src/lib/dhcpsrv/cfg_duid.*
    CfgDUID::create() - reset the internal DUID value
2020-06-16 12:06:59 -04:00
Thomas Markwalder
b567101b80 [#1235] Updated v6 option defintions, made current server_id accessible
src/lib/dhcp/libdhcp++.cc
    Added LQ_QUERY_OPTION_SPACE to encapuslate options conveyed with
    D6O_LQ_QUERY options

src/lib/dhcp/std_option_defs.h
    Revamped defintions D6O_LQ_QUERY adn D6O_CLIENT_DATA

src/lib/dhcp/tests/libdhcp++_unittest.cc
    Updated unit tests

src/lib/dhcp/tests/pkt6_unittest.cc
    TEST_F(Pkt6Test, lqQueryOption)
    TEST_F(Pkt6Test, clientDataOption)
    TEST_F(Pkt6Test, relayDataOption) - new tests

src/lib/dhcpsrv/cfg_duid.*
    CfgDUID::create() - modified to retain the created
    DUID so it can be retrieved in places other than
    than Dhcp6Srv instances, such as hook callouts.

src/lib/dhcpsrv/tests/cfg_duid_unittest.cc
    Updated unit tests.
2020-06-16 12:06:58 -04:00
Razvan Becheriu
94ac80f524 [#1151] fixed compilation warnings 2020-03-31 23:42:10 +03:00