Skip to content
Snippets Groups Projects

Techm arm snort installation use case may-23-2024

Open Imported TechmARM requested to merge snort-installaxtion-techm into main
3 unresolved threads

Following changes are made:

  • setup.sh -executes the setup_snort.sh
  • setup_snort.sh -downloads, updates and configures the dependency libraries in the given directories.
  • Makefile - builds and install the libraries
  • README.md - Added instructions to be followed for the lightspeed testing
Edited by TechmARM

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
31 @( \
32 cd ./components/snort/jemalloc; \
33 echo"@@@@ Installing jemalloc @@@@"; \
34 $(MAKE) -j$(nproc) ; \
35 $(MAKE) -j$(nproc) install ; \
36 echo"@@@@ Installing gperftools @@@@"; \
37 cd ../gperftools; \
38 $(MAKE) -j$(nproc) ; \
39 $(MAKE) -j$(nproc) install; \
40 echo"@@@@ Installing ragel @@@@"; \
41 cd ../ragel/ragel-6.10; \
42 $(MAKE) -j$(nproc) ; \
43 $(MAKE) -j$(nproc) install; \
44 echo"@@@@ Installing vectorscan @@@@"; \
45 cd ../../vectorscan/; \
46 cmake -DBOOST_ROOT=./components/snort/boost/boost/ -DCMAKE_BUILD_TYPE=Release . ; \
  • Path to BOOST will return No File Found , because the directory is changed to vectorscan in previous step. Use absolute paths to avoid these kind of errors

    Suggested change
    46 cmake -DBOOST_ROOT=./components/snort/boost/boost/ -DCMAKE_BUILD_TYPE=Release . ; \
    46 SNORT_DIR ?= /absolute/path/to/components/snort
    47 cmake -DBOOST_ROOT=$(SNORT_DIR)/boost/boost/ -DCMAKE_BUILD_TYPE=Release . ; \

    By Ghost User on 2024-06-05T16:08:49

  • Please register or sign in to reply
  • 35 $(MAKE) -j$(nproc) install ; \
    36 echo"@@@@ Installing gperftools @@@@"; \
    37 cd ../gperftools; \
    38 $(MAKE) -j$(nproc) ; \
    39 $(MAKE) -j$(nproc) install; \
    40 echo"@@@@ Installing ragel @@@@"; \
    41 cd ../ragel/ragel-6.10; \
    42 $(MAKE) -j$(nproc) ; \
    43 $(MAKE) -j$(nproc) install; \
    44 echo"@@@@ Installing vectorscan @@@@"; \
    45 cd ../../vectorscan/; \
    46 cmake -DBOOST_ROOT=./components/snort/boost/boost/ -DCMAKE_BUILD_TYPE=Release . ; \
    47 $(MAKE) -j$(nproc) ; \
    48 $(MAKE) -j$(nproc) install; \
    49 echo"@@@@ Installing libdaq @@@@"; \
    50 cd ./components/snort/libdaq/; \
  • 37 cd ../gperftools; \
    38 $(MAKE) -j$(nproc) ; \
    39 $(MAKE) -j$(nproc) install; \
    40 echo"@@@@ Installing ragel @@@@"; \
    41 cd ../ragel/ragel-6.10; \
    42 $(MAKE) -j$(nproc) ; \
    43 $(MAKE) -j$(nproc) install; \
    44 echo"@@@@ Installing vectorscan @@@@"; \
    45 cd ../../vectorscan/; \
    46 cmake -DBOOST_ROOT=./components/snort/boost/boost/ -DCMAKE_BUILD_TYPE=Release . ; \
    47 $(MAKE) -j$(nproc) ; \
    48 $(MAKE) -j$(nproc) install; \
    49 echo"@@@@ Installing libdaq @@@@"; \
    50 cd ./components/snort/libdaq/; \
    51 $(MAKE) -j$(nproc) ; \
    52 $(MAKE) -j$(nproc) install; \
    Please register or sign in to reply
    Loading