dhcp "generic" section never called
Hi, Another small dhcp issue - The DHCP config has sections for DHCP-Discover and DHCP-Request, and a generic section "dhcp { reject }" for other DHCP packets. DHCP Inform packets should be hitting this section, but are not - they are just returning a NAK. Even if this section is configured to return nothing. Adding an identical section "dhcp DHCP-Inform { ... }" stops the packets being returned. The error is "(0) WARNING: Unknown value specified for Post-Auth-Type. Cannot perform requested action." - it comes from indexed_modcallable, but I can't easily trace at the moment what should happen instead. If this is easily fixable, maybe it could go into 3.0.2; otherwise probably better to just update the config file with separate dhcp DHCP-Inform, etc sections for the different packet types for now, and go back to the generic ones after it's fixed. For some reaon, Windows seems quite chatty sending Inform packets... I don't really see it from anything else. It's not as if the network has changed since it did the original Request... Cheers Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Matthew Newton wrote:
The DHCP config has sections for DHCP-Discover and DHCP-Request, and a generic section "dhcp { reject }" for other DHCP packets.
DHCP Inform packets should be hitting this section, but are not - they are just returning a NAK. Even if this section is configured to return nothing.
There's no simple fix for that. I had tested it, and it did work. But... it looks to be harder to fix now.
If this is easily fixable, maybe it could go into 3.0.2; otherwise probably better to just update the config file with separate dhcp DHCP-Inform, etc sections for the different packet types for now, and go back to the generic ones after it's fixed.
Yes. Alan DeKok.
On Fri, Mar 14, 2014 at 09:59:37AM -0400, Alan DeKok wrote:
Matthew Newton wrote:
DHCP Inform packets should be hitting this section, but are not - they are just returning a NAK. Even if this section is configured to return nothing.
There's no simple fix for that. I had tested it, and it did work. But... it looks to be harder to fix now.
OK, I got stuck because the named dhcp sections weren't inside the unnamed dhcp section (like it would be with, say, post-auth and Post-Auth-Reject). Sounds like it's not so easy as I hoped it might be.
probably better to just update the config file with separate dhcp DHCP-Inform, etc sections for the different packet types for now,
Yes.
I've done a pull request with a few more common dhcp packet types we see (in fact, I _think_ that's all of them). cheers Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
participants (2)
-
Alan DeKok -
Matthew Newton