diff options
Diffstat (limited to 'network/snort')
-rw-r--r-- | network/snort/README | 3 | ||||
-rw-r--r-- | network/snort/README.SLACKWARE | 10 | ||||
-rw-r--r-- | network/snort/snort.SlackBuild | 8 |
3 files changed, 20 insertions, 1 deletions
diff --git a/network/snort/README b/network/snort/README index 2b30f035ae..6beb0ff2e3 100644 --- a/network/snort/README +++ b/network/snort/README @@ -14,3 +14,6 @@ Snort has three primary functional modes. It can be used as a packet sniffer like tcpdump(1), a packet logger (useful for network traffic debugging, etc), or as a full blown network intrusion detection and prevention system. + +For more information about running Snort on Slackware, please see +README.SLACKWARE. diff --git a/network/snort/README.SLACKWARE b/network/snort/README.SLACKWARE index 8b02a1dcc0..6bcf0714d1 100644 --- a/network/snort/README.SLACKWARE +++ b/network/snort/README.SLACKWARE @@ -12,6 +12,16 @@ information can be found at the following URLs: http://manual.snort.org/ (user manual) +Running the SlackBuild +---------------------- + +By default, non-Ethernet decoders (for example, venet0) are enabled. If +you need to disable this for performance reasons, use the option +'NON_ETHER=no': + + NON_ETHER=no ./snort.SlackBuild + + Starting snort -------------- diff --git a/network/snort/snort.SlackBuild b/network/snort/snort.SlackBuild index cac218f702..eb3768d373 100644 --- a/network/snort/snort.SlackBuild +++ b/network/snort/snort.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=snort VERSION=${VERSION:-2.9.9.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -82,6 +82,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +NON_ETHERNET_DECODERS='--enable-non-ether-decoders' +if [ "${NON_ETHER:-yes}" = 'no' ]; then + NON_ETHERNET_DECODERS='' +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -94,6 +99,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-pthread \ --enable-linux-smp-stats \ --enable-zlib \ + ${NON_ETHERNET_DECODERS} \ --build=$ARCH-slackware-linux make |