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

    Suricata issue in PFSense

    Scheduled Pinned Locked Moved IDS/IPS
    27 Posts 2 Posters 2.7k 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.
    • S
      sstatjm @bmeeks
      last edited by

      @bmeeks There is nothing hosting on Lan and VLan1, however they both talk to Vlan2. So why would ip addresses for Vlan1 show up in LAN?

      bmeeksB 1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks @sstatjm
        last edited by

        @sstatjm said in Suricata issue in PFSense:

        @bmeeks There is nothing hosting on Lan and VLan1, however they both talk to Vlan2. So why would ip addresses for Vlan1 show up in LAN?

        I'm not following your description. Give me the name of the physical parent interface for each VLAN you have, or even better, screenshot the Interface Assignments and VLANs tabs from your pfSense installation.

        The phrase "there is nothing hosting on Lan and VLan1" is confusing to me. What do you mean by that?

        S 1 Reply Last reply Reply Quote 0
        • S
          sstatjm @bmeeks
          last edited by

          @bmeeks ec4401ef-0600-4ac2-a8c6-620918531d48-image.png

          LAN and TREJAH isnt suppose to talk to each other

          bmeeksB 1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks @sstatjm
            last edited by

            @sstatjm said in Suricata issue in PFSense:

            @bmeeks ec4401ef-0600-4ac2-a8c6-620918531d48-image.png

            LAN and TREJAH isnt suppose to talk to each other

            This is not what I mean. I need to see the actual Assignments tab content along with the VLANs tab content. I am trying to figure out which physical interface or interfaces is hosting which VLANs.

            S 1 Reply Last reply Reply Quote 0
            • S
              sstatjm @bmeeks
              last edited by

              @bmeeks WAN & LAN is the physical interface and the others are the VLANs.

              bmeeksB 1 Reply Last reply Reply Quote 0
              • bmeeksB
                bmeeks @sstatjm
                last edited by

                @sstatjm said in Suricata issue in PFSense:

                @bmeeks WAN & LAN is the physical interface and the others are the VLANs.

                You are not understanding my request.

                Your VLANs run on a physical interface. In FreeBSD, that will be based on the hardware NIC driver. For example, a popular Intel model is igb. When you create VLANs, they are created as virtual interfaces on top of some parent interface. The VLAN interfaces will show up as igb0.10 or something where the .10 is the VLAN ID and igb0 is the physical parent interface. If you have 4 NIC ports on a box and all four use the igb driver, then your four physical interfaces on the firewall will be igb0, igb1, igb2, and igb3. If you created VLANs on any of those physical interfaces, the VLAN's physical parent would be 'igbX followed by a period (.) and the assigned VLAN ID.

                So I need to know which physical interface is your LAN and what the physical interfaces are for your VLANs.

                S 1 Reply Last reply Reply Quote 0
                • S
                  sstatjm @bmeeks
                  last edited by

                  @bmeeks 529513e2-b0d1-417c-aba7-0640e76a12db-image.png

                  bmeeksB 1 Reply Last reply Reply Quote 0
                  • bmeeksB
                    bmeeks @sstatjm
                    last edited by bmeeks

                    @sstatjm said in Suricata issue in PFSense:

                    @bmeeks 529513e2-b0d1-417c-aba7-0640e76a12db-image.png

                    Okay, that shows everything is running on the same underlying single physical interface - ix1. Your two VLANs are running on virtual interfaces ix1.50 and ix1.60.

                    The first thing to check is that the Promiscuous Mode checkbox on the INTERFACE SETTINGS tab is NOT checked on all three interfaces: LAN, iOT, and Trejah. If you make any change to any of these interface settings, restart Suricata on the affected interface.

                    Promiscuous Mode would be the most likely cause of seeing an IP address on an interface where you do not normally expect it. It's also possible that you have a port misconfiguration in your managed switch. A third possibility is something changed with regards to promiscuous mode upstream in the Suricata binary, but I am not aware of any issues being reported there. Nothing has changed around that code in the PHP GUI in eons (that I can recall).

                    If this is a sudden change in behavior, then I would first suspect an issue in the Layer 2 infrastructure. Maybe a port was mistakenly misconfigured on the switch, or somebody plugged something into the wrong switch port ???

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sstatjm @bmeeks
                      last edited by

                      @bmeeks Suricata is restarted. Promiscuous mode is unchecked. Nothing connected incorrectly to switch.

                      bmeeksB 1 Reply Last reply Reply Quote 0
                      • bmeeksB
                        bmeeks @sstatjm
                        last edited by

                        @sstatjm said in Suricata issue in PFSense:

                        @bmeeks Suricata is restarted. Promiscuous mode is unchecked. Nothing connected incorrectly to switch.

                        If you want to share the alerts in question, me having a look at them might be helpful. I would also need to know the IP subnets you have assigned to each interface: LAN, iOT, and Trejah. I assume those are RFC1918 space, so there would be no security concerns with sharing the IP subnets as those are non-routable on the Internet anyway.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sstatjm @bmeeks
                          last edited by

                          @bmeeks d4787229-9990-4efc-a96d-a893b162a110-image.png

                          All this is on LAN interface with the .60.50 which is VLAN 60 sources showing in there.

                          1 Reply Last reply Reply Quote 0
                          • bmeeksB
                            bmeeks
                            last edited by bmeeks

                            Curious, so no 192.168.50.x entries show up on the LAN, or did you just not include them as they may be expected?

                            The most straightforward explanation is that promiscuous mode is enabled even if not explicitly showing as such in the GUI.

                            From one of your earlier replies I got the impression this behavior just suddenly started happening, and prior to that you never saw 192.168.60.50 addresses in alerts on the LAN. Is that correct?

                            Has anything changed in your environment that might coincide with this change in behavior? Promiscuous Mode can't just turn on by itself with no user action. Have you updated any software or firmware either on pfSense or in the managed switch infrastructure? Might a port VLAN setting have been accidentally altered?

                            If you can, try rebooting the firewall to be sure there are no duplicate Suricata processes running that may still have promiscuous mode enabled. In rare cases multiple Suricata instances can get started on the same interface, and then all but the most recently launched one stop responding to configuration changes. Running this command can show if any duplicates are running:

                            ps -ax | grep suricata
                            

                            You should see one Suricata instance per interface, so four instances for you counting your WAN.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sstatjm @bmeeks
                              last edited by

                              @bmeeks I must have missed that for the iOT. I will reboot the pfsense then. I have made no changes recently. Promiscous mode is off. I dont have WAN running suricata

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                sstatjm @sstatjm
                                last edited by

                                @sstatjm reboot is done so will see if it still show up in there again.

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