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

    Quick Snort Setup Instructions for New Users

    Scheduled Pinned Locked Moved IDS/IPS
    147 Posts 46 Posters 259.2k 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.
    • B
      bhawk6901
      last edited by

      no mate, it isnt connected to the internet. no dns servers nothing. we have our own network connecting our 3 branches located at various places.
      as for cutting off access to the internet, its company policy and well it takes time for policies to change. Hopefuly we'l have it changed sooner than later but the thing is it isnt in my hands unfortunately.  :(

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        @bhawk6901:

        no mate, it isnt connected to the internet. no dns servers nothing. we have our own network connecting our 3 branches located at various places.
        as for cutting off access to the internet, its company policy and well it takes time for policies to change. Hopefuly we'l have it changed sooner than later but the thing is it isnt in my hands unfortunately.  :(

        How are you managing keeping the system up to date if it's offline?

        1 Reply Last reply Reply Quote 0
        • B
          bhawk6901
          last edited by

          How are you managing keeping the system up to date if it's offline?

          running 2.1.1, no updates performed since.
          is there no way to install snort manually?

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            @bhawk6901:

            How are you managing keeping the system up to date if it's offline?

            running 2.1.1, no updates performed since.
            is there no way to install snort manually?

            I rest my case. I also wish the company you work for, good luck when the security breach eventually happens.

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

              @bhawk6901:

              How are you managing keeping the system up to date if it's offline?

              running 2.1.1, no updates performed since.
              is there no way to install snort manually?

              No, there really is not a way to install it manually.  It consists of multiple parts and pieces that must get installed by the built-in package manager in pfSense.  It does not exist in something like a tar.gz file you could unzip and install.

              I also agree with jflsakfja that you have less security than you think by running older unpatched firewall software.  Simply not providing Internet access does not help much if you have unpatched vulnerabilities and somebody walks around with a USB stick in your "protected" network …  ;)

              Bill

              1 Reply Last reply Reply Quote 0
              • B
                bhawk6901
                last edited by

                @bmeeks:

                @bhawk6901:

                How are you managing keeping the system up to date if it's offline?

                running 2.1.1, no updates performed since.
                is there no way to install snort manually?

                No, there really is not a way to install it manually.  It consists of multiple parts and pieces that must get installed by the built-in package manager in pfSense.  It does not exist in something like a tar.gz file you could unzip and install.

                Bill

                Sad to know but thanks for the reply :)

                1 Reply Last reply Reply Quote 0
                • W
                  wcrowder
                  last edited by

                  Feel for you bhawk6901.

                  Sometimes required by law.

                  http://en.wikipedia.org/wiki/Air_gap_%28networking%29

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

                    lol.. Just when you think your secure… Your not!  :o :o

                    http://thehackernews.com/2014/10/airhopper-hacking-into-isolated.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+TheHackersNews+%28The+Hackers+News+-+Security+Blog%29

                    "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
                    • W
                      wcrowder
                      last edited by

                      Yeah, Thanks. Now they'll require a Faraday Cage around the MDF and all the IDF's… LMAO...

                      @BBcan177:

                      lol.. Just when you think your secure… Your not!  :o :o

                      http://thehackernews.com/2014/10/airhopper-hacking-into-isolated.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+TheHackersNews+%28The+Hackers+News+-+Security+Blog%29

                      1 Reply Last reply Reply Quote 0
                      • W
                        whitexp
                        last edited by

                        how to configure pfsense for multi wan setup ?
                        thanks

                        other thing ..
                        how i can test my server security ? ( how to "hack" my server for testing .. )

                        1 Reply Last reply Reply Quote 0
                        • D
                          darrenkdean
                          last edited by

                          Good Evening,

                          I am running into a fatal error when starting Snort on the WAN.  Has anyone run into this before &/or have any suggestions on how to fix it?  I have spent hours looking through the rules trying to locate the problem rule but have been unsuccessful in locating it.

                          Feb 22 19:37:07 php-fpm[20485]: /snort/snort_interfaces.php: The command '/usr/pbi/snort-amd64/bin/snort -R 31559 -D -q –suppress-config-log -l /var/log/snort/snort_em131559 --pid-path /var/run --nolock-pidfile -G 31559 -c /usr/pbi/snort-amd64/etc/snort/snort_31559_em1/snort.conf -i em1' returned exit code '1', the output was ''

                          Feb 22 19:37:07 snort[53353]: FATAL ERROR: /usr/pbi/snort-amd64/etc/snort/snort_31559_em1/rules/snort.rules(11872) : pcre compile of "(obj.data|\object.data).+file\x3A\x2F\x2F127\x2E[0-9]" failed at offset 11 : missing opening brace after \o

                          Best-

                          Darren

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

                            @darrenkdean:

                            Good Evening,

                            I am running into a fatal error when starting Snort on the WAN.  Has anyone run into this before &/or have any suggestions on how to fix it?  I have spent hours looking through the rules trying to locate the problem rule but have been unsuccessful in locating it.

                            Feb 22 19:37:07 php-fpm[20485]: /snort/snort_interfaces.php: The command '/usr/pbi/snort-amd64/bin/snort -R 31559 -D -q –suppress-config-log -l /var/log/snort/snort_em131559 --pid-path /var/run --nolock-pidfile -G 31559 -c /usr/pbi/snort-amd64/etc/snort/snort_31559_em1/snort.conf -i em1' returned exit code '1', the output was ''

                            Feb 22 19:37:07 snort[53353]: FATAL ERROR: /usr/pbi/snort-amd64/etc/snort/snort_31559_em1/rules/snort.rules(11872) : pcre compile of "(obj.data|\object.data).+file\x3A\x2F\x2F127\x2E[0-9]" failed at offset 11 : missing opening brace after \o

                            Best-

                            Darren

                            This is a broken Emerging Threats rule that has had broken syntax for almost a year.  Several attempts at getting it fixed at the source have been unsuccessful.  Folks here just disable that rule.  You can find its GID:SID by opening the file /usr/pbi/snort-amd64/etc/snort/snort_31559_em1/rules/snort.rules in a text editor (such as vi) and going to line 11872.  That is the rule that is malformed.

                            I don't have the rule SID in my head at the moment, but you can search this forum for similar errors and will find multiple posts about this rule.

                            Bill

                            1 Reply Last reply Reply Quote 0
                            • D
                              darrenkdean
                              last edited by

                              @bmeeks:

                              @darrenkdean:

                              Good Evening,

                              I am running into a fatal error when starting Snort on the WAN.  Has anyone run into this before &/or have any suggestions on how to fix it?  I have spent hours looking through the rules trying to locate the problem rule but have been unsuccessful in locating it.

                              Feb 22 19:37:07 php-fpm[20485]: /snort/snort_interfaces.php: The command '/usr/pbi/snort-amd64/bin/snort -R 31559 -D -q –suppress-config-log -l /var/log/snort/snort_em131559 --pid-path /var/run --nolock-pidfile -G 31559 -c /usr/pbi/snort-amd64/etc/snort/snort_31559_em1/snort.conf -i em1' returned exit code '1', the output was ''

                              Feb 22 19:37:07 snort[53353]: FATAL ERROR: /usr/pbi/snort-amd64/etc/snort/snort_31559_em1/rules/snort.rules(11872) : pcre compile of "(obj.data|\object.data).+file\x3A\x2F\x2F127\x2E[0-9]" failed at offset 11 : missing opening brace after \o

                              Best-

                              Darren

                              This is a broken Emerging Threats rule that has had broken syntax for almost a year.  Several attempts at getting it fixed at the source have been unsuccessful.  Folks here just disable that rule.  You can find its GID:SID by opening the file /usr/pbi/snort-amd64/etc/snort/snort_31559_em1/rules/snort.rules in a text editor (such as vi) and going to line 11872.  That is the rule that is malformed.

                              I don't have the rule SID in my head at the moment, but you can search this forum for similar errors and will find multiple posts about this rule.

                              Bill

                              Thank you Bill!  That was very helpful.  For anyone else that runs into this, the rule that needs to be disabled is:

                              emerging-web_client.rules

                              SID: 2011695
                              ET WEB_CLIENT Possible Microsoft Internet Explorer Dynamic Object Tag/URLMON Sniffing Cross Domain Information Disclosure Attempt

                              Best-

                              Darren

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

                                Since this sid has been an issue for over a year, wouldn't it be appropriate to disable it from the ruleset so it doesn't come and haunt future users?

                                "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
                                • D
                                  darrenkdean
                                  last edited by

                                  Good Morning,

                                  Has anyone had success in configuring Snort to allow apple devices to communicate with the Apple Store & iCloud?  I have followed the quick setup guide, rule configuration, & everything appears to be working great, with the exception of iPad's & iPhone's not being able to communicate with the Apple Store & not able to restore from iCloud Backup.  Any direction on how best to allow this connectivity would be greatly appreciated.

                                  Best-

                                  Darren

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

                                    @BBcan177:

                                    Since this sid has been an issue for over a year, wouldn't it be appropriate to disable it from the ruleset so it doesn't come and haunt future users?

                                    I am leery of permanently disabling a rule within the GUI code.

                                    Bill

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

                                      @darrenkdean:

                                      Good Morning,

                                      Has anyone had success in configuring Snort to allow apple devices to communicate with the Apple Store & iCloud?  I have followed the quick setup guide, rule configuration, & everything appears to be working great, with the exception of iPad's & iPhone's not being able to communicate with the Apple Store & not able to restore from iCloud Backup.  Any direction on how best to allow this connectivity would be greatly appreciated.

                                      Best-

                                      Darren

                                      I have no problem with this working in my home network using Snort and pfSense 2.2.  Have you checked to see if some particular alert is firing and generating a block?  You can check the ALERTS or BLOCKED tabs to see what Snort is doing.

                                      Bill

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User
                                        last edited by

                                        @BBcan177:

                                        Since this sid has been an issue for over a year, wouldn't it be appropriate to disable it from the ruleset so it doesn't come and haunt future users?

                                        What, you mean ET actually disabling a non functioning rule? Come on it's ET we are talking about here.  ;)

                                        I'm on bmeek's side here. Permanently disabling a rule shouldn't be the solution. Not unless we can get a premade list out anyway (hint:new guide).

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          darrenkdean
                                          last edited by

                                          Good Day,

                                          I'm running into an issue with the Ooma IP Telephone Service whereby anytime a telephone call is made or received, it trips the following rule in Snort:

                                          ET TROJAN Possible Downadup/Conficker-C P2P encrypted traffic UDP Ping Packet (bit value 5)

                                          I created a Firewall Alias called Ooma with the following data for the Ooma Servers:
                                          70.42.139.0/24         Ooma
                                          208.83.244.0/22 Ooma, Inc.

                                          I then added the Alias to the Snort Pass List, checking the Ooma Alias, & leaving all other boxes unchecked.  I've clearly missed something, as the alerts are still being triggered & blocked, inspite of having added the correct Ooma Servers.  Any thoughts?

                                          Best-

                                          Darren

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User
                                            last edited by

                                            Did you stop/start the snort interface after adding that to the passlist?

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