Re: [Ryu-devel] Possible bugs in dhcp parser

2015-09-03 Thread FUJITA Tomonori
On Mon, 31 Aug 2015 11:35:10 -0400 A Sydney wrote: > Questions: > > 1. Based on your reply, if "_MIN_LEN" is set to 1, the parser should crash. > However, that is not the case. In fact, I am able to obtain the dhcp header > just fine. Sorry, I didn't clearly explain. _MIN_LEN tells other proto

Re: [Ryu-devel] Possible bugs in dhcp parser

2015-08-31 Thread A Sydney
Thank you so much for your reply. Please see inline comments below: On Sun, Aug 30, 2015 at 8:52 AM, FUJITA Tomonori < [email protected]> wrote: > Hi, thanks for the report! > > On Fri, 28 Aug 2015 16:52:41 -0400 > A Sydney wrote: > > > ... > > > > 3. Action: > > > > I added the foll

Re: [Ryu-devel] Possible bugs in dhcp parser

2015-08-30 Thread FUJITA Tomonori
Hi, thanks for the report! On Fri, 28 Aug 2015 16:52:41 -0400 A Sydney wrote: > I believe I have found a bug in the parser and have provided a possible fix > below. In addition, I believe there may be a second bug. I would > appreciate your feedback on both. > > The text at the bottom of the

[Ryu-devel] Possible bugs in dhcp parser

2015-08-28 Thread A Sydney
Hi Ryu folks, I'm attempting to write a controller application which needs to extract the DHCP header from a packet-in using the dhcp parser in Ryu. I believe I have found a bug in the parser and have provided a possible fix below. In addition, I believe there may be a second bug. I