Project

General

Profile

Bug #9710

IPv6 RA: prefix option does not contain router address in spite of "R" flag being set

Added by Tim Wolter 11 months ago. Updated 19 days ago.

Status:
Feedback
Priority:
Normal
Category:
IPv6 Router Advertisements (RADVD)
Target version:
Start date:
08/30/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4-p3
Affected Architecture:

Description

When setting router mode to "unmanaged" and not specifying any prefix, pfSense does not send the advertising interface's address in the RA's prefix option even though the "R" flag is being set. Instead it only announces the prefix, with all host bits set to zero. This is in violation of RFC 6275, which states on page 65 regarding the "R" flag: "When set, indicates that the Prefix field contains a complete IP address assigned to the sending router."

The cause of the issue seems to be /var/etc/radvd.conf, which contains the improper configuration of said RA messages.

RA_router_mode.pcap (230 Bytes) RA_router_mode.pcap Tim Wolter, 08/30/2019 10:31 AM

Associated revisions

Revision 039ba57a (diff)
Added by Viktor Gurov 20 days ago

Complete IPv6 router address in radvd.conf prefix. Issue #9710

History

#1 Updated by Viktor Gurov 5 months ago

I also found that 'AdvRouterAddr on' is used everywhere in radvd.conf, but this is incorrect (radvd.conf(5)):
When set, indicates that the address of interface is sent instead of network prefix, as is required by Mobile IPv6. When set, minimum limits specified by Mobile IPv6 are used for MinRtrAdvInterval and MaxRtrAdvInterval.

or is it some kind of workaround?

fix:
https://github.com/pfsense/pfsense/pull/4199

#2 Updated by Renato Botelho 5 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Renato Botelho
  • Target version set to 2.5.0

#3 Updated by Renato Botelho 19 days ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Also available in: Atom PDF