OPNsense Forum

English Forums => General Discussion => Topic started by: japtain.cack on October 04, 2020, 08:51:33 AM

Title: Can no longer use regex in firewall > live view
Post by: japtain.cack on October 04, 2020, 08:51:33 AM
After one of the updates, I can't recall which one, regex stopped working in the live view search. In fact the search is no longer there, it was replaced by some very limited drop down filters.

Am I missing some option to enable that or was regex ripped out completely? I often use NOT and regex expressions to filter for specific patterns in my firewall logs. There isn't even a NOT operator in the filter choices. Seems like a step backwards if you ask me. Regex is basically a must when filtering stuff like this.
Title: Re: Can no longer use regex in firewall > live view
Post by: AdSchellevis on October 04, 2020, 12:42:05 PM
Hi,

We replaced the regex filters since most of our users didn't know how to use them, offering both options is not something we're currently planning. Recently we did add "or" type filters (https://github.com/opnsense/core/issues/4361), maybe we can add negate options as well in a future version (perhaps 21.1), there already is a ticket for it https://github.com/opnsense/core/issues/4365.

The original regex option was a bit of an experiment to be honest, also aimed to offer at least the rest of the functionality within a decent timespan.

Best regards,

Ad
Title: Re: Can no longer use regex in firewall > live view
Post by: japtain.cack on October 06, 2020, 07:15:35 PM
Ok, good to know. Thanks for the reply.