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

Snort Updating problems !!!

Scheduled Pinned Locked Moved pfSense Packages
72 Posts 27 Posters 36.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.
  • ?
    A Former User
    last edited by Jul 4, 2010, 8:27 PM

    @Rune:

    I figured I'd post this here in case people want to update their definitions manually. I used this post but updated the instructions to the current version.
    http://forum.pfsense.org/index.php/topic,15464.msg81197.html#msg81197

    1- Download the rules manually by logging to the shell and type this
    fetch http://www.snort.org/pub-bin/oinkmaster.cgi/Oinkcode/snortrules-snapshot-2860.tar.gz
    2 - Make temp directory and copy rules
    mkdir /tmp/temp
    cp snortrules-snapshot-2860.tar.gz /tmp/temp
    3- extract the file with this command
    tar -zxvf /tmp/temp/snortrules-snapshot-2860.tar.gz
    4- Find interface name - it will be in a snort_#_interface format
    ls /usr/local/etc/snort/
    5- copy rules to rules directory
    cp tmp/temp/rules/. /usr/local/etc/snort/interfacename/rules
    6- Remove temp directory
    rm -r /tmp/temp
    7 - Restart Snort. This did it for me on a clean install.

    Hope this helps someone out.

    I tried the copy comand and it does not work for me .Everything else worked .

    thanks for the help

    1 Reply Last reply Reply Quote 0
    • L
      LostInIgnorance
      last edited by Jul 5, 2010, 5:25 AM Jul 5, 2010, 5:04 AM

      @cdx304:

      @Rune:

      I figured I'd post this here in case people want to update their definitions manually. I used this post but updated the instructions to the current version.
      http://forum.pfsense.org/index.php/topic,15464.msg81197.html#msg81197

      1- Download the rules manually by logging to the shell and type this
      fetch http://www.snort.org/pub-bin/oinkmaster.cgi/Oinkcode/snortrules-snapshot-2860.tar.gz
      2 - Make temp directory and copy rules
      mkdir /tmp/temp
      cp snortrules-snapshot-2860.tar.gz /tmp/temp
      3- extract the file with this command
      tar -zxvf /tmp/temp/snortrules-snapshot-2860.tar.gz
      4- Find interface name - it will be in a snort_#_interface format
      ls /usr/local/etc/snort/
      5- copy rules to rules directory
      cp tmp/temp/rules/. /usr/local/etc/snort/interfacename/rules
      6- Remove temp directory
      rm -r /tmp/temp
      7 - Restart Snort. This did it for me on a clean install.

      Hope this helps someone out.

      I tried the copy comand and it does not work for me .Everything else worked .

      thanks for the help

      I ended up having to use this line instead to copy the files.  Worked for me, but only an expert can tell me if I actually did it correctly. Still kinda new to all of this. ;)

      cp rules/. /usr/local/etc/snort/interfacename/rules

      Thanks again JamesDean for everything!! :D

      1 Reply Last reply Reply Quote 0
      • R
        Rune
        last edited by Jul 6, 2010, 6:27 AM

        Yeah. You did it correctly. I was just looking back at what I had posted and realized I had put the wrong thing. Sorry. It was late when I posted this.

        1 Reply Last reply Reply Quote 0
        • J
          jnorell
          last edited by Jul 6, 2010, 2:43 PM

          James, if you're rewriting parts of the updating anyways, I'd like to +1 simby's request of adding a manual update feature (ie. http interface to upload and install a snort ruleset .tgz).  If that would get everyone by in a pinch if there are similar future changes to the download procedure.

          Big thanks for your work on this package!

          1 Reply Last reply Reply Quote 0
          • G
            g4m3c4ck
            last edited by Jul 6, 2010, 6:38 PM Jul 6, 2010, 6:30 PM

            Well I am glad they are releasing rules for specific versions of snort now instead of coming out with a new version of snort and breaking the rules for the old versions. That alone will solve most of the headaches when dealing with snort.

            That being said good job as always JD! And for those that continue to bitch about a FREE product that kicks ass of most alternatives you have to PAY for…...  Then go BUY something else!

            People who can't comprend how to navigate and manipulate file systems should not be messing around with ANYONES network let alone their firewall/router. But hey that is just my opinion….

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by Jul 6, 2010, 11:44 PM

              @LostInIgnorance:

              @cdx304:

              @Rune:

              I figured I'd post this here in case people want to update their definitions manually. I used this post but updated the instructions to the current version.
              http://forum.pfsense.org/index.php/topic,15464.msg81197.html#msg81197

              1- Download the rules manually by logging to the shell and type this
              fetch http://www.snort.org/pub-bin/oinkmaster.cgi/Oinkcode/snortrules-snapshot-2860.tar.gz
              2 - Make temp directory and copy rules
              mkdir /tmp/temp
              cp snortrules-snapshot-2860.tar.gz /tmp/temp
              3- extract the file with this command
              tar -zxvf /tmp/temp/snortrules-snapshot-2860.tar.gz
              4- Find interface name - it will be in a snort_#_interface format
              ls /usr/local/etc/snort/
              5- copy rules to rules directory
              cp tmp/temp/rules/. /usr/local/etc/snort/interfacename/rules
              6- Remove temp directory
              rm -r /tmp/temp
              7 - Restart Snort. This did it for me on a clean install.

              Hope this helps someone out.

              I tried the copy comand and it does not work for me .Everything else worked .

              thanks for the help

              I ended up having to use this line instead to copy the files.  Worked for me, but only an expert can tell me if I actually did it correctly. Still kinda new to all of this. ;)

              cp rules/. /usr/local/etc/snort/interfacename/rules

              Thanks again JamesDean for everything!! :D

              I tried this method and still does not work I hope this package gets fixed beause running my cisco box is getting real old !!

              1 Reply Last reply Reply Quote 0
              • S
                simby
                last edited by Jul 7, 2010, 12:52 PM

                any news?

                1 Reply Last reply Reply Quote 0
                • D
                  darklogic
                  last edited by Jul 7, 2010, 1:55 PM

                  When I discovered last week there were some issues with updating. I was doing everything I could to get SNORT to install updates. I even deinstalled an reinstalled the packaged before I checked the fourms and found that others were having issues as well. I am noticing that SNORT is not releasing blocked IP's after 1 hour, which is what I have it set to release blocked offenders. I never had the issue before until after the uninstall and reinstall of the package. I tried the uninstall and reinstall of the package again and get the same results.

                  Any ideas on what this is about? Has anyone else notice this or have this issue?

                  Thanks,

                  Matt

                  1 Reply Last reply Reply Quote 0
                  • D
                    darklogic
                    last edited by Jul 7, 2010, 1:58 PM

                    Note to my last post. I am only able to run the emerging threats because I can't get an update or download of the SNORT categories or premium scription rules I pay for through VRT. I know you can manaually update, but I have not really had the time to go through the write up posted to doo it. I am just throwing this out there for what it may be worth.

                    Thanks,

                    Matt

                    1 Reply Last reply Reply Quote 0
                    • S
                      simby
                      last edited by Jul 12, 2010, 5:56 AM

                      any news forom James?  ???

                      1 Reply Last reply Reply Quote 0
                      • S
                        SnoSalmon
                        last edited by Jul 13, 2010, 5:49 AM

                        Hey guys,

                        New to this forum, new to PFSense and even new to Linux, but not a noob.
                        Thankfully I found this thread, I've got PFSense humming along (together with Squid and Lightsquid, BandwidthD etc) and installed Snort last night. Spent AGES trying to get the rules to auto download.
                        I was convinced I had stuffed something up myself!

                        I'll keep checking this thread for a solution. Hopefully I don't need to manually go copying things from a shell as I wouldn't have a clue and am likely to bugger something up :)

                        Anyway, fingers crossed there will be a patch soon!

                        1 Reply Last reply Reply Quote 0
                        • T
                          tessen
                          last edited by Jul 15, 2010, 6:19 PM

                          Noticed this problem with rules updates, is there a way to manually copy rules, If I download them to my desktop machine where I should put them under PFsense, just copy the stuff in package in /usr/local/etc/snort/rules ? or something else?

                          1 Reply Last reply Reply Quote 0
                          • D
                            DigitalJer
                            last edited by Jul 15, 2010, 6:54 PM

                            @tessen:

                            … is there a way to manually copy rules

                            …mentioned earlier in this thread.

                            http://bit.ly/9c29CI

                            –------------------------------------------------
                            2.4.3-RELEASE (amd64)
                            built on Mon Mar 26 18:02:04 CDT 2018
                            FreeBSD 11.1-RELEASE-p7
                            VM in ESXi 5.5
                            1 x 1000baseTX (WAN)
                            1 x 1000baseTX (LAN)

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User
                              last edited by Jul 15, 2010, 8:18 PM

                              @tessen:

                              Noticed this problem with rules updates, is there a way to manually copy rules, If I download them to my desktop machine where I should put them under PFsense, just copy the stuff in package in /usr/local/etc/snort/rules ? or something else?

                              Be ok if that would work for me i would not mind that .But in puddy at the last step says that directory does not exsist .Than what do you do !!!!????

                              1 Reply Last reply Reply Quote 0
                              • D
                                DigitalJer
                                last edited by Jul 15, 2010, 8:27 PM

                                The last step, 7, says to restart Snort, but I assume you mean something else ?

                                –------------------------------------------------
                                2.4.3-RELEASE (amd64)
                                built on Mon Mar 26 18:02:04 CDT 2018
                                FreeBSD 11.1-RELEASE-p7
                                VM in ESXi 5.5
                                1 x 1000baseTX (WAN)
                                1 x 1000baseTX (LAN)

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pneumatic
                                  last edited by Jul 15, 2010, 8:59 PM

                                  Can someone tell me what file contains the URL download information?  I'd like to run snort but I can't get the update.

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DigitalJer
                                    last edited by Jul 15, 2010, 10:39 PM

                                    @pneumatic:

                                    Can someone tell me what file contains the URL download information?

                                    The URL to the file was mentioned earlier in this thread.  Check the link in my post 4 posts up.

                                    –------------------------------------------------
                                    2.4.3-RELEASE (amd64)
                                    built on Mon Mar 26 18:02:04 CDT 2018
                                    FreeBSD 11.1-RELEASE-p7
                                    VM in ESXi 5.5
                                    1 x 1000baseTX (WAN)
                                    1 x 1000baseTX (LAN)

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      pneumatic
                                      last edited by Jul 16, 2010, 1:23 AM

                                      I know what the proper URL is.  I am wondering what file inside my pfsense installation needs to be modified in order to automatically update the rules.

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        Rune
                                        last edited by Jul 16, 2010, 1:47 AM

                                        If you read the thread from the beginning you will know that it is not a simple matter of just changing a URL. If it was the programmer would have already fixed it. It has to do with the way the updates are coming from the cloud. For right now just sit back, relax, update manually, or just use emerging threats, and wait for the programmer to update. On the note of the how-to I will attempt to actually create one this weekend. Just been a little busy at work. Do I need screenshots too?

                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User
                                          last edited by Jul 16, 2010, 6:31 AM

                                          @Rune:

                                          If you read the thread from the beginning you will know that it is not a simple matter of just changing a URL. If it was the programmer would have already fixed it. It has to do with the way the updates are coming from the cloud. For right now just sit back, relax, update manually, or just use emerging threats, and wait for the programmer to update. On the note of the how-to I will attempt to actually create one this weekend. Just been a little busy at work. Do I need screenshots too?

                                          Well the screen shots would be a good idea .I just have no idea what i am doing for the manual updating not to work .I tried it over ten times and gave up and installed my standby software .

                                          1 Reply Last reply Reply Quote 0
                                          21 out of 72
                                          • First post
                                            21/72
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received