2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 01:49:48 +00:00

1417 Commits

Author SHA1 Message Date
Wlodek Wencel
880885d139 [#3737] configure version bump up, platforms list updated 2025-01-29 20:28:08 +01:00
Doug Freed
22554581a8 [#3697] Error in configure if autoreconf needed for premium hooks
This ensures that configure will find the premium hooks if they exist,
or error if autoreconf needs to be run again to pick up the hooks'
additions to configure.
2025-01-22 16:59:03 +00:00
Thomas Markwalder
1e6f4b4aa3 [#3663] Add ddns ttl columns to pgsql schema
src/share/database/scripts/pgsql/upgrade_027_to_028.sh.in
        new file - adds ddns-ttl* columns to network and subnet tables

    src/bin/admin/tests/pgsql_tests.sh.in
        pgsql_upgrade_27_to_28_test() - new test

    src/lib/pgsql/pgsql_connection.h
       schema version bump

    configure.ac
    src/share/database/scripts/pgsql/.gitignore
    src/share/database/scripts/pgsql/Makefile.am
        added new upgrade file

    src/share/database/scripts/pgsql/dhcpdb_create.pgsql
        Add ddns-ttl* columns to network and subnet tables
2024-12-16 10:31:44 -05:00
Thomas Markwalder
b77a66e23a [#3663] Add ddns ttl columns to mysql schema
src/share/database/scripts/mysql/upgrade_027_to_028.sh.in
    new file

src/bin/admin/tests/mysql_tests.sh.in
    mysql_upgrade_27_to_28_test() - new test

src/lib/mysql/mysql_constants.h
   schema version bump

configure.ac
src/share/database/scripts/mysql/.gitignore
src/share/database/scripts/mysql/Makefile.am
    added new upgrade file

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Add ddns-ttl* columns to network and subnet tables
2024-12-16 10:29:10 -05:00
Marcin Godzina
f4a25f1776 [#3691] bump version in configure.ac 2024-12-11 17:36:49 +00:00
Thomas Markwalder
09c3b5aa68 [#3592] Update schemas
src/share/database/scripts/mysql/upgrade_026_to_027.sh.in
src/share/database/scripts/pgsql/upgrade_026_to_027.sh.in
    - new upgrade scripts

configure.ac
src/share/database/scripts/mysql/.gitignore
src/share/database/scripts/mysql/Makefile.am
src/share/database/scripts/pgsql/.gitignore
src/share/database/scripts/pgsql/Makefile.am
    added new upgrade scripts

src/bin/admin/tests/mysql_tests.sh.in
    updated
    mysql_upgrade_26_to_27_test()  - new test

src/bin/admin/tests/pgsql_tests.sh.in
    updated
    pgsql_upgrade_26_to_27_test() - new test

src/lib/mysql/mysql_constants.h
src/lib/pgsql/pgsql_connection.h
    updated schema version

src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    change client_class columns
2024-11-26 17:19:56 +00:00
Wlodek Wencel
4842d435c6 [#3650] configure.ac version bumped up 2024-10-30 19:16:52 +01:00
Andrei Pavel
a96168e762
[#3605] Integrate a new fuzzing solution in Kea
The solution is based on clusterfuzzlite, libfuzzer, and oss-fuzz
technologies.

- Add the .clusterfuzzlite directory.
- Add the fuzz CI stage and fuzzing CI jobs.
- Add the fuzzing targets in the fuzz directory.
- Document fuzzing in doxygen.
2024-10-23 16:40:31 +03:00
Andrei Pavel
58d4caa865
[#3605] Prepare existing code for fuzzing
- Separate ENABLE_AFL into ENABLE_FUZZING and HAVE_AFL.
- Add the --disable-unicode flag required in the oss-fuzz container.
- Add checking of support for C++17.
- Make Kea compile with afl++.
- Rotate ports in `getServerPort()` functions under an env var.
- Fix some destruction issues that would result in crashes when fuzzing.
- Add some checks in the UnixControlClient that prevent some crashes when fuzzing.
- Add `isc::util::isSocket()` function.
- Change `isc::util::file::Path` to not append a trailing slash to allow
  chained calls of `parentPath()`.
- Add `isc::util::file::TemporaryDirectory` useful when fuzzing.
2024-10-23 16:37:31 +03:00
Razvan Becheriu
0f298df150 [#3351] use execve to silence valgrind on child exit 2024-10-17 22:01:29 +03:00
Thomas Markwalder
e332d8baca [#3583] add client_classes to option tables
/src/share/database/scripts/mysql/upgrade_025_to_026.sh.in
/src/share/database/scripts/pgsql/upgrade_025_to_026.sh.in
    - new files

/src/share/database/scripts/mysql/dhcpdb_create.mysql
/src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    - adds client_classes to option tables

/configure.ac
/src/share/database/scripts/mysql/.gitignore
/src/share/database/scripts/mysql/Makefile.am
/src/share/database/scripts/pgsql/.gitignore
/src/share/database/scripts/pgsql/Makefile.am
    - added new upgrade files

/src/bin/admin/tests/pgsql_tests.sh.in
/src/bin/admin/tests/mysql_tests.sh.in
    - Updated for new schema 26

/src/lib/mysql/mysql_constants.h
/src/lib/pgsql/pgsql_connection.h
     Updated schema version
2024-10-15 13:51:57 -04:00
Francis Dupont
78737d8786 [#3552] Updated Botan support 2024-10-11 15:20:20 +02:00
Razvan Becheriu
3f1df22e6a [#3536] merge mysql and pgsql hooks 2024-10-03 21:04:37 +03:00
Marcin Godzina
39625d2b58 [#3604] Bump up version in configure.ac to 2.7.4 2024-09-25 17:10:27 +00:00
Francis Dupont
4962fd79f5 [#3477] Added missing shell tests 2024-09-20 13:46:27 +02:00
Francis Dupont
00bd97eb02 [#3477] Checkpoint: added d2 shell tests 2024-09-20 13:46:27 +02:00
Razvan Becheriu
a990059c71 [#3536] addressed review comments 2024-09-16 13:31:01 +00:00
Razvan Becheriu
379ec3ec0a [#3536] moved from lib to hooks 2024-09-16 13:31:01 +00:00
Razvan Becheriu
09a17d0d8d [#3536] move lease and host backends 2024-09-16 13:31:01 +00:00
Francis Dupont
c6cb1c76af [#1387] Synchronized upgrade scripts 2024-09-04 15:10:45 +02:00
Andrei Pavel
3fa6eb96ce
[#3564] Bump up version in configure.ac to 2.7.3 2024-08-28 13:33:26 +03:00
Andrei Pavel
f5d04e6be6
[#3550] AC_PROG_LN_S and ChangeLog entry 2024-08-26 16:36:50 +03:00
Andrei Pavel
883de2dc70
[#3524] workaround for silent rules being ignored in automake 1.17
Also remove all the few other trailing `dnl`s just to be safe.
2024-08-22 15:35:18 +03:00
Francis Dupont
3267106721 [#3490] Moved to http/testutils 2024-08-08 19:39:03 +00:00
Wlodek Wencel
dea8b45959 [#3526] updated version in configure.ac 2024-07-31 12:30:36 +02:00
Thomas Markwalder
315d2f9867 [#3476] Correct option def data type enum overlap
new files:
    src/share/database/scripts/mysql/upgrade_023_to_024.sh.in
    src/share/database/scripts/pgsql/upgrade_023_to_024.sh.in

configure.ac
    Added new upgrade files

    src/share/database/scripts/mysql/upgrade_023_to_024.sh
    src/share/database/scripts/pgsql/upgrade_023_to_024.sh

src/bin/admin/kea-admin.in
    mysql_upgrade()
    pgsql_upgrade() - now sort scripts numerically

src/bin/admin/tests/mysql_tests.sh.in
    mysql_upgrade_23_to_24_test() - new test function
    mysql_upgrade_test() - updated version check

src/bin/admin/tests/pgsql_tests.sh.in
    pgsql_db_version_test() - updated version check
    pgsql_upgrade_23_to_24_test()  - new test function

src/lib/dhcp/option_data_types.h
    Set explicit values for OPT_RECORD_TYPE and OPT_UKNOWN_TYPE

src/lib/dhcp/tests/option_definition_unittest.cc
    TEST(OptionDataTypeUtil, typeToString)
    TEST(OptionDataTypeUtil, stringToType) - new tests

src/lib/mysql/mysql_constants.h
    Updated schema version to 24.0

src/lib/pgsql/pgsql_connection.h
    Updated schema version to 24.0

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Added option_def_data_type table creation

src/share/database/scripts/mysql/dhcpdb_drop.mysql
    Added option_def_data_type table drop

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    Added option_def_data_type table creation

src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    Added option_def_data_type table drop
2024-07-18 11:17:41 -04:00
Marcin Godzina
7d862a067c [#3468] bump up version to 2.7.1 2024-06-26 11:59:15 +00:00
Marcin Siodelski
a52bf68db9 [#3246] Do not delete soft released leases 2024-06-19 12:34:18 +02:00
Razvan Becheriu
f477e8ebcc [#3450] make kea environment available to lfc 2024-06-17 16:02:09 +03:00
Andrei Pavel
0705720ed2
[#3438] bump up version to 2.7.0 2024-05-29 12:47:50 +03:00
Andrei Pavel
37ff385e17
[#3431] release changes 2024-05-24 17:22:24 +03:00
Razvan Becheriu
ef732b43b5 [#2958] add upgrade script 2024-05-22 19:05:30 +03:00
Thomas Markwalder
fef41fcf0e [#3396] Moved column alters to new schema 22
configure.ac
    Added mysql/upgrade_019_to_020.sh

src/bin/admin/tests/mysql_tests.sh.in
    Updated, adjusted for version check

src/lib/mysql/mysql_constants.h
    Bumped schema version to 22

src/share/database/scripts/mysql/.gitignore
    upgrade_019_to_020.sh

src/share/database/scripts/mysql/dhcpdb_create.mysql
    Moved expire column statements into version 22 update section

src/share/database/scripts/mysql/upgrade_020_to_021.sh.in
    Removed expire column updates

src/share/database/scripts/mysql/upgrade_020_to_021.sh.in
    New file, modifies expire columns
2024-05-21 13:58:34 -04:00
Thomas Markwalder
b324d5bea0 Resolve "kea-dhcp4 and 6: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version." 2024-05-10 14:58:09 +00:00
Wlodek Wencel
25523912ac [#3365] bump up version in configure.ac 2024-04-30 18:29:31 +02:00
Andrei Pavel
e6631d58aa
[#3254] 'premium: no' in version when missing 2024-04-24 15:25:01 +03:00
Andrei Pavel
677f8a8f0e
[#3254] consistent version output across executables
- replace VERSION with PACKAGE_VERSION in src/bin/admin to avoid
  overlap with VERSION used in src/share/database.
- add -V to kea-admin
- add -V to kea-shell
- add -V to keactrl
- add -V to perfdhcp
- removed getVersionAddendum from d2 and added the openssl version to
  the output of other process versions since it's not only used by d2
- make all -V outputs consistent. Some are showing only core version and
  are missing premium version which is fine since they are the
  executables that don't have something to do with premium directly
  anyway.
2024-04-24 15:23:48 +03:00
Andrei Pavel
a764025dfd
[#3254] show premium source in extended version 2024-04-24 15:23:48 +03:00
Andrei Pavel
11d636c074
[#3254] show premium source in config report 2024-04-24 15:23:48 +03:00
Thomas Markwalder
f04c101f64 [#2957] Fix dhcp4_server_modification_ts index
src/share/database/scripts/pgsql/upgrade_020_to_021.sh.in
    - new file, corrects dhcp4_server_modifcation_ts index

configure.ac
    added src/share/database/scripts/pgsql/upgrade_020_to_021.sh

src/bin/admin/tests/pgsql_tests.sh.in
    Added pgsql_upgrade_20_to_21_test()

src/lib/pgsql/pgsql_connection.h
    Updated schema version

src/share/database/scripts/pgsql/.gitignore
src/share/database/scripts/pgsql/Makefile.am
    Added upgrade_020_to_021.sh

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    Added correction of dhcp4_server_modifcation_ts index
2024-04-22 11:24:32 +00:00
Razvan Becheriu
027674fa54 [#3316] fixed doxygen 2024-04-03 23:11:45 +03:00
Marcin Godzina
348d5b0828 [#3313] bump version in configure.ac to 2.5.8 2024-03-26 17:00:52 +00:00
Andrei Pavel
260ad292e8
[#3210] refactor string utilities
- Rename util/strutil.h to util/str.h to escape redundancy.
- Simplify trim function.
- Remove unused functions.
- Get rid of the regex conditional compilation that helped Kea build
  with ancient compilers. Lack of proper regex functionality now results
  in failure in configure.ac.
2024-03-21 18:30:04 +02:00
Razvan Becheriu
0e811f7805 [#3208] restore unittests 2024-03-07 22:47:25 +02:00
Andrei Pavel
8c1f22e3fb
[#3271] bump version in configure.ac to 2.5.7 2024-02-27 20:55:08 +02:00
Thomas Markwalder
7202da7530 [#3242] Added bare-bones perfmon hook library
New files:
    arm/hooks-perfmon.rst
	src/hooks/dhcp/perfmon/.gitattributes
	src/hooks/dhcp/perfmon/.gitignore
	src/hooks/dhcp/perfmon/Makefile.am
	src/hooks/dhcp/perfmon/libloadtests/.gitignore
	src/hooks/dhcp/perfmon/libloadtests/Makefile.am
	src/hooks/dhcp/perfmon/libloadtests/load_unload_unittests.cc
	src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc
	src/hooks/dhcp/perfmon/perfmon.dox
	src/hooks/dhcp/perfmon/perfmon_callouts.cc
	src/hooks/dhcp/perfmon/perfmon_log.cc
	src/hooks/dhcp/perfmon/perfmon_log.h
	src/hooks/dhcp/perfmon/perfmon_messages.cc
	src/hooks/dhcp/perfmon/perfmon_messages.h
	src/hooks/dhcp/perfmon/perfmon_messages.mes
	src/hooks/dhcp/perfmon/tests/.gitignore
	src/hooks/dhcp/perfmon/tests/Makefile.am
	src/hooks/dhcp/perfmon/tests/run_unittests.cc
	src/hooks/dhcp/perfmon/version.cc

Modified:
	configure.ac
	arm/hooks-perfmon.rst
	arm/hooks.rst
	arm/logging.rst
	arm/rst_arm_sources.mk
	conf.py
	src/hooks/dhcp/Makefile.am
2024-02-16 17:51:25 +00:00
Wlodek Wencel
6626e68696 [#3240] version in configure.ac changed to 2.5.6-git 2024-01-31 12:34:04 +01:00
Francis Dupont
02a49c0e7d [#3149] Added a new index 2024-01-17 09:48:36 +01:00
Francis Dupont
93c47dba3d [#3168] Removed old RADIUS 2023-12-14 14:48:11 +01:00
Andrei Pavel
7fcc501f85
[#3177] bump up configure.ac version to 2.5.5-git 2023-11-29 17:45:48 +02:00