Page MenuHomeVyOS Platform

Add options for DHCPD OMAPI
Closed, WontfixPublicFEATURE REQUEST


Originally, "reset dhcp" commands worked by mangling the leases file. This is fragile and inconvenient.

DHCPD provides OMAPI, an API for managing its state, and omcmd/omshell client commands. The only problem is that it cannot limit access to it by source interface.
Apparently the only solution is to automatically insert iptables rules based on options.

I suggest this default configuration:

dhcp-server {
  omapi {
    port 7911
    allowed-interface lo


Difficulty level
Hard (possibly days)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Unspecified (please specify)

Related Objects

WontfixFEATURE REQUESTdmbaturin

Event Timeline

dmbaturin triaged this task as Normal priority.Sep 9 2018, 6:41 PM
dmbaturin created this task.
zsdc changed Difficulty level from Unknown (require assessment) to Hard (possibly days).Mar 11 2021, 6:51 PM
zsdc set Is it a breaking change? to Behavior change.

Even in the latest ISC DHCPD, OMAPI still can't remove leases, so the issue is moot so far—adding options for OMAPI configuration wouldn't let us do what we wanted to do.

dmbaturin removed a project: VyOS 1.4 Sagitta.
dmbaturin set Issue type to Unspecified (please specify).

VyOS 1.5 will use Kea, while ISC DHCP is completely abandoned now and there's no hope this will be fixed.