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

    NEW - Suricata 1.4.6 IDS pkg. v0.2-BETA Released

    Scheduled Pinned Locked Moved pfSense Packages
    39 Posts 10 Posters 18.0k 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.
    • ?
      A Former User
      last edited by

      http://doc.emergingthreats.net/pub/Main/RussianBusinessNetwork/RussianBusinessNetworkIPs.txt

      I think that's the one that was causing problems for a number of people, so I switched from that to the "new" RBN list (now obsolete).

      A couple of interesting lists there, will test them out. If you are ok with it, I'll add them in due time to the blueprint and credit you.

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

        I had that link with the other ET links and never noticed that it wasn't updating properly.

        If you use the pffetch script that I wrote previously, you can add that to the script and add a link in pfBlocker to the local file.

        fetch http://doc.emergingthreats.net/pub/Main/RussianBusinessNetwork/RussianBusinessNetworkIPs.txt
        It will download as "RussianBusinessNetworkIPs.txt"

        The more effort we all make the better off we all are. Open Source all the way!

        ** SORRY Bill for taking over this Thread… ***

        "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
        • BBcan177B
          BBcan177 Moderator
          last edited by

          I took another look at the RBN text document in VI, and noticed that each line has a "^M" carriage return. This is probably what was causing issues with pfBlocker not reading the file properly. The RBN list is out of date, but there are still alot of hits on my Router from Russia!!

          You can filter the ^M with -

          fetch http://doc.emergingthreats.net/pub/Main/RussianBusinessNetwork/RussianBusinessNetworkIPs.txt
          returncode=$?
          echo $returncode

          if [ "$returncode" -eq "0" ]; then
                  cat RussianBusinessNetworkIPs.txt | tr -d '\r' > RBN.txt
          fi

          and use the RBN.txt in pfBlocker local file.

          "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
          • ?
            A Former User
            last edited by

            The funny thing is that I personally never had a problem with that list. It downloaded and added the IPs in the table  (checked it myself, and the IPs were there), as well as updated for over a year with no issues at all. Some other people though always had problems with it.

            That list belongs to the ET guys, so I'm assuming that it too will be made obsolete. I know that you should never assume but…

            yea, sorry Bill for taking over the thread  :P

            1 Reply Last reply Reply Quote 0
            • F
              felesaerius
              last edited by

              Not sure if this is the place to post, but I figure it's a good starting point if nothing else, is there an easy way to get Suricata to throw the logs to Kibana like Suricata shows on their site?
              http://idsips.files.wordpress.com/2014/03/kibana300.png

              Per this walkthrough:
              https://redmine.openinfosecfoundation.org/projects/suricata/wiki/_Logstash_Kibana_and_Suricata_JSON_output

              It wants Suricata to have libjansson support enabled… the only thing they're missing is how to get Suricata and the install of Kibana, etc to talk to each other, but this all may be way too much to ask this early on in the game, not sure if anyone has any tips on it. Thank you for helping if possible!

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

                @felesaerius:

                Not sure if this is the place to post, but I figure it's a good starting point if nothing else, is there an easy way to get Suricata to throw the logs to Kibana like Suricata shows on their site?
                http://idsips.files.wordpress.com/2014/03/kibana300.png

                Per this walkthrough:
                https://redmine.openinfosecfoundation.org/projects/suricata/wiki/_Logstash_Kibana_and_Suricata_JSON_output

                It wants Suricata to have libjansson support enabled… the only thing they're missing is how to get Suricata and the install of Kibana, etc to talk to each other, but this all may be way too much to ask this early on in the game, not sure if anyone has any tips on it. Thank you for helping if possible!

                I am not familiar with Kibana but will check it out.  So long as an external log stash package can accept data over a network connection then pushing Suricata logs should be possible.  It gets much more dicey to try and add another package to pfSense itself.  Besides, it's not a good idea to run a bunch of applications on your firewall because that increases the security vulnerability exposure substantially.

                Bill

                1 Reply Last reply Reply Quote 0
                • S
                  simby
                  last edited by

                  any options to have suricata 2.0 and have options to block ip?

                  can i have only to drop packet, not to block ip (snort or. suricata)?

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

                    @simby:

                    any options to have suricata 2.0 and have options to block ip?

                    can i have only to drop packet, not to block ip (snort or. suricata)?

                    Suricata 2.0 was not in the FreeBSD ports repository last time I checked (about a week ago).  So we will need to wait for FreeBSD ports to update Suricata to 2.0 before it can come to pfSense.

                    I am working on the blocking code for Suricata now.

                    Bill

                    1 Reply Last reply Reply Quote 0
                    • S
                      Supermule Banned
                      last edited by

                      Thanks a billion Bill!! Youre SO much the man of this project right now!

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

                        @Supermule:

                        Thanks a billion Bill!! Youre SO much the man of this project right now!

                        Thank you.  One caveat for Suricata blocking.  Initially it will have to operate the same way as Snort does using libpcap.  Thus it won't be true inline-mode IPS.  Ermal has to make some changes in the ipfw code within pfSense in order to accommodate true inline IPS mode.  However, due to the problem of context switching between kernel mode and user-land, IPS mode when it comes won't be nearly as fast as the pseudo-IPS mode Snort uses (and that Suricata will use initially).  So true inline IPS is probably not going to be very useful for heavily loaded firewalls.  That's just the nature of the beast unless you go to highly customized code, and if you do that then you can't easily follow the upstream updates.

                        The kernel changes to support true IPS may or may not make it into 2.2.  That is not up to me.  It is up to the pfSense team.  However, I can include the pseudo-IPS mode without those kernel changes.  That means pseudo-IPS can work with 2.1.x releases.  The pseudo-IPS mode is what I am working on now.

                        Bill

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