[FS#3600] [odhcp6c] prefix exclude sanity check fails for prefix length > 64 (Attachment added)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Jan 28 14:24:18 EST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - oofnikj (oofnikj) 

Attached to Project - OpenWrt/LEDE Project
Summary - [odhcp6c] prefix exclude sanity check fails for prefix length > 64
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - odhcp6c fails to request a delegated prefix when the server returns an excluded prefix of length > 64.

According to [[https://tools.ietf.org/html/rfc6603#section-4.2|RFC 6603]]:

>   o  prefix-len: The length of the excluded prefix in bits.  The
prefix-len MUST be between 'OPTION_IAPREFIX prefix-length'+1 and
128.

However, values for excluded prefix length > 64 fail sanity, resulting in odhcp6c dropping the PD from the request.

The following patch fixes the issue.

One or more files have been attached.

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3600

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list