Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature-request] Support for ISC-Kea #2118

Open
clontarfx opened this issue Apr 10, 2024 · 5 comments
Open

[feature-request] Support for ISC-Kea #2118

clontarfx opened this issue Apr 10, 2024 · 5 comments

Comments

@clontarfx
Copy link

clontarfx commented Apr 10, 2024

Internet Systems Consortium has posted notification that ISC-DHCP is no longer supported as of 2022.

Canonical has announced that ISC-Kea is being made available in Noble Numbat 24.04 as a replacement for ISC-DHCP.

Webmin should support the incoming ISC-Kea DHCP server in order to make it "feature-compatible" with upcoming Ubuntu releases. This could/should be a standard module, or a third-party module.

@jcameron
Copy link
Collaborator

Interesting, I didn't know that! Does ISC-Kea use the same config format as the old ISC-DHCPd ?

@clontarfx
Copy link
Author

ISC have provided a Kea migration tool (KeaMA) that translates ISC-DHCP to ISC-Kea working configurations.

The tool outputs JSON. This can be tested by;

Example output;

{
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #245
  "Dhcp4": {
    "valid-lifetime": 86400,
    "max-valid-lifetime": 86400,
    "authoritative": true,
//  "config": [
//    /// log-facility is not supported
//    /// Please use the KEA_LOGGER_DESTINATION environment variable instead
//    {
//      "name": "log-facility",
//      "code": 44,
//      "value": "local7"
//    }
//  ],
    "subnet4": [
      {
        "id": 1,
        "subnet": "192.168.1.0/24",
        "pools": [
          {
            "pool": "192.168.1.100 - 192.168.1.200"
          }
        ],
        "option-data": [
          {
            "space": "dhcp4",
            "name": "domain-name",
            "code": 15,
            "data": "home.ridgway.io"
          },
          {
            "space": "dhcp4",
            "name": "domain-name-servers",
            "code": 6,
            "data": "192.168.1.50, 8.8.8.8, 8.8.4.4"
          },
          {
            "space": "dhcp4",
            "name": "routers",
            "code": 3,
            "data": "192.168.1.1"
          }
        ]
      }
    ]
  }
}

@swelljoe
Copy link
Collaborator

That doesn't really solve anything for a Webmin module, which needs to read and write the native config file format.

@clontarfx
Copy link
Author

Granted, the examples were given to answer @jcameron regarding file format.

@jcameron
Copy link
Collaborator

Yeah if the config file format is different, it will take us a fair bit of work to support the new DHCP server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants