Project

General

Profile

Actions

Bug #4289

closed

Invalid alias using a numerical name causes a filter reload error

Added by Dmitry Gnoevoy almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Upgrade
Target version:
Start date:
01/25/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:

Description

Jan 25 16:09:02 php-fpm55157: /rc.filter_configure_sync: New alert found: There were error(s) loading the rules: /tmp/rules.debug:25: syntax error - The line in question reads [25]: 1 = "{ 21 }"


Files

dashboard.png (91.3 KB) dashboard.png Dmitry Gnoevoy, 01/25/2015 09:09 AM
filter reload.png (48 KB) filter reload.png Dmitry Gnoevoy, 01/25/2015 09:09 AM
syslog.png (16.8 KB) syslog.png Dmitry Gnoevoy, 01/25/2015 09:09 AM
rules.debug (34.8 KB) rules.debug Dmitry Gnoevoy, 01/25/2015 10:30 AM
config-gw-si.bi-20150125183038.xml (255 KB) config-gw-si.bi-20150125183038.xml Dmitry Gnoevoy, 01/25/2015 10:30 AM
Actions #1

Updated by Jim Pingle almost 10 years ago

Please attach a copy of your config.xml and /tmp/rules.debug. A sanitized version of config.xml can be copied from opening /status.php in the GUI.

Actions #3

Updated by Jim Pingle almost 10 years ago

  • Status changed from New to Confirmed
  • Priority changed from Very High to Low

You have an invalid alias named "1". Remove it or rename it.

"The alias name must be less than 32 characters long, may not consist of only numbers, and may only contain the following characters a-z, A-Z, 0-9, _." (emphasis added)

Though the backend should skip these as well to avoid a problematic ruleset, so I'll leave this open.

Actions #4

Updated by Dmitry Gnoevoy almost 10 years ago

I Remove it and rename it. But after filter reload error the same # User Aliases
1 = "{ 21 }"

Actions #5

Updated by Jim Pingle almost 10 years ago

  • Subject changed from error after upgade from 2.1.5 to 2.2 to Invalid alias using a numerical name causes a filter reload error

It may be an older notice that hasn't cleared, make sure the alias is gone and then force a filter reload from Status > Filter reload.

If that doesn't help, follow up on the forum.

Actions #6

Updated by Dmitry Gnoevoy almost 10 years ago

What config look older alias?

Actions #7

Updated by Chris Buechler over 9 years ago

  • Status changed from Confirmed to Resolved

fixed, a notice is filed and the alias skipped if its name is only numeric.

Actions

Also available in: Atom PDF