<div dir="ltr">Hi Kea team,<div><br></div><div>I was hoping to get some info on KEA server behaviour with respect to DHCP offer. while sending the offer KEA server always sends the options in ascending order rather starting with options of message type 53. Is there any reason for this? RFC doesnt mandate anything on these lines. while majority of the DHCP servers does send offer with option 53 why is that only KEA server sends with ascending order? </div><div><br></div><div>same has been discussed here:</div><div><br></div><div><a href="https://github.com/isc-projects/kea/blob/master/ChangeLog" target="_blank">https://github.com/isc-projects/kea/blob/master/ChangeLog</a><br></div><div><br></div><div><table style="border-collapse:collapse;border-spacing:0px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="gmail-m_-5173707169863562587gmail-LC2619" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-size:12px;overflow:visible;white-space:pre-wrap">1507.    [func]          tmark</td></tr><tr style="box-sizing:border-box;background-color:transparent"><td id="gmail-m_-5173707169863562587gmail-L2620" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2620" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-size:12px;overflow:visible;white-space:pre-wrap">      kea-dhcp4 now ensures that the message type option (53) is</td></tr><tr style="box-sizing:border-box"><td id="gmail-m_-5173707169863562587gmail-L2621" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2621" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-size:12px;overflow:visible;white-space:pre-wrap">      the first option in outbound DHCPv4 packets.  This was done</td></tr><tr style="box-sizing:border-box;background-color:transparent"><td id="gmail-m_-5173707169863562587gmail-L2622" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2622" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-size:12px;overflow:visible;white-space:pre-wrap">        to accommodate non-compliant clients that require the option</td></tr><tr style="box-sizing:border-box"><td id="gmail-m_-5173707169863562587gmail-L2623" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2623" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-size:12px;overflow:visible;white-space:pre-wrap">    to be first.</td></tr><tr style="box-sizing:border-box;background-color:transparent"><td id="gmail-m_-5173707169863562587gmail-L2624" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2624" style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-size:12px;overflow:visible;white-space:pre-wrap">       (Gitlab #363,!177, git 34f40035bf7a7849083138cacee440a9f0991d67)<br></td></tr></tbody></table></div><div><div><br></div><div><div>what does it mean by non compliant clients? since there is no RFC mandate around the options ordering would KEA be sending it with DHCP offer of 53 which is the right behaviour? </div><font color="#888888">--<br><div dir="ltr"><div dir="ltr"><font size="2">Thanks,<br>Richard Michael,</font><br></div><div><font size="2">CCIE, VCP, Devnet.</font></div></div></font></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 29, 2021 at 3:40 PM Richard Michael <<a href="mailto:richarz87@gmail.com">richarz87@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Kea team,<div><br></div><div>I was hoping to get some info on KEA server behaviour with respect to DHCP offer. while sending the offer KEA server always sends the options in ascending order rather starting with options of message type 53. Is there any reason for this? RFC doesnt mandate anything on these lines. while majority of the DHCP servers does send offer with option 53 why is that only KEA server sends with ascending order? </div><div><br></div><div>same has been discussed here:</div><div><br></div><div><a href="https://github.com/isc-projects/kea/blob/master/ChangeLog" target="_blank">https://github.com/isc-projects/kea/blob/master/ChangeLog</a><br></div><div><br></div><div><table style="border-collapse:collapse;border-spacing:0px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="gmail-m_-5173707169863562587gmail-LC2619" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;overflow:visible;white-space:pre-wrap">1507.   [func]          tmark</td></tr><tr style="box-sizing:border-box;background-color:transparent"><td id="gmail-m_-5173707169863562587gmail-L2620" style="box-sizing:border-box;padding:0px 10px;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2620" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;overflow:visible;white-space:pre-wrap">      kea-dhcp4 now ensures that the message type option (53) is</td></tr><tr style="box-sizing:border-box"><td id="gmail-m_-5173707169863562587gmail-L2621" style="box-sizing:border-box;padding:0px 10px;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2621" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;overflow:visible;white-space:pre-wrap">      the first option in outbound DHCPv4 packets.  This was done</td></tr><tr style="box-sizing:border-box;background-color:transparent"><td id="gmail-m_-5173707169863562587gmail-L2622" style="box-sizing:border-box;padding:0px 10px;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2622" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;overflow:visible;white-space:pre-wrap">        to accommodate non-compliant clients that require the option</td></tr><tr style="box-sizing:border-box"><td id="gmail-m_-5173707169863562587gmail-L2623" style="box-sizing:border-box;padding:0px 10px;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2623" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;overflow:visible;white-space:pre-wrap">    to be first.</td></tr><tr style="box-sizing:border-box;background-color:transparent"><td id="gmail-m_-5173707169863562587gmail-L2624" style="box-sizing:border-box;padding:0px 10px;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:56.125px"></td><td id="gmail-m_-5173707169863562587gmail-LC2624" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;overflow:visible;white-space:pre-wrap">       (Gitlab #363,!177, git 34f40035bf7a7849083138cacee440a9f0991d67)<br></td></tr></tbody></table></div><div><div><br></div><div><div>what does it mean by non compliant clients? since there is no RFC mandate around the options ordering would KEA be sending it with DHCP offer of 53 which is the right behaviour? </div>-- <br><div dir="ltr"><div dir="ltr"><font size="2">Thanks,<br>Richard Michael,</font><br></div><div><font size="2">CCIE, VCP, Devnet.</font></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font size="2">Thanks,<br>Richard Michael</font><br></div></div>