EvilEzh wrote:
1. As i understand responses is hardcoded(preset) to discover and
request. DHCP-Message-Type = ... in config file is ignored,
It *should* pay attention to DHCP-Message-Type. If not, patches are
welcome.
i'm not strong with c programming and patching. So i can only suggest :(
in dhcpd.c i think code:
case: RLM_MODULE_UPDATED:
there is some code that sets response type.
maybe put before (if (req......) , some code that verify if
DHCP-Message-Type from relay is set then
request->replay->code = information from update relay ... otherwise as in
code.
4. couldn't find out why, but packet incoming from real ip addresses to
broadcast are ignored. 0.0.0.0 -> 255.255.255.255 - processed, 10.1.0.3
-> 255.255.255.255 - ignored.
I think it's a kernel thing.
btw .. i've idea, maybe problem is that eth1 client network is 10.10.1.0/24
. But i've ip address bind on this interface 10.2.0.15 (10.2.0.15/24). Will
test.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html