[RTEMS Project] #2877: DHCP client fails on complex networks

RTEMS trac trac at rtems.org
Fri Jan 20 09:33:55 UTC 2017


#2877: DHCP client fails on complex networks
----------------------------+-------------------
 Reporter:  stavros.passas  |       Owner:
     Type:  defect          |      Status:  new
 Priority:  normal          |   Milestone:  4.12
Component:  General         |     Version:  4.12
 Severity:  normal          |  Resolution:
 Keywords:  dhcp            |
----------------------------+-------------------

Comment (by stavros.passas):

 I attach a file with a proposed fix for this DHCP client. mainly what the
 fix does is extend bootp_call to be able to expect a specific message as
 response. If it receives any other message, it will just ignore it, and it
 will timeout as it is expected to do in the first place.

 Then with the extended bootp_call, I extended the dhcp client
 implementation to strictly expect a dhcp offer after a discover message
 and a DHCP ack after a request message. This way, the DHCP protocol does
 not fail if there are multiple DHCP messages on the network and it will
 finish successfully a DHCP handshake even when multiple messages are
 received from our client.

--
Ticket URL: <http://devel.rtems.org/ticket/2877#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list