Get the App
SLTechnology News&Howtos  ›  Network Security  › 

CentOS 6.5snort installation

Shulou Source: shulou.com Published: 2022-06-01 04:23:28 10月06日 Update

yum install pcre*

yum install gcc-c++

wget https://libdnet.googlecode.com/files/libdnet-1.12.tgz

tar -xzvf libdnet-1.12.tgz

./ configure;make;make install

wget https://www.snort.org/downloads/snort/daq-2.0.4.tar.gz

wget https://www.snort.org/downloads/snort/snort-2.9.7.2.tar.gz

tar xvfz daq-2.0.4.tar.gz

cd daq-2.0.4

./ configure

make

make install

tar xvfz snort-2.9.7.2.tar.gz

cd snort-2.9.7.2

./ configure --enable-sourcefire

make

make install

cp ./ snort-2.9.7.2/etc/snort.conf /etc/snort/

cp ./ snort-2.9.7.2/etc/threshold.conf /etc/snort/

https://www.snort.org/downloads/community/community-rules.tar.gz

tar -zxvf community-rules.tar.gz

cp community-rules/community.rules /etc/snort/rules/

#Start

snort -d -l /var/log/snort -c /etc/snort/snort.conf -D

The relevant settings will be continuously updated [to avoid false positives and omissions in the opening process, is the focus]

Tags: Process focus update Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB Shulou Information MySQL OPPO Reno