blob: fc66bdf3b3476468616c65543e475c038c09ad6b [file] [log] [blame]
Simon Kelley73a08a22009-02-05 20:28:08 +00001Hello,
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