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

    Pass list is not working in Suricata on PFSENSE ( latest version )

    Scheduled Pinned Locked Moved Firewalling
    8 Posts 3 Posters 1.5k Views 3 Watching
    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.
    • L Offline
      lovidi6842
      last edited by

      Hello , I hope you doing well .

      the pass list that I have been added trough pfsense for suricata , will not add in suricata config file so all of the alerts will trigger on the ip addresses that I have been added in the pass list

      please tell me what can I do about it ?

      step to reporduce :
      create a pass list
      restart suricata
      now go to the shell and look at the config file of suricata :
      ps -aux | grep suricata
      now cat the config file and grep for pass_list
      go and see the content ๐Ÿ˜ƒ

      please help

      Thanks .

      bmeeksB 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance
        last edited by

        IP on Pass List: alert is still logged, but no action (block) happens.

        IP on Suppress list: alert matching the suppression rule is not logged (no alert) and thus not blocked.

        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 reboot, or more depending on packages, and device or disk speed.
        Upvote ๐Ÿ‘ helpful posts!

        1 Reply Last reply Reply Quote 0
        • S Offline
          SteveITS Rebel Alliance
          last edited by

          Oh wait I misread that, are you saying the pass list isn't taking effect? Is it set on the interface's settings tab?

          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 reboot, or more depending on packages, and device or disk speed.
          Upvote ๐Ÿ‘ helpful posts!

          1 Reply Last reply Reply Quote 1
          • bmeeksB Offline
            bmeeks @lovidi6842
            last edited by bmeeks

            @lovidi6842 said in Pass list is not working in Suricata on PFSENSE ( latest version ):

            Hello , I hope you doing well .

            the pass list that I have been added trough pfsense for suricata , will not add in suricata config file so all of the alerts will trigger on the ip addresses that I have been added in the pass list

            please tell me what can I do about it ?

            step to reporduce :
            create a pass list
            restart suricata
            now go to the shell and look at the config file of suricata :
            ps -aux | grep suricata
            now cat the config file and grep for pass_list
            go and see the content ๐Ÿ˜ƒ

            please help

            Thanks .

            You are not understanding how the package works. You should never be in the CLI when using the GUI package, and if you do go there, you must be in the proper sub-directory for the configured interface. The PHP GUI code rewrites the suricata.yaml conf file for each interface each time you save a change in the GUI. Furthermore, the files you see in the /usr/local/etc/suricata directory are not used to configure the Suricata interfaces. I have a feeling that's where you are looking for the Pass List. It will never show up there. Instead, there is a sub-directory underneath /usr/local/etc/suricata for each configured Suricata interface. Look in the appropriate sub-directory to find the suricata.yaml and other conf files for an interface.

            You must do three things when you add a custom Pass List.

            1. First, of course, you must create the Pass List on the PASS LIST tab and save it with a name.

            2. Next, go to the INTERFACE SETTINGS tab for the interface where you want to use a Pass List and scroll down to the Pass List drop-down selector and select the Pass List in the control. Save the change. This assigns the pass list to the interface. A lot of new users overlook this critical step!

            3. Finally, restart Suricata on the changed interface by clicking the icon on the INTERFACES tab.

            The Pass List function works just fine in the Suricata package. It is "the user" that is not working in this case ... ๐Ÿ˜„.

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              lovidi6842 @bmeeks
              last edited by

              @bmeeks Thanks for your reply , as I saw there is not Pass list section in the interface tab .

              There is an "External Net" with this description :

              "Choose the External Net you want this interface to use.
              External Net is networks that are not Home Net. Most users should leave this setting at default.
              Create a Pass List and add an Alias to it, and then assign the Pass List here for custom External Net settings. "

              is is the one that you said shoud be set that the pass list take affect ?

              su1.png

              su2.png

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                SteveITS Rebel Alliance @lovidi6842
                last edited by

                @lovidi6842 if you have Block Offenders unchecked then the Pass List option isnโ€™t shown as itโ€™s irrelevant.

                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 reboot, or more depending on packages, and device or disk speed.
                Upvote ๐Ÿ‘ helpful posts!

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  lovidi6842 @SteveITS
                  last edited by

                  @teamits Thanks you <3

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

                    @lovidi6842 said in Pass list is not working in Suricata on PFSENSE ( latest version ):

                    @teamits Thanks you <3

                    Or, if you have Inline IPS Mode enabled, there is no Pass List option then as it is not used in that mode. For Inline IPS blocking, you need to create your own Custom Rules with the PASS action. But in reality the Pass List function is really not needed with Inline IPS Mode.

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