Wired driver always binding to port 67

Selim Sahin sel300110 at gmail.com
Thu Feb 16 07:48:10 PST 2023


Hello,

I want to use hostapd as a 802.1x authenticator (EAP) on a wired
network. But when using the wired driver it is binding to port 67 and
there doesn't seem to be a way to configure this.
(https://w1.fi/cgit/hostap/tree/src/drivers/driver_wired.c#n247)
It's conflicting with the DHCP server (on another daemon) running on
the same interface I need to have the authenticator on.
Is there a way to change this and why is it binding to port 67 ? I
don't understand why it's binding 2 sockets (common_sock and
dhcp_sock) as I don't need any dhcp feature activated. Also I tried to
change "dhcp_server_port" and "dhcp_relay_port" but it doesn't change
anything as the value 67 is hard coded on the driver socket
initialization.

Thanks for your help
Selim,



More information about the Hostap mailing list