Re: [Kea-users] ignoring DHCP-Requests which have set the BROADCAST flag

2020-06-03 Thread Francis Dupont
Stefan Berger writes: > is it possible to drop or ignore DHCP-Requests from clients which have set th > e BROADCAST-Flag? (0x8000) => I can see at least two easy ways: use a firewall (the flag is at a fixed offset so trivial to find) or write a hook for Kea (install it at the pkt4_receive callout

Re: [Kea-users] PostgreSQL Logging

2020-06-03 Thread Asghar Hussain
Joshua/Francis, Thanks for the confirmation and explanation. I will try this out with rsyslogd. Error correlation is very important for me. -Asghar On Wed, Jun 3, 2020 at 1:30 PM Joshua Schaeffer wrote: > > > On 6/3/20 9:27 AM, Asghar Hussain wrote: > > Francis, > > Thanks for the reply. To

Re: [Kea-users] PostgreSQL Logging

2020-06-03 Thread Joshua Schaeffer
On 6/3/20 9:27 AM, Asghar Hussain wrote: > Francis, > > Thanks for the reply. To be specific, can the DHCP log entries (including > information and errors) that are populated in > /usr/local/var/log/kea-dhcp4.log be sent to PostGRE (or another DB)? Yes, but this is completely outside the

Re: [Kea-users] PostgreSQL Logging

2020-06-03 Thread Asghar Hussain
Francis, Thanks for the reply. To be specific, can the DHCP log entries (including information and errors) that are populated in /usr/local/var/log/kea-dhcp4.log be sent to PostGRE (or another DB)? -Asghar On Tue, Jun 2, 2020 at 4:57 PM Francis Dupont wrote: > Asghar Hussain writes: > > For

[Kea-users] Different logging time in dhcp4 log and ctrl-agent log

2020-06-03 Thread Marcin Romanowski
I have different time log on agnets: 2020-06-03 *14:00:05*.755 INFO [kea-ctrl-agent.ctrl-agent/10744] CTRL_AGENT_COMMAND_FORWARDED command config-write successfully forwarded to the service dhcp4 20.06.03 *12:00:05*.611 INFO [kea-dhcp4.dhcpsrv/10736] DHCPSRV_PGSQL_HOST_DB_READONLY PostgreSQL

[Kea-users] Kea HA

2020-06-03 Thread Marcin Romanowski
Hello, I try to run high-availability https://downloads.isc.org/isc/kea/1.6.2/doc/html/arm/hooks.html#ha-high-availability I my config I added: { "Dhcp4": { "hooks-libraries": [{ "library": "/opt/kea/lib/kea/hooks/libdhcp_lease_cmds.so", "parameters": { } }, {

[Kea-users] ignoring DHCP-Requests which have set the BROADCAST flag

2020-06-03 Thread Stefan Berger
Hi all, is it possible to drop or ignore DHCP-Requests from clients which have set the BROADCAST-Flag? (0x8000) For Example - ethertype 802.1Q, vlan 101, p 0, ethertype IPv4, (tos 0xc0, ttl 64, id 49089, offset 0, flags [none], proto UDP (17), length 338) 0.0.0.0.bootpc >