radvd-project / radvd

radvd | Official repository: https://github.com/radvd-project/radvd
https://radvd.litech.org/
Other
203 stars 107 forks source link

Strict checking for link-local address #17

Closed danrl closed 10 years ago

danrl commented 10 years ago

RFC 4291 requires that link-local addresses are within fe80::/64 even if the link-local prefix is fe80::/10.

RFC 4291 IP Version 6 Addressing Architecture 2.5.6. Link-Local IPv6 Unicast Addresses

 Link-Local addresses are for use on a single link.  Link-Local
 addresses have the following format:

 |   10     |
 |  bits    |         54 bits         |          64 bits           |
 +----------+-------------------------+----------------------------+
 |1111111010|           0             |       interface ID         |
 +----------+-------------------------+----------------------------+
reubenhwk commented 10 years ago

Hi Dan,

This looks good. I'll review it a bit more closely over the next few days but will likely apply the change as is.

Thanks, Reuben

On Sun, Jan 12, 2014 at 10:43 AM, Dan Luedtke notifications@github.comwrote:

RFC 4291 requires that link-local addresses are within fe80::/64 even if the link-local prefix is fe80::/10.

RFC 4291 IP Version 6 Addressing Architecture 2.5.6. Link-Local IPv6 Unicast Addresses

Link-Local addresses are for use on a single link. Link-Local addresses have the following format:

| 10 | | bits | 54 bits | 64 bits | +----------+-------------------------+----------------------------+ |1111111010| 0 | interface ID | +----------+-------------------------+----------------------------+


You can merge this Pull Request by running

git pull https://github.com/danrl/radvd radvd-2

Or view, comment on, or merge it at:

https://github.com/reubenhwk/radvd/pull/17 Commit Summary

  • Strict checking for link-local address

File Changes

  • M device-common.chttps://github.com/reubenhwk/radvd/pull/17/files#diff-0(2)

Patch Links:

— Reply to this email directly or view it on GitHubhttps://github.com/reubenhwk/radvd/pull/17 .

reubenhwk commented 10 years ago

Changes applied and pushed to the radvd-2 branch (also releases as 2.0.0-alpha).

On Mon, Jan 13, 2014 at 9:46 PM, Reuben Hawkins reubenhwk@gmail.com wrote:

Hi Dan,

This looks good. I'll review it a bit more closely over the next few days but will likely apply the change as is.

Thanks, Reuben

On Sun, Jan 12, 2014 at 10:43 AM, Dan Luedtke notifications@github.comwrote:

RFC 4291 requires that link-local addresses are within fe80::/64 even if the link-local prefix is fe80::/10.

RFC 4291 IP Version 6 Addressing Architecture 2.5.6. Link-Local IPv6 Unicast Addresses

Link-Local addresses are for use on a single link. Link-Local addresses have the following format:

| 10 | | bits | 54 bits | 64 bits | +----------+-------------------------+----------------------------+ |1111111010| 0 | interface ID | +----------+-------------------------+----------------------------+


You can merge this Pull Request by running

git pull https://github.com/danrl/radvd radvd-2

Or view, comment on, or merge it at:

https://github.com/reubenhwk/radvd/pull/17 Commit Summary

  • Strict checking for link-local address

File Changes

  • M device-common.chttps://github.com/reubenhwk/radvd/pull/17/files#diff-0(2)

Patch Links:

— Reply to this email directly or view it on GitHubhttps://github.com/reubenhwk/radvd/pull/17 .