Project

General

Profile

Actions

Feature #15776

open

System Aliases for various reserved networks

Added by Jim Pingle 2 months ago. Updated 9 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Aliases / Tables
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.03
Release Notes:
Default

Description

#1979 added a System Aliases facility users can utilize to make rules with the built-in system aliases, and it would be nice to add some pre-defined lists of reserved networks to that.

Examples to start with could be:

  • IPv4 Private Addresses: 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
  • IPv6 Private Addresses: fc00::/7
  • IPv6 Link Local: fe80::/10
  • IPv4 Multicast: 224.0.0.0/4
  • IPv6 Multicast: ff00::0/8
  • Localhost: 127.0.0.1, ::1

The IPv4 and IPv6 aliases could likely be combined.

Tricky part might be finding names which do not or cannot conflict with existing user-defined aliases, or renaming conflicting user aliases.


Related issues

Follows Feature #1979: Allow user-defined rules to utilize built-in system aliasesResolvedMarcos M10/25/2011

Actions
Actions #1

Updated by Jim Pingle 2 months ago

  • Due date set to 10/26/2011
  • Start date set to 10/26/2011
  • Follows Feature #1979: Allow user-defined rules to utilize built-in system aliases added
Actions #2

Updated by Jim Pingle 2 months ago

  • Due date deleted (10/26/2011)
  • Start date deleted (10/26/2011)
Actions #3

Updated by Jim Pingle 13 days ago

  • Plus Target Version changed from 25.01 to 25.03
Actions #4

Updated by Marcos M 9 days ago

  • Status changed from New to In Progress
  • Assignee set to Marcos M
Actions #5

Updated by Marcos M 9 days ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #6

Updated by Georgiy Tyutyunnik 9 days ago

feature works correctly after change applied as a patch
aliases are created and populated
tested on:
24.11-RELEASE (amd64)
built on Wed Nov 27 19:22:00 CET 2024
FreeBSD 15.0-CURRENT

Actions #7

Updated by Jim Pingle 9 days ago

This looks good but I can't help wondering if we should have "46" variants with all of the IPv4 and IPv6 addresses together so users can use them in IPv4+IPv6 rules without rolling their own nested aliases (which does work, it just feels like it should be unnecessary).

Or just have one alias with all of them instead of separate 4 and 6 variants. PF will only use the appropriate entries based on the rule type, or it has in the past.

Actions

Also available in: Atom PDF