Project

General

Profile

Actions

Bug #853

closed

If used with the proxy, the dhcpd server is open for connections from any server

Added by Marcello de Sousa over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DHCP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When using :

omapi-port 7911;

The dhcpd api server will listen to any host. You might need to add something like this to provide basic security:

key omapi_key {
algorithm HMAC-MD5;
secret "XXXXXXXXX";
};
omapi-key omapi_key;

At first sight, it looks logic to me that the foreman's "subnet" settings should get an extra field "omapi_key".
If that field is not empty, "foreman-proxy/lib/proxy/dhcp/server/isc.rb" should issue an extra command ("OMSHELL key omapi_key XXXXXXXXX") when connecting to the dhcpd server.


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #947: Foreman UI doesn't report omapi_key error properlyNewActions
Actions

Also available in: Atom PDF