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

    Status: System logs: Firewall Easy Rules gives error

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    11 Posts 2 Posters 3.3k Views
    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.
    • C
      cjbujold
      last edited by

      Love PFSense 2.0 , Reviewing my Firewall Logs and tried to create a new rule to block(hide) an entry in the firewall log and when I click on the "Easy Rule , Add to Block List " button I get the following error.  Can somebody help me resolve this issue.

      Fatal error: Cannot use string offset as an array in /etc/inc/easyrule.inc on line 83

      Thanks

      I am using

      2.0-BETA4  (i386)
      built on Tue Sep 28 11:29:07 EDT 2010

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

        I'll need to see exactly what the rule looked like that you clicked (screenshot if possible) and the easyrule URL that it used when you got that error (right click the link and copy/paste)

        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
          cjbujold
          last edited by

          Here is a screen shot of the error screens.  The first shows the item I select which is the X+ button and the second is the error that is shown.

          Thanks

          Error1.PNG
          Error1.PNG_thumb
          error2.PNG
          error2.PNG_thumb

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

            A couple things:

            1. I don't see how in the code with a valid config you could have received that error.

            2. In your firewall log output, one line has the physical interface name (em2) - Had you just recently renamed or reassigned an interface?  I haven't seen that happen before.

            I'm going to check in a small fix that might help, but I'm inclined to think there may be something else wrong on your system that led to that error, unless someone else can reproduce it as well.

            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
              cjbujold
              last edited by

              I have 4 NIC's in the system but only use 3. (1 LAN 2 WANS).  Can I manually edit some config  file ( If you could provide instructions it would be appreciated) so that it does not see the fourth NIC, since this seems to be the issue you identified.  I cannot remove the 4th NIC since it is on the Motherboard.  I will also try your fix to see if it resolves the issue.

              If my config is incorrect how can I fix it?

              Thanks

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

                Hard to say how it might not be correct without seeing the entire config.

                If you do not have that fourth network card assigned under Interfaces > (assign), it's essentially disabled. If it's on the motherboard you might be able to disable it in the BIOS, but if it was unplugged and unassigned, it doesn't make sense that you'd see a log entry from it.

                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
                  cjbujold
                  last edited by

                  It is unplugged and unassigned and it does not show up in the interface as available.  But it is the only explanation I have that you would see an EM2 in the log.  Is there a way to remove that incorrect entry in a config file?

                  Thanks

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

                    Are all of your network cards the same?  If so, em2 would be the third network card in the list, since the numbering starts at 0.

                    It might help to see a screenshot of Interfaces > (assign), and Status > Interfaces, or perhaps even the output from Diagnostics > Command, type in "ifconfig -a"

                    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
                      cjbujold
                      last edited by

                      Three of the cards are identical ,(Intel) and the motherboard NIC is a Broadcom (this is the disabled one).  My three cards are EM0 - LAN , EM1 - WAN2(opt) and EM2-WAN  the Bfe0 is not used.

                      Here are the images you requested.

                      Thank you for the help it is much appreciated.

                      pfsenseinterface.png
                      pfsenseinterface.png_thumb
                      ifconfig.png
                      ifconfig.png_thumb
                      statusInterface.png
                      statusInterface.png_thumb

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

                        OK, so the traffic from em2 is really your WAN plugged into your DSL modem. That's fine then.

                        If you want, you could assign em2 to a new interface and use that to manage your modem.
                        http://doc.pfsense.org/index.php/Accessing_modem_from_inside_firewall#Configure_a_new_Interface

                        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
                          cjbujold
                          last edited by

                          Tired the update and it fixed my problem

                          Thanks

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