bschirrmeister / docsis_server

docsis_server
GNU General Public License v2.0
19 stars 10 forks source link

Arris-CM-DHCP-Options not completely read #1

Open bschirrmeister opened 11 years ago

bschirrmeister commented 11 years ago

Arris CM sends DHCP-Request with several Padding-Bytes (DHCP-Option 0) that causes the Function "DecodeOptions" to quit.

            case 0x00:
                    flag = 0;
                    break;

The easiest way would be to comment that out. But this needs further investigation.

I'll have a Look at this in the next couple of days.

bschirrmeister commented 11 years ago

After having a look into the RFCs related to DHCP this seems to be a bug, as the process ends if there are padding-bytes in the dhcp-request.

The RFC https://tools.ietf.org/html/rfc1497 doesn't say that they are only allowed to occour at the End of the Options-Field.