Coder Social home page Coder Social logo

Comments (7)

gregcmartin avatar gregcmartin commented on August 28, 2024

Agreed. Maybe threaded snort rule downloads from the multiple files instead single thread download of the big snort rule file from ET?

from mhn.

gregcmartin avatar gregcmartin commented on August 28, 2024

Another way would be to only download snort rules when user initiates that from a button in the UI. This would make install go much faster.

[ no rules loaded currently, would you like to pull a fresh copy? ]

from mhn.

jatrost avatar jatrost commented on August 28, 2024

Switching to compressed version would be faster for the download http://rules.emergingthreats.net/open/snort-2.9.0/emerging.rules.tar.gz. We could also host a preprocessed mhn.db or rules file as well. Lots of options. Maybe the lazy load makes sense though.

from mhn.

gregcmartin avatar gregcmartin commented on August 28, 2024

did not know we were not using the compressed, lets start there.

On Wed, Jul 9, 2014 at 6:10 PM, Jason Trost [email protected]
wrote:

Switching to compressed version would be faster for the download
http://rules.emergingthreats.net/open/snort-2.9.0/emerging.rules.tar.gz.
We could also host a preprocessed mhn.db or rules file as well. Lots of
options. Maybe the lazy load makes sense though.


Reply to this email directly or view it on GitHub
https://github.com/threatstream/mhn/issues/20#issuecomment-48554761.

from mhn.

serpulga avatar serpulga commented on August 28, 2024

I don't think it's the download that takes that long, it is parsing the file and and storing each rule into the database. We could add a command line option: Do you want to setup Snort Rules now?.

from mhn.

jatrost avatar jatrost commented on August 28, 2024

The problem with this is we need a way to eventually download the rules if they intend to deploy a snort box (and the rules need to download before deploying one).

I think for many users who tested this download speed was their issue. When I asked them to attempt to manually download the file using wget it would timeout or hang. When running over vagrant with my fast Internet connection my DB initialization only takes a few minutes (3-5 min). We had users report 12+ hours for this step.

from mhn.

d1str0 avatar d1str0 commented on August 28, 2024

Haven't noticed a prohibitively long database init. Issue seems to be resolved.

from mhn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.