Project

General

Profile

Actions

Regression #15742

closed

Cannot add alias with name "Test"

Added by dylan mendez 2 months ago. Updated about 2 months ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Aliases / Tables
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
Affected Architecture:
All

Description

The following input errors were detected:

Sorry, an interface group with this name already exists.
There may be additional errors. Fix the noted problems and try again.

This is not present in older versions of pfSense. Affected on 2.7.2 and 23.08 devel.

Actions #1

Updated by Danilo Zrenjanin 2 months ago

  • Status changed from New to Confirmed

I could create an Alias with the name test. But a lot of warrning logs appeared in the syslog file.

Sep 21 14:19:33    php-fpm    444    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:19:33    php-fpm    444    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(153)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:19:33    php-fpm    444    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:19:33    php-fpm    444    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(250)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:19:33    php-fpm    444    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:19:33    php-fpm    444    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(252)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:19:33    php-fpm    444    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:20:17    php-fpm    444    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(151)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:20:17    php-fpm    444    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:20:17    php-fpm    444    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(153)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:20:17    php-fpm    444    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:20:17    php-fpm    444    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(250)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:20:17    php-fpm    444    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:20:17    php-fpm    444    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(252)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:20:17    php-fpm    444    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:20:22    php-fpm    51003    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(151)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:20:22    php-fpm    51003    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:20:22    php-fpm    51003    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(153)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:20:22    php-fpm    51003    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:20:22    php-fpm    51003    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(250)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:20:22    php-fpm    51003    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:20:22    php-fpm    51003    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(252)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:20:22    php-fpm    51003    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:20:32    php-fpm    12905    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(151)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:20:32    php-fpm    12905    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:20:32    php-fpm    12905    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(153)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:20:32    php-fpm    12905    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:20:32    php-fpm    12905    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(250)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:20:32    php-fpm    12905    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:20:32    php-fpm    12905    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(252)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:20:32    php-fpm    12905    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:20:44    php-fpm    12905    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(151)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:20:44    php-fpm    12905    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:20:44    php-fpm    12905    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(153)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(92)[openvpnAlias()]
Sep 21 14:20:44    php-fpm    12905    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 
Sep 21 14:20:44    php-fpm    12905    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//name' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(250)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:20:44    php-fpm    12905    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//name" 
Sep 21 14:20:44    php-fpm    12905    /firewall_aliases_edit.php: New alert found: WARNING - potentially incorrect path 'aliases/alias//type' from: /etc/inc/config.lib.inc(1992)[debug_test_path()] <- /usr/local/pfSense/include/www/alias-utils.inc(252)[config_get_path()] <- /usr/local/www/firewall_aliases_edit.php(93)[staticrouteAlias()]
Sep 21 14:20:44    php-fpm    12905    /firewall_aliases_edit.php: Warning: invalid config path "aliases/alias//type" 

Tested against:

24.08-DEVELOPMENT (amd64)
built on Fri Sep 20 15:08:00 UTC 2024
FreeBSD 15.0-CURRENT

Actions #2

Updated by Jordan G about 2 months ago

seeing the same as Danilo just when clicking +add on the firewall>alias page

tested on 24.08.a.20240920.1508

Actions #3

Updated by Marcos M about 2 months ago

  • Status changed from Confirmed to Not a Bug

Aliases and assigned interfaces, including groups, use pf tables for the filter ruleset. As the error message implies, aliases cannot have the same name as an interface group.

Regarding the warnings, they've been addressed (though not related to this redmine).

Actions

Also available in: Atom PDF