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

    Suricata not monitoring VIP

    Scheduled Pinned Locked Moved IDS/IPS
    10 Posts 4 Posters 2.4k 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
      SteveITS Galactic Empire
      last edited by

      When experimenting with Suricata (2.1.5 on pfSense 2.2.3), I found that it does not include firewall VIP addresses.  When I view the "default" Home Net list I see:

      10.15.55.1/32 (WAN gateway)
      10.15.55.42/32 (WAN IP)
      10.99.99.0/24 (LAN subnet)
      127.0.0.1/32
      ::1/128
      fe80::204:5aff:fe62:1a38/128
      fe80::250:70ff:fef5:21f2/128

      10.15.55.43/32, a WAN interface VIP that NATs inside to the LAN, is missing from the list, and is generating no alerts.  I can create a pass list to add it but I didn't think this would be intentional behavior. Especially since it's picking up others like the IPv6 addresses where this router doesn't have IPv6 enabled.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

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

        Thanks for the report.  I will look into this problem.  It likely affects the Snort package as well since they share identical code in the PASS LIST area.

        Bill

        1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire
          last edited by

          No problem.  One minor oddity is that if I add 10.15.55.43/32 to the pass list firewall alias, it shows in the popup as "10.15.55.43" with no /32 mask.  Probably doesn't matter but it is different.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

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

            @teamits:

            No problem.  One minor oddity is that if I add 10.15.55.43/32 to the pass list firewall alias, it shows in the popup as "10.15.55.43" with no /32 mask.  Probably doesn't matter but it is different.

            The list you see in the popup is generated on-the-fly by calling some PHP code.  So I will look at that code to see why the mask length is missing.  It really should not matter, though.  Suricata and Snort are generally smart enough to figure it out.

            Bill

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

              @teamits:

              When experimenting with Suricata (2.1.5 on pfSense 2.2.3), I found that it does not include firewall VIP addresses.  When I view the "default" Home Net list I see:

              10.15.55.1/32 (WAN gateway)
              10.15.55.42/32 (WAN IP)
              10.99.99.0/24 (LAN subnet)
              127.0.0.1/32
              ::1/128
              fe80::204:5aff:fe62:1a38/128
              fe80::250:70ff:fef5:21f2/128

              10.15.55.43/32, a WAN interface VIP that NATs inside to the LAN, is missing from the list, and is generating no alerts.  I can create a pass list to add it but I didn't think this would be intentional behavior. Especially since it's picking up others like the IPv6 addresses where this router doesn't have IPv6 enabled.

              Can you post some details about how you configured the VIP that is not showing up?  A screenshot of the page showing its configuration would be helpful, or else tell me which TYPE of virtual IP you chose.  I tried to duplicate the bug and was unable.  Suricata on my test virtual machine is seeing the Virtual IP I created and including it in the HOME_NET and PASS LIST views.  I used the TYPE of "IP Alias".

              Bill

              1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire
                last edited by

                Sorry for not clarifying.  We have a Proxy ARP VIP.  WAN interface, single address of  10.15.55.43.

                NAT outbound is using "Manual Outbound NAT rule generation (AON - Advanced Outbound NAT)" with:
                interface: WAN
                source: (lan IP)
                port/destination/dest. port: *
                NAT address:  10.15.55.43 (the WAN IP)

                We then have port forwards inward from 10.15.55.43 to the LAN IP.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                1 Reply Last reply Reply Quote 0
                • BBcan177B
                  BBcan177 Moderator
                  last edited by

                  I have one installation with Snort where I use a VIP for WAN2.

                  This VIP traffic is picked up by Snort using my WAN interface, so I don't think you need to monitor the VIP individually.

                  If you run an 'ifconfig' you will see the VIP details in one of your real interfaces configuration and that is the Interface that you will need to monitor with the IDS/IPS.

                  "Experience is something you don't get until just after you need it."

                  Website: http://pfBlockerNG.com
                  Twitter: @BBcan177  #pfBlockerNG
                  Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                  1 Reply Last reply Reply Quote 0
                  • S
                    SteveITS Galactic Empire
                    last edited by

                    We started getting alerts for the .43 address when I added it to the home net.

                    ifconfig does not show the .43 address.

                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                    Upvote 👍 helpful posts!

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

                      @teamits:

                      Sorry for not clarifying.  We have a Proxy ARP VIP.  WAN interface, single address of  10.15.55.43.

                      NAT outbound is using "Manual Outbound NAT rule generation (AON - Advanced Outbound NAT)" with:
                      interface: WAN
                      source: (lan IP)
                      port/destination/dest. port: *
                      NAT address:  10.15.55.43 (the WAN IP)

                      We then have port forwards inward from 10.15.55.43 to the LAN IP.

                      Thanks for the extra details.  I will see about testing using a Proxy ARP virtual IP.  Might be something different in the way pfSense is reporting it via the system call used by the Suricata and Snort packages.

                      UPDATE: I was able to reproduce the issue.  It is specific to Proxy ARP virtual IPs.  I'm working on a fix and will incorporate it into the upcoming Suricata GUI package update.  The same issue exists in the Snort package, and I will fix it after the Suricata fix is posted.

                      Bill

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

                        Dont want to dig this up again but i have posted on a few times about VIP for snort or suricata, Have not heard any updates since but would it be possible to only monitor the VIP?

                        Thank you

                        Tutorials:

                        https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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