Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Widget Firewall Logs Filtering

    webGUI
    5
    21
    6.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NOYB
      last edited by

      I prefer to see only accepted connections in the dashboard firewall logs widget.  Connections are what I care about.  So I’ve added ability to filter on pass, block, and reject (which is really block - http://forum.pfsense.org/index.php/topic,50655.0.html) and also filter by interfaces.

      See Attached Screen Images.

      Qty 5 - Filters (None)

      Qty 5 - Filters (Pass & WAN)

      Attached are the patches of my pfSense 2.0.1 system with this additional firewall logs widget filter capability.

      Patches are intended as examples only.
      Patches are AS IS and Untested.
      Not for production use.
      Do NOT use in production environment.
      Use at your own risk.
      No support.
      By using this patch you agree to assume all liability.

      Patch file built with  
      2.0.1-RELEASE (i386)
      built on Mon Dec 12 18:24:17 EST 2011
      FreeBSD 8.1-RELEASE-p6

      Save Attached File:
      Widget.Firewall_Logs_Widget_Filtering.patch (.txt)

      Apply Patch:
      patch -p0 -i Widget.Firewall_Logs_Widget_Filtering.patch

      For using IE the fix referred to in this thread may be needed.
      Widgets IE Fix - http://forum.pfsense.org/index.php/topic,49128.0.html

      Overview of Main Changes:
      /usr/local/www/widgets/widgets/log.widget.php
      Several code changes a aditions (tagged with date 20120619)

      /usr/local/www/javascript/filter_log.js
      function fetch_new_rules_callback
      var tmp = format_log_line(row_split);
      if ( !(tmp) ) continue;

      function in_arrayi(needle, haystack)

      /etc/inc/filter_log.inc
      test and call match_filter_* functions

      function match_filter_field($flent, $fields)

      function in_arrayi($needle, $haystack)

      all.css for each/most of the following themes

      /usr/local/www/themes/_corporate/all.css
      /usr/local/www/themes/code-red/all.css
      /usr/local/www/themes/metallic/all.css
      /usr/local/www/themes/nervecenter/all.css
      /usr/local/www/themes/pfsense/all.css **
      /usr/local/www/themes/pfsense_ng/all.css
      /usr/local/www/themes/pfsense-dropdown/all.css **
      /usr/local/www/themes/the_wall/all.css

      Themes all.css Additions / Changes

      div#log div.log-entry span, **
      div#log div.log-header span {
      padding: 3px 2px 3px 2px;
      padding-left: 6px;
      }

      div#log div.log-entry-mini span {
      padding: 2px 2px 2px 2px;
      padding-left: 6px;
      }

      div#log span.log-time-mini-header, *

      div#log span.log-time-mini,
      div#log span.log-time-mini-header {
      width: 18%;
      }

      ddiv#log span.log-source-mini,
      div#log span.log-source-mini-header {
      width: 24%;
      }

      • Added to All Themes
        ** Does Not Exist.

      ![Qty 5 - Filters (None).Censored.png](/public/imported_attachments/1/Qty 5 - Filters (None).Censored.png)
      ![Qty 5 - Filters (None).Censored.png_thumb](/public/imported_attachments/1/Qty 5 - Filters (None).Censored.png_thumb)
      ![Qty 5 - Filters (Pass & WAN).Censored.png](/public/imported_attachments/1/Qty 5 - Filters (Pass & WAN).Censored.png)
      ![Qty 5 - Filters (Pass & WAN).Censored.png_thumb](/public/imported_attachments/1/Qty 5 - Filters (Pass & WAN).Censored.png_thumb)
      Widget.Firewall_Logs_Widget_Filtering.patch.txt

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Any chance you can put these on github in the form of a pull request?

        It makes it much easier for us to test and import them into the main repository.

        https://github.com/bsdperimeter/pfsense
        https://help.github.com/articles/using-pull-requests

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C
          Cino
          last edited by

          i installed this on 2.1 using the system patch package. Test was good, apply good. Seems to be working ok from my initial testing.

          thanks for creating this! Will come in handy.

          1 Reply Last reply Reply Quote 0
          • N
            NOYB
            last edited by

            @jimp:

            Any chance you can put these on github in the form of a pull request?

            It makes it much easier for us to test and import them into the main repository.

            https://github.com/bsdperimeter/pfsense
            https://help.github.com/articles/using-pull-requests

            Would be glad too.  I've never done anything with github though.  So if you can teach me?  I can do.

            1 Reply Last reply Reply Quote 0
            • N
              NOYB
              last edited by

              @NOYB:

              @jimp:

              Any chance you can put these on github in the form of a pull request?

              It makes it much easier for us to test and import them into the main repository.

              https://github.com/bsdperimeter/pfsense
              https://help.github.com/articles/using-pull-requests

              Would be glad too.  I've never done anything with github though.  So if you can teach me?  I can do.

              ARRRRG
              Someone already has my NOYB id at github.  :(
              Not cool!  Not cool at all!

              1 Reply Last reply Reply Quote 0
              • N
                NOYB
                last edited by

                Okay think I walked myself through the githup fork, edit, commit, and pull request process.  Don't know if I did  it correctly or the best way, but did do something and looks like there is a pull request pending anyway.

                Let me know if that is correct way to go about this or if there is better way.  Would prefer to just upload my patch file rather than forking, editing, and committing.  Guess that's okay for a file or two, but this involves 11 files.  Hope I got them all.

                :)

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  You did these pull requests on master repo(pfsense 2.1), did you tested on 2.1 too?

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • N
                    NOYB
                    last edited by

                    @marcelloc:

                    You did these pull requests on master repo(pfsense 2.1), did you tested on 2.1 too?

                    No.  But that is where the link jimp provided took me.
                    I'm only running 2.0.1.

                    Did I do this wrong?

                    1 Reply Last reply Reply Quote 0
                    • C
                      Cino
                      last edited by

                      @marcelloc:

                      You did these pull requests on master repo(pfsense 2.1), did you tested on 2.1 too?

                      I tested them on my 2.1 box yesteday.. Worked fine for me… Used system patch package to apply the patch

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        Looks like there were a couple things not quite right in that pull request.

                        It might help if you apply it against the files on 2.0, make a single diff there, then switch to the 2.1 code and re-apply the diff. Alternately, commit it to the RELENG_2_0 branch in your fork, then cherry-pick the commit from RELENG_2_0 to master, then submit a request to pull from your master branch…

                        I believe all of that should be covered under the github link I gave before, they have a lot of good docs there about working with forks and branches.

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • C
                          Cino
                          last edited by

                          i've noticed an issue with 2.1. Its not formatting the log correctly for IPv6 address

                          i've attach screenshots

                          fw_widget.jpg
                          fw_widget.jpg_thumb
                          fw_widget_new.jpg
                          fw_widget_new.jpg_thumb

                          1 Reply Last reply Reply Quote 0
                          • N
                            NOYB
                            last edited by

                            @Cino:

                            i've noticed an issue with 2.1. Its not formatting the log correctly for IPv6 address

                            i've attach screenshots

                            Try this patch
                            (attached)

                            Attachement Removed - Malformed Patch

                            1 Reply Last reply Reply Quote 0
                            • C
                              Cino
                              last edited by

                              it wouldn't apply :-(

                              1 Reply Last reply Reply Quote 0
                              • K
                                knotbeerdan
                                last edited by

                                This patch doesnt seem to work, or is there something I am missing?

                                Hmm...  Looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/widgets/widgets/log.widget.php      2011-09-13 13:02:36.000000000 -0700
                                |+++ /usr/local/www/widgets/widgets/log.widget.php.Firewall_Logs_Widget_Filtering.Patched       2012-06-21 21:42:05.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/widgets/widgets/log.widget.php using Plan A...
                                Hunk #1 failed at 41.
                                Hunk #2 failed at 73.
                                Hunk #3 failed at 112.
                                Hunk #4 failed at 138.
                                4 out of 4 hunks failed--saving rejects to /usr/local/www/widgets/widgets/log.widget.php.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/javascript/filter_log.js    2011-09-13 13:02:33.000000000 -0700
                                |+++ /usr/local/www/javascript/filter_log.js.Firewall_Logs_Widget_Filtering.Patched     2012-06-21 19:10:10.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/javascript/filter_log.js using Plan A...
                                Hunk #1 failed at 61.
                                1 out of 1 hunks failed--saving rejects to /usr/local/www/javascript/filter_log.js.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /etc/inc/filter_log.inc    2011-12-12 13:55:12.000000000 -0800
                                |+++ /etc/inc/filter_log.inc.Firewall_Logs_Widget_Filtering.Patched     2012-06-21 19:09:38.000000000 -0700
                                --------------------------
                                Patching file /etc/inc/filter_log.inc using Plan A...
                                Hunk #1 failed at 69.
                                Hunk #2 failed at 87.
                                Hunk #3 failed at 286.
                                3 out of 3 hunks failed--saving rejects to /etc/inc/filter_log.inc.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/themes/_corporate/all.css   2011-09-13 13:02:33.000000000 -0700
                                |+++ /usr/local/www/themes/_corporate/all.css.Firewall_Logs_Widget_Filtering.Patched    2012-06-21 21:20:12.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/themes/_corporate/all.css using Plan A...
                                Hunk #1 failed at 935.
                                Hunk #2 failed at 1096.
                                Hunk #3 failed at 1132.
                                3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/_corporate/all.css.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/themes/code-red/all.css     2011-09-13 13:02:33.000000000 -0700
                                |+++ /usr/local/www/themes/code-red/all.css.Firewall_Logs_Widget_Filtering.Patched      2012-06-21 21:19:06.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/themes/code-red/all.css using Plan A...
                                Hunk #1 failed at 1018.
                                Hunk #2 failed at 1180.
                                Hunk #3 failed at 1216.
                                3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/code-red/all.css.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/themes/metallic/all.css     2011-09-13 13:02:34.000000000 -0700
                                |+++ /usr/local/www/themes/metallic/all.css.Firewall_Logs_Widget_Filtering.Patched      2012-06-21 21:17:43.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/themes/metallic/all.css using Plan A...
                                Hunk #1 failed at 986.
                                Hunk #2 failed at 1149.
                                Hunk #3 failed at 1185.
                                3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/metallic/all.css.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/themes/nervecenter/all.css  2011-09-13 13:02:34.000000000 -0700
                                |+++ /usr/local/www/themes/nervecenter/all.css.Firewall_Logs_Widget_Filtering.Patched   2012-06-21 21:16:12.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/themes/nervecenter/all.css using Plan A...
                                Hunk #1 failed at 1018.
                                Hunk #2 failed at 1180.
                                Hunk #3 failed at 1216.
                                3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/nervecenter/all.css.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/themes/pfsense/all.css      2011-09-13 13:02:34.000000000 -0700
                                |+++ /usr/local/www/themes/pfsense/all.css.Firewall_Logs_Widget_Filtering.Patched       2012-06-21 21:08:02.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/themes/pfsense/all.css using Plan A...
                                Hunk #1 failed at 808.
                                Hunk #2 failed at 844.
                                2 out of 2 hunks failed--saving rejects to /usr/local/www/themes/pfsense/all.css.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/themes/pfsense_ng/all.css   2012-06-21 20:14:57.522797000 -0700
                                |+++ /usr/local/www/themes/pfsense_ng/all.css.Firewall_Logs_Widget_Filtering.Patched    2012-06-21 20:51:49.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/themes/pfsense_ng/all.css using Plan A...
                                Hunk #1 failed at 1116.
                                Hunk #2 failed at 1278.
                                Hunk #3 failed at 1314.
                                3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/pfsense_ng/all.css.rej
                                Hmm...  The next patch looks like a unified diff to me...
                                The text leading up to this was:
                                --------------------------
                                |--- /usr/local/www/themes/pfsense-dropdown/all.css     2011-09-13 13:02:34.000000000 -0700
                                |+++ /usr/local/www/themes/pfsense-dropdown/all.css.Firewall_Logs_Widget_Filtering.Patched      2012-06-21 21:10:04.000000000 -0700
                                --------------------------
                                Patching file /usr/local/www/themes/pfsense-dropdown/all.css using Plan A...
                                Hunk #1 failed at 898.
                                patch: **** malformed patch at line 518: div#log span.log-source-mini,
                                

                                PFsense 2.0.1 Celeron 2.4GHz 1GB RAM

                                1 Reply Last reply Reply Quote 0
                                • C
                                  Cino
                                  last edited by

                                  the patch package wouldn't apply it. it allows you to test a patch before applying.. I'm thinking somthing change after you created the patch so it wont apply. Going to look deeper later

                                  i forgot to include its log:

                                  
                                  his page allows you to add patches, either from the official code repository or ones pasted in from e-mail or other sources.
                                  
                                  Use with caution!
                                  
                                  	Output of full patch apply test:
                                  
                                  /usr/bin/patch --directory=/ -t -p0 -i /var/patches/50054c7502cc9.patch --check --forward 
                                  
                                  Hmm...  Looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/widgets/widgets/log.widget.php	2011-09-13 13:02:36.000000000 -0700
                                  |+++ /usr/local/www/widgets/widgets/log.widget.php.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 21:42:05.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/widgets/widgets/log.widget.php using Plan A...
                                  Hunk #1 succeeded at 41.
                                  Hunk #2 succeeded at 73.
                                  Hunk #3 succeeded at 112.
                                  Hunk #4 succeeded at 138.
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/javascript/filter_log.js	2011-09-13 13:02:33.000000000 -0700
                                  |+++ /usr/local/www/javascript/filter_log.js.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 19:10:10.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/javascript/filter_log.js using Plan A...
                                  Hunk #1 succeeded at 61.
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /etc/inc/filter_log.inc	2011-12-12 13:55:12.000000000 -0800
                                  |+++ /etc/inc/filter_log.inc.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 19:09:38.000000000 -0700
                                  --------------------------
                                  Patching file /etc/inc/filter_log.inc using Plan A...
                                  Hunk #1 succeeded at 69.
                                  Hunk #2 succeeded at 87.
                                  Hunk #3 succeeded at 290 (offset 4 lines).
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/themes/_corporate/all.css	2011-09-13 13:02:33.000000000 -0700
                                  |+++ /usr/local/www/themes/_corporate/all.css.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 21:20:12.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/themes/_corporate/all.css using Plan A...
                                  Hunk #1 succeeded at 935.
                                  Hunk #2 succeeded at 1096.
                                  Hunk #3 succeeded at 1132.
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/themes/code-red/all.css	2011-09-13 13:02:33.000000000 -0700
                                  |+++ /usr/local/www/themes/code-red/all.css.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 21:19:06.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/themes/code-red/all.css using Plan A...
                                  Hunk #1 succeeded at 1020 (offset 2 lines).
                                  Hunk #2 succeeded at 1182 (offset 2 lines).
                                  Hunk #3 succeeded at 1218 (offset 2 lines).
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/themes/metallic/all.css	2011-09-13 13:02:34.000000000 -0700
                                  |+++ /usr/local/www/themes/metallic/all.css.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 21:17:43.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/themes/metallic/all.css using Plan A...
                                  Hunk #1 succeeded at 987 (offset 1 line).
                                  Hunk #2 succeeded at 1150 (offset 1 line).
                                  Hunk #3 succeeded at 1186 (offset 1 line).
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/themes/nervecenter/all.css	2011-09-13 13:02:34.000000000 -0700
                                  |+++ /usr/local/www/themes/nervecenter/all.css.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 21:16:12.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/themes/nervecenter/all.css using Plan A...
                                  Hunk #1 succeeded at 1019 (offset 1 line).
                                  Hunk #2 succeeded at 1181 (offset 1 line).
                                  Hunk #3 succeeded at 1217 (offset 1 line).
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/themes/pfsense/all.css	2011-09-13 13:02:34.000000000 -0700
                                  |+++ /usr/local/www/themes/pfsense/all.css.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 21:08:02.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/themes/pfsense/all.css using Plan A...
                                  Hunk #1 succeeded at 809 (offset 1 line).
                                  Hunk #2 succeeded at 845 (offset 1 line).
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/themes/pfsense_ng/all.css	2012-06-21 20:14:57.522797000 -0700
                                  |+++ /usr/local/www/themes/pfsense_ng/all.css.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 20:51:49.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/themes/pfsense_ng/all.css using Plan A...
                                  Hunk #1 succeeded at 1130 (offset 14 lines).
                                  Hunk #2 succeeded at 1292 (offset 14 lines).
                                  Hunk #3 succeeded at 1328 (offset 14 lines).
                                  Hmm...  The next patch looks like a unified diff to me...
                                  The text leading up to this was:
                                  --------------------------
                                  |--- /usr/local/www/themes/pfsense-dropdown/all.css	2011-09-13 13:02:34.000000000 -0700
                                  |+++ /usr/local/www/themes/pfsense-dropdown/all.css.Firewall_Logs_Widget_Filtering.Patched	2012-06-21 21:10:04.000000000 -0700
                                  --------------------------
                                  Patching file /usr/local/www/themes/pfsense-dropdown/all.css using Plan A...
                                  Hunk #1 succeeded at 899 (offset 1 line).
                                  patch: **** malformed patch at line 518: div#log span.log-source-mini,
                                  
                                  Close
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • marcellocM
                                    marcelloc
                                    last edited by

                                    try to apply the patch by hand.

                                    Treinamentos de Elite: http://sys-squad.com

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      NOYB
                                      last edited by

                                      Found the problem with the new patch.
                                      Corrected a typo in the original patch and removed the leading space on this line in the pfsense-dropdown/all.css patch

                                      div#log span.log-source-mini,

                                      Attached is a new patch.

                                      Widget.Firewall_Logs_Widget_Filtering.patch.txt

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        Cino
                                        last edited by

                                        thank you! that did it… applied and looking good so far

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          NOYB
                                          last edited by

                                          @knotbeerdan:

                                          This patch doesnt seem to work, or is there something I am missing?

                                          Patch seems to apply okay for Cino.  So likely something specific to you.

                                          What verion of pfSense are you trying to apply the patch too?
                                          What is the command line you are running to apply the patch?

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            knotbeerdan
                                            last edited by

                                            Im running version Version 2.0.1

                                            the command I am running to apply the patch is

                                             patch -p0 -i Widget.Firewall_Logs_Widget_Filtering.patch
                                            

                                            And I receive the following output.

                                            Hmm...  Looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/widgets/widgets/log.widget.php      2011-09-13 13:02:36.000000000 -0700
                                            |+++ /usr/local/www/widgets/widgets/log.widget.php.Firewall_Logs_Widget_Filtering.Patched       2012-06-21 21:42:05.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/widgets/widgets/log.widget.php using Plan A...
                                            Hunk #1 failed at 41.
                                            Hunk #2 failed at 73.
                                            Hunk #3 failed at 112.
                                            Hunk #4 failed at 138.
                                            4 out of 4 hunks failed--saving rejects to /usr/local/www/widgets/widgets/log.widget.php.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/javascript/filter_log.js    2011-09-13 13:02:33.000000000 -0700
                                            |+++ /usr/local/www/javascript/filter_log.js.Firewall_Logs_Widget_Filtering.Patched     2012-06-21 19:10:10.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/javascript/filter_log.js using Plan A...
                                            Hunk #1 failed at 61.
                                            1 out of 1 hunks failed--saving rejects to /usr/local/www/javascript/filter_log.js.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /etc/inc/filter_log.inc    2011-12-12 13:55:12.000000000 -0800
                                            |+++ /etc/inc/filter_log.inc.Firewall_Logs_Widget_Filtering.Patched     2012-06-21 19:09:38.000000000 -0700
                                            --------------------------
                                            Patching file /etc/inc/filter_log.inc using Plan A...
                                            Hunk #1 failed at 69.
                                            Hunk #2 failed at 87.
                                            Hunk #3 failed at 286.
                                            3 out of 3 hunks failed--saving rejects to /etc/inc/filter_log.inc.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/themes/_corporate/all.css   2011-09-13 13:02:33.000000000 -0700
                                            |+++ /usr/local/www/themes/_corporate/all.css.Firewall_Logs_Widget_Filtering.Patched    2012-06-21 21:20:12.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/themes/_corporate/all.css using Plan A...
                                            Hunk #1 failed at 935.
                                            Hunk #2 failed at 1096.
                                            Hunk #3 failed at 1132.
                                            3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/_corporate/all.css.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/themes/code-red/all.css     2011-09-13 13:02:33.000000000 -0700
                                            |+++ /usr/local/www/themes/code-red/all.css.Firewall_Logs_Widget_Filtering.Patched      2012-06-21 21:19:06.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/themes/code-red/all.css using Plan A...
                                            Hunk #1 failed at 1018.
                                            Hunk #2 failed at 1180.
                                            Hunk #3 failed at 1216.
                                            3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/code-red/all.css.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/themes/metallic/all.css     2011-09-13 13:02:34.000000000 -0700
                                            |+++ /usr/local/www/themes/metallic/all.css.Firewall_Logs_Widget_Filtering.Patched      2012-06-21 21:17:43.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/themes/metallic/all.css using Plan A...
                                            Hunk #1 failed at 986.
                                            Hunk #2 failed at 1149.
                                            Hunk #3 failed at 1185.
                                            3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/metallic/all.css.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/themes/nervecenter/all.css  2011-09-13 13:02:34.000000000 -0700
                                            |+++ /usr/local/www/themes/nervecenter/all.css.Firewall_Logs_Widget_Filtering.Patched   2012-06-21 21:16:12.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/themes/nervecenter/all.css using Plan A...
                                            Hunk #1 failed at 1018.
                                            Hunk #2 failed at 1180.
                                            Hunk #3 failed at 1216.
                                            3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/nervecenter/all.css.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/themes/pfsense/all.css      2011-09-13 13:02:34.000000000 -0700
                                            |+++ /usr/local/www/themes/pfsense/all.css.Firewall_Logs_Widget_Filtering.Patched       2012-06-21 21:08:02.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/themes/pfsense/all.css using Plan A...
                                            Hunk #1 failed at 808.
                                            Hunk #2 failed at 844.
                                            2 out of 2 hunks failed--saving rejects to /usr/local/www/themes/pfsense/all.css.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/themes/pfsense_ng/all.css   2012-06-21 20:14:57.522797000 -0700
                                            |+++ /usr/local/www/themes/pfsense_ng/all.css.Firewall_Logs_Widget_Filtering.Patched    2012-06-21 20:51:49.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/themes/pfsense_ng/all.css using Plan A...
                                            Hunk #1 failed at 1116.
                                            Hunk #2 failed at 1278.
                                            Hunk #3 failed at 1314.
                                            3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/pfsense_ng/all.css.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/themes/pfsense-dropdown/all.css     2011-09-13 13:02:34.000000000 -0700
                                            |+++ /usr/local/www/themes/pfsense-dropdown/all.css.Firewall_Logs_Widget_Filtering.Patched      2012-06-21 21:10:04.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/themes/pfsense-dropdown/all.css using Plan A...
                                            Hunk #1 failed at 898.
                                            Hunk #2 failed at 934.
                                            2 out of 2 hunks failed--saving rejects to /usr/local/www/themes/pfsense-dropdown/all.css.rej
                                            Hmm...  The next patch looks like a unified diff to me...
                                            The text leading up to this was:
                                            --------------------------
                                            |--- /usr/local/www/themes/the_wall/all.css     2011-09-13 13:02:35.000000000 -0700
                                            |+++ /usr/local/www/themes/the_wall/all.css.Firewall_Logs_Widget_Filtering.Patched      2012-06-21 21:12:20.000000000 -0700
                                            --------------------------
                                            Patching file /usr/local/www/themes/the_wall/all.css using Plan A...
                                            Hunk #1 failed at 1022.
                                            Hunk #2 failed at 1188.
                                            Hunk #3 failed at 1224.
                                            3 out of 3 hunks failed--saving rejects to /usr/local/www/themes/the_wall/all.css.rej
                                            done
                                            
                                            

                                            I havent customized anything outside of the GUI, though I did change my theme to the_wall, would that make a difference?

                                            PFsense 2.0.1 Celeron 2.4GHz 1GB RAM

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.