Coder Social home page Coder Social logo

snort3-sandbox's Introduction

snort3-sandbox

Debian GNU/Linux 10 (buster)

vagrant@vg-snort-03:~$ /usr/local/bin/snort -V

   ,,_     -*> Snort++ <*-
  o"  )~   Version 3.0.0 (Build 266)
   ''''    By Martin Roesch & The Snort Team
           http://snort.org/contact#team
           Copyright (C) 2014-2019 Cisco and/or its affiliates. All rights reserved.
           Copyright (C) 1998-2013 Sourcefire, Inc., et al.
           Using DAQ version 3.0.0
           Using LuaJIT version 2.1.0-beta3
           Using OpenSSL 1.1.1d  10 Sep 2019
           Using libpcap version 1.8.1
           Using PCRE version 8.43 2019-02-23
           Using ZLIB version 1.2.11
           Using FlatBuffers 1.11.0
           Using Hyperscan version 5.2.0 2019-12-09
           Using LZMA version 5.2.4

           test if Hyperscan works, from the build directory
           hyperscan-5.2.0-build$ ./bin/unit-hyperscan
           [==========] Running 3746 tests from 33 test cases.
           [----------] Global test environment set-up.
           [----------] 9 tests from CustomAllocator
           [ RUN      ] CustomAllocator.DatabaseInfoBadAlloc
           [       OK ] CustomAllocator.DatabaseInfoBadAlloc (78 ms)
           [ RUN      ] CustomAllocator.TwoAlignedCompile
           [       OK ] CustomAllocator.TwoAlignedCompile (25 ms)
           [ RUN      ] CustomAllocator.TwoAlignedCompileError
           [       OK ] CustomAllocator.TwoAlignedCompileError (1 ms)
           [ RUN      ] CustomAllocator.TwoAlignedDatabaseInfo

ubuntu1904

test if Hyperscan works, from the build directory
cd ~/snort_src/hyperscan-5.2.0-build/
./bin/unit-hyperscan

vagrant@vg-snort-01:~$ /usr/local/bin/snort -V

   ,,_     -*> Snort++ <*-
  o"  )~   Version 3.0.0 (Build 266)
   ''''    By Martin Roesch & The Snort Team
           http://snort.org/contact#team
           Copyright (C) 2014-2019 Cisco and/or its affiliates. All rights reserved.
           Copyright (C) 1998-2013 Sourcefire, Inc., et al.
           Using DAQ version 3.0.0
           Using LuaJIT version 2.1.0-beta3
           Using OpenSSL 1.1.1b  26 Feb 2019
           Using libpcap version 1.8.1
           Using PCRE version 8.43 2019-02-23
           Using ZLIB version 1.2.11
           Using FlatBuffers 1.11.0
           Using Hyperscan version 5.2.0 2019-12-08
           Using LZMA version 5.2.4

Snort 3 on Ubuntu 18 & 19
<https://www.snort.org/documents>
BUILD SNORT
<https://github.com/snort3/snort3>

CentOS80


shell: ./configure_cmake.sh --prefix=/usr/local/snort >> /tmp/snort3_configure.out

[ 98%] Documents: building commands.txt with
[ 98%] Documents: building counts.txt with
/tmp/snort3/snort3/build/src/snort: error while loading shared libraries: libdaq.so.3: cannot open shared object file: No such file or directory
make[2]: *** [doc/CMakeFiles/all_built_sources.dir/build.make:80: doc/commands.txt] Error 127
make[2]: *** Deleting file 'doc/commands.txt'
make[2]: *** Waiting for unfinished jobs....
/tmp/snort3/snort3/build/src/snort: error while loading shared libraries: libdaq.so.3: cannot open shared object file: No such file or directory
make[1]: *** [CMakeFiles/Makefile2:6183: doc/CMakeFiles/all_built_sources.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

shell: ./configure_cmake.sh --prefix=/usr/local/snort --enable-tcmalloc  >> /tmp/snort3_configure.out

[ 98%] Documents: building commands.txt with
/tmp/snort3/snort3/build/src/snort: error while loading shared libraries: libtcmalloc.so.4: cannot open shared object file: No such file or directory
/tmp/snort3/snort3/build/src/snort: error while loading shared libraries: libtcmalloc.so.4: cannot open shared object file: No such file or directory
make[2]: *** [doc/CMakeFiles/all_built_sources.dir/build.make:80: doc/commands.txt] Error 127
make[2]: *** Deleting file 'doc/commands.txt'
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:6183: doc/CMakeFiles/all_built_sources.dir/all] Error 2
make: *** [Makefile:152: all] Error 2




Installing newer versions (>=7.x) of Ragel requires installing colm first. Prior versions, for example version 6.10, do not require installing colm. The steps will proceed with installing colm (0.13.0.7 ) and ragel (7.0.0.12).

There are two methods to make hyperscan aware of the Boost headers:
1) Symlink, or
2) PassingBOOST_ROOTpointing to the root directory of the Boost headers to cmake.

Snort 3 on CentOS8
<https://www.snort.org/documents>
BUILD SNORT
<https://github.com/snort3/snort3>

snort3-sandbox's People

Contributors

githubfoam avatar

Watchers

 avatar  avatar

snort3-sandbox's Issues

Security Policy violation SECURITY.md

This issue was automatically created by Allstar.

Security Policy Violation
Security policy not enabled.
A SECURITY.md file can give users information about what constitutes a vulnerability and how to report one securely so that information about a bug is not publicly visible. Examples of secure reporting methods include using an issue tracker with private issue support, or encrypted email with a published key.

To fix this, add a SECURITY.md file that explains how to handle vulnerabilities found in your repository. Go to https://github.com/githubfoam/snort3-sandbox/security/policy to enable.

For more information, see https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository.


This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

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.