Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Error loading rules: /tmp/rules.debug:85: syntax error
« previous
next »
Print
Pages: [
1
]
Author
Topic: Error loading rules: /tmp/rules.debug:85: syntax error (Read 2573 times)
hjint
Newbie
Posts: 33
Karma: 3
Error loading rules: /tmp/rules.debug:85: syntax error
«
on:
June 03, 2021, 08:51:39 am »
Opnsense Version 21.1.6-amd64
On the 1st of June the following message started to appear in
System: Log Files: General
"/usr/local/etc/rc.filter_configure: There were error(s) loading the rules: /tmp/rules.debug:85: syntax error - The line in question reads [85]: 662256 = "<662256>"
and on the immediate line before this the following message is listed with the same process id
"/usr/local/etc/rc.filter_configure: ROUTING: keeping current default gateway '192.168.1.1'"
Does anybody have an idea what this error means and how to resolve this?
Thank you
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Error loading rules: /tmp/rules.debug:85: syntax error
«
Reply #1 on:
June 03, 2021, 11:22:09 am »
All number firewall alias is probably not good for pf.conf(5) syntax parsing. You added the alias "662256" recently?
Cheers,
Franco
Logged
hjint
Newbie
Posts: 33
Karma: 3
Re: Error loading rules: /tmp/rules.debug:85: syntax error
«
Reply #2 on:
June 03, 2021, 12:34:50 pm »
Yes, I have changed some rules and added new rules.
How can I determine which rule is linked to alias "662256"?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Error loading rules: /tmp/rules.debug:85: syntax error
«
Reply #3 on:
June 03, 2021, 01:29:40 pm »
# grep "662256" /tmp/rules.debug
The rules have a label hash at the end and you can find them via the label description in the firewall rules listing (click to unhide the hash).
Cheers,
Franco
Logged
hjint
Newbie
Posts: 33
Karma: 3
[Resolved] Re: Error loading rules: /tmp/rules.debug:85: syntax error
«
Reply #4 on:
June 03, 2021, 04:32:55 pm »
Thanks, resolved
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Error loading rules: /tmp/rules.debug:85: syntax error