OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Suggestion - use rule label not just number
« previous next »
  • Print
Pages: [1]

Author Topic: Suggestion - use rule label not just number  (Read 3608 times)

opnsense-user123

  • Newbie
  • *
  • Posts: 25
  • Karma: 2
    • View Profile
Suggestion - use rule label not just number
« on: December 30, 2017, 05:40:05 pm »
Hello:

When perusing the firewall logs I like to know (in certain cases) what rule caused a pass or a block action, so I found the setting where I could choose to have that displayed as a second line (the other option was in a column). Now when I go to the firewall log, normal view, I see the pass or block line as usual and a new line just below that which says something like:

Code: [Select]
@9
and that's it. A whole line dedicated to that rule number. But how do I know what that rule number refers to? I googled up a way, login to opnsense on the command line, switch to root, and enter the command:

Code: [Select]
pfctl -vvsr
then scroll through and find the number, or grep for it I suppose. You might find a line like:

Code: [Select]
@79 pass in quick on igb1 inet from (igb1:network:1) to any flags S/SA keep state label "USER_RULE: Default allow LAN to any rule"
In my opinion, this is not the best way for a system which does provide a GUI like opnsense!

I suggest you use the large amount of space available on that line after the @(rule-number) to parse the LABEL and show it to the user there in GUI.

Is this an appropriate place to suggest / request this improvement, so should I also post elsewhere? Thanks.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Suggestion - use rule label not just number
« Reply #1 on: December 30, 2017, 05:42:52 pm »
feature requests are preferred on GitHub. In your case it is the core repository.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: Suggestion - use rule label not just number
« Reply #2 on: December 30, 2017, 07:47:19 pm »
I think it was posted and answered here:

https://github.com/opnsense/core/issues/2034
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Suggestion - use rule label not just number
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2