• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

READMED22-Nov-2023620 2113

lease.access.patchD22-Nov-202316.4 KiB579532

README

1Hello,
2
3For some specific application I needed to deny access to a MAC address
4to a lease. For this reason I modified the dhcp-script behavior and is
5called with an extra parameter "access" once a dhcp request or discover
6is received. In that case if the exit code of the script is zero,
7dnsmasq continues normally, and if non-zero the packet is ignored.
8
9This was not added as a security feature but as a mean to handle
10differently some addresses. It is also quite intrusive since it requires
11changes in several other subsystems.
12
13It attach the patch in case someone is interested.
14
15regards,
16Nikos
17
18nmav@gennetsa.com
19
20
21