From 30094e12635918b4c8428cb7aa09c90487e40d78 Mon Sep 17 00:00:00 2001 From: robiscool Date: Sat, 3 Oct 2009 17:49:00 -0700 Subject: snort stable, make sure msg-gen is being created --- config/snort/bin/oinkmaster_contrib/create-sidmap.pl | 2 +- config/snort/snort.inc | 4 ++-- config/snort/snort_download_rules.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/snort/bin/oinkmaster_contrib/create-sidmap.pl b/config/snort/bin/oinkmaster_contrib/create-sidmap.pl index e1ce12ab..26a9040c 100644 --- a/config/snort/bin/oinkmaster_contrib/create-sidmap.pl +++ b/config/snort/bin/oinkmaster_contrib/create-sidmap.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/local/bin/perl -w # $Id: create-sidmap.pl,v 1.21 2005/12/31 13:42:46 andreas_o Exp $ # diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 107dfb3e..88b72695 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -80,12 +80,12 @@ function sync_package_snort() exec("/bin/mkdir -p /usr/local/etc/snort/rules"); exec("/bin/cp /usr/local/etc/snort/unicode.map-sample /usr/local/etc/snort/unicode.map"); exec("/bin/cp /usr/local/etc/snort/classification.config-sample /usr/local/etc/snort/classification.config"); - exec("/bin/cp /usr/local/etc/snort/gen-msg.map-sample /usr/local/etc/snort/gen-msg.map"); +// exec("/bin/cp /usr/local/etc/snort/gen-msg.map-sample /usr/local/etc/snort/gen-msg.map"); exec("/bin/cp /usr/local/etc/snort/generators-sample /usr/local/etc/snort/generators"); exec("/bin/cp /usr/local/etc/snort/reference.config-sample /usr/local/etc/snort/reference.config"); exec("/bin/cp /usr/local/etc/snort/sid-msg.map-sample /usr/local/etc/snort/sid-msg.map"); exec("/bin/cp /usr/local/etc/snort/sid-sample /usr/local/etc/snort/sid"); - exec("/bin/cp /usr/local/etc/snort/threshold.conf-sample /usr/local/etc/snort/threshold.conf"); +// exec("/bin/cp /usr/local/etc/snort/threshold.conf-sample /usr/local/etc/snort/threshold.conf"); exec("/bin/cp /usr/local/etc/snort/unicode.map-sample /usr/local/etc/snort/unicode.map"); exec("/bin/rm -f /usr/local/etc/rc.d/snort"); diff --git a/config/snort/snort_download_rules.php b/config/snort/snort_download_rules.php index 8eca3d34..69023407 100644 --- a/config/snort/snort_download_rules.php +++ b/config/snort/snort_download_rules.php @@ -2,7 +2,7 @@ /* $Id$ */ /* snort_rulesets.php - Copyright (C) 2006 Scott Ullrich + Copyright (C) 2006 Scott Ullrich and Robert Zelaya All rights reserved. Redistribution and use in source and binary forms, with or without @@ -706,7 +706,7 @@ if ($snort_md5_check_ok != on || $emerg_md5_check_chk_ok != on || $pfsense_md5_c update_output_window(gettext("May take a while...")); exec("/bin/cp {$snortdir}/classification.config {$snortdir_wan}"); -// exec("/bin/cp {$snortdir}/gen-msg.map {$snortdir_wan}"); + exec("/bin/cp {$snortdir}/gen-msg.map {$snortdir_wan}"); exec("/bin/cp {$snortdir}/generators {$snortdir_wan}"); exec("/bin/cp {$snortdir}/reference.config {$snortdir_wan}"); exec("/bin/cp {$snortdir}/sid {$snortdir_wan}"); -- cgit v1.2.3