Project

General

Profile

Actions

Regression #11594

closed
VG VG

IPv6 routes with a prefix length of 128 result in an invalid route table entry

Regression #11594: IPv6 routes with a prefix length of 128 result in an invalid route table entry

Added by Viktor Gurov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Routing
Target version:
Start date:
03/02/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.5.0
Affected Architecture:

Description

After adding fc00:1234::1234/128 via fc00:129::bbbb route, I see an invalid route in the routing table:

illegal prefixlen
7400:2a20::/0                     fc00:129::bbbb                UGS      vtnet1

VG Updated by Viktor Gurov over 5 years ago Actions #1

Using `-net` argument with /128 netmask produces invalid routes, i.e.:

# /sbin/route add -net -inet6 fc00:aaaa::1/128 fc00:129::bbbb
add net fc00:aaaa::1/128: gateway fc00:129::bbbb
# netstat -rn | grep fc00:129::bbbb
illegal prefixlen
7400:2a20::/0                     fc00:129::bbbb                UGS      vtnet1

seems `route(8)` bug

fix/workaround:
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/167

JP Updated by Jim Pingle over 5 years ago Actions #2

  • Status changed from New to Pull Request Review
  • Target version set to CE-Next

JP Updated by Jim Pingle over 5 years ago Actions #3

  • Target version changed from CE-Next to 2.5.1

RB Updated by Renato Botelho over 5 years ago Actions #4

  • Status changed from Pull Request Review to Waiting on Merge
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

RB Updated by Renato Botelho over 5 years ago Actions #5

  • Status changed from Waiting on Merge to Feedback

RB Updated by Renato Botelho over 5 years ago Actions #6

Cherry-picked to RELENG_2_5_1

JP Updated by Jim Pingle over 5 years ago Actions #7

  • Subject changed from Unable to add static IPv6 routes to IPv6 routes with a prefix length of 128 result in an invalid route table entry

Updating subject for release notes.

JP Updated by Jim Pingle over 5 years ago Actions #8

  • Status changed from Feedback to Closed
Actions

Also available in: Atom