Hello,
After upgrading from 3.0.3 to 3.2.0 I started seeing the following warning in
my logs:
Jun 24 22:40:21 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socket
Jun 24 22:40:21 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socket
Jun 24 22:40:31 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socket
Jun 24 22:40:38 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socket
Jun 24 22:40:41 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socket
Jun 24 22:40:50 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socket
Jun 24 22:40:50 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socket
Jun 24 22:40:50 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socket
Jun 24 22:40:51 dns01.redacted.net kea-dhcp4[769057]: WARN
DHCP_RECEIVE4_UNKNOWN Received data over unknown socketJun 24 22:41:01
dns01.redacted.net kea-dhcp4[769057]: WARN DHCP_RECEIVE4_UNKNOWN Received data
over unknown socket
...
It appears that the warning is triggered by the Stork Agent connection. The
"control-sockets", "loggers" and the Stork Agent configurations did not change
between versions:
...
"control-sockets": [
{
"socket-type": "http",
"socket-address": "127.0.0.1",
"socket-port": 8000,
"authentication": {
"type": "basic",
"realm": "kea-dhcpv4-server",
"directory": "/etc/kea/auth",
"clients": [
{
"user-file": "stork-agent.user",
"password-file": "stork-agent.passwd"
}
]
}
},...
"loggers": [
{ "name": "kea-dhcp4",
"severity": "WARN",
"debuglevel": 0,
"output-options": [ { "output": "stdout", "pattern": "%-5p %m\n" } ]
},
{
"name": "kea-dhcp4.bad-packets",
"severity": "INFO",
"output-options": [
{
"output": "/var/log/kea/kea-dhcp4.bad-packets.log",
"pattern": "%D{%Y-%m-%d %H:%M:%S.%q} %-5p %m\n",
"maxsize": 10240000,
"maxver": 5
}
...
The only way I was able to silence the warning while keeping the "kea-dhcp4" in
WARN was to add the following to loggers:
{
"name": "dhcp",
"severity": "ERROR"
},
Is this "new" behaviour expected or is there something else amiss in my
configuration for v3.2.0?
Thanks,
Mathieu.--
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]