summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter_log.inc
Commit message (Collapse)AuthorAgeFilesLines
* Pass src dst IP port through to firewall logPhil Davis2014-12-211-1/+1
| | | and IP version. So that the receiving code can easily have each pat of the IP addresses and ports, and display them as it wishes.
* Fix #3866 Firewall Log FilteringPhil Davis2014-09-161-1/+1
| | | on master
* Fix #3725:Renato Botelho2014-06-301-15/+17
| | | | | | | - Fix match_filter_field() and also simplify logic - Fix $filterfieldsarray initialization - Avoid to have double spaces on filterfieldsarray['act'] - Fix filter on Firewall Logs
* Handle firewall log filter regex input better bug #3689Phil Davis2014-06-031-4/+18
| | | | | If the user inputs an invalid regex in any of the filter fields, then a page full of "warning" messages appear in the GUI, about whatever is invalid. If for some reason the user wants to match a forward slash somewhere, then they have to realize to escape it, doing "\/" instead of just "/". Be nice to this special case, because the user does not necessarily know that "/" is being used as the delimiter in the preg_match call. Turn "/" into "\/" (when the "\" is not already put in by the user). For other regex issues, suppress the warning output, using "@". When the user inputs some invalid garbage in a filter field, an empty filtered firewall log table will be displayed, rather than screens full of PHP warning output.
* Add ICMP to filter parser, it should fix #3663Renato Botelho2014-05-271-0/+48
|
* Work around some quirks in global handling to show filter rule descriptions ↵jim-p2014-05-071-1/+6
| | | | in their own row/column when configured for that behavior.
* Use egrep here (and full path)jim-p2014-05-061-2/+2
|
* Consider tracker IDs when looking up filter log entries, if presentjim-p2014-05-061-12/+32
|
* Move clog from /usr to /usr/localRenato Botelho2014-04-281-2/+2
|
* Start using filterlogRenato Botelho2014-04-141-131/+71
|
* Fix some wrong escapeshellarg() callsRenato Botelho2014-02-041-2/+2
|
* Add escapeshellarg() calls on exec parameters. While I'm here, replace some ↵Renato Botelho2014-02-041-4/+4
| | | | exec() calls by php functions like symlink, copy, unlink, mkdir
* Fix filter regexRenato Botelho2014-01-021-1/+1
|
* Remove scrub as wellErmal2013-12-301-1/+1
|
* Remove even negating nat rulesErmal2013-12-301-1/+1
|
* Correct matching for single rule. Somehow the egrep did not work there!Ermal2013-12-301-1/+1
|
* Speed up a bit rule number identification by avoiding going into kernel but ↵Ermal2013-12-301-14/+39
| | | | using the rules parsing of pf which gives the same effect.
* Fix parsing of the rule number in the pf log on FreeBSD 10.x, part of Bug #2122jim-p2013-12-121-1/+3
|
* Make sure no extra spaces end up in the parsed IP, it can lead to issues in ↵jim-p2013-09-251-1/+1
| | | | other places (Easy Rule, etc)
* Attempt to recognize pfsync entries from pf logs.jim-p2013-08-191-0/+2
|
* Widget Firewall Logs FieldsN0YB2013-05-211-1/+1
| | | | | | In the Firewall Log Widget view time field is of more use than source port and protocol. Add time field and remove source port and protocol fields. Fields: Action, Time, Interface, Source IP, Destination IP & Port
* Show a little indicator icon if the direction of a firewall log entry is ↵jim-p2013-04-021-2/+2
| | | | OUT, rather than the usual 'in'. No indicator is shown for IN.
* System Firewall Log Filtering by FieldsN0YB2013-03-151-1/+11
| | | | Previous filter form retained for raw logs view.
* Try a little harder to find the protocol rather than giving up. Fixes #2751jim-p2013-01-251-1/+11
|
* Update etc/inc/filter_log.incN0YB2012-12-071-1/+15
| | | Firewall Logs Widget FilteringOptions to filter on interfaces, 'pass', 'block', & 'reject'
* Firewall log, allow filtering by interface.PiBa-NL2012-10-011-5/+8
|
* (line endings UNIX format..)PiBa-NL2012-09-161-1/+1
| | | | | | | | Firewall log alternating colored rows Firewall log sortable Fixed several sorting issues in widgets and other pages Sorting now possible on multiple rows in the header tables Sorting now possible for text that starts with IPv4:port
* Added a setting for configuring the firewall log to either:PiBa-NL2012-09-101-3/+2
| | | | | | | | -Not load descriptions -Show descriptions in a column -Show descriptions on a second row (after a click on 'show descriptions') 'fixed' a few html validation issues..
* Changed firewall log to show the applied rule description directly on ↵PiBa-NL2012-09-081-0/+35
| | | | screen, also layout optimization for "Show raw filter logs".
* Unbreak a number of explode() replacements which required preg_split()smos2012-01-201-4/+4
|
* The function split() is replaced by the function explode(). Starting with ↵smos2012-01-191-7/+7
| | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings
* If an IP is preceeded by "kip ", trim that off. Fixes #2027jim-p2011-11-291-0/+2
|
* Merge remote-tracking branch 'upstream/master'jim-p2011-07-121-2/+2
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/easyrule.inc etc/inc/filter.inc etc/inc/interfaces.inc etc/inc/services.inc etc/inc/xmlrpc_client.inc usr/local/www/fbegin.inc usr/local/www/services_dhcp.php
| * Fix quotes to use %N$X on gettext callsRenato Botelho2010-10-011-1/+1
| |
| * Fix gettext calls with printf to permit change strings orderRenato Botelho2010-08-301-1/+1
| |
| * Implement gettext() calls on filter_log.incCarlos Eduardo Ramos2010-08-161-3/+3
| |
* | Show the TCP protocol for ipv6 filter rulesSeth Mos2011-01-261-1/+3
|/
* Don't split the date/time when forming a line's timestamp, use both. ↵jim-p2010-08-041-4/+1
| | | | Otherwise it can lead to oddities when crossing a date border. Fixes #478
* Add a safety check to prevent packets like those in #479 from breaking the ↵jim-p2010-06-151-0/+2
| | | | filter log in the GUI.
* Fix bug where the last line of the filter log wasn't displayed in WebGUI.jim-p2010-02-151-0/+2
|
* Use _descr() instead for getting the log interface, so it uses the ↵jim-p2009-12-181-1/+1
| | | | user-supplied name rather than wan/opt1/opt2/etc.
* This function appears to not be needed on 2.0 (It is needed on 1.2.3 where I ↵jim-p2009-12-141-17/+1
| | | | originally coded this part). Use convert_real_interface_to_friendly_interface_name() instead, since it seems to have special case handling for PPPoE and such now. Tested and working on a static IP setup, still needs tested by a PPPoE user on 2.0. (Logs should show "WAN" in the interface column, not "pppoe0".)
* Add include for config.inc. Without it, the log parser was failing when ↵jim-p2009-12-141-0/+2
| | | | called from the CLI (e.g. filterparser.php)
* This breaks the firewall log. Unknown intent, Ermal if you want to improve ↵Chris Buechler2009-12-111-2/+18
| | | | | | | | it, please make sure it works. Revert "Remove completely bogus code with propper one." This reverts commit be620dfd9283ee644c57b3c558c7dd603d0f4897.
* Remove completely bogus code with propper one.Ermal Luçi2009-12-111-18/+2
|
* Move two include files to /etc/inc instead of leaving them in the www dir. ↵jim-p2009-11-151-0/+295
Move filterparser.php to /usr/local/bin since it's not meant to be used from the web interface.
OpenPOWER on IntegriCloud