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