Snort mailing list archives

RE: Snort 2.0 SNMP patch erroring out


From: Gary Danko <GDanko () proflowers com>
Date: Mon, 4 Aug 2003 14:20:00 -0700

Looks like the linefeeds were stripped. Will try again as HTML.
 
Okay so it turns out Snort 2.0 does not have SNMP support built in. So I
downloaded the patch from cysol.co.jp. The directions on their page say to
apply the patch from the snort source directory, which I did. Here's my
output. Any idea what I could have done wrong?
 
[root@ids1 src]$ tar xf snort-2.0.0.tar
[root@ids1 src]$ cd snort-2.0.0
[root@ids1 snort-2.0.0]$ cp ../SnortSnmpPatch-2.0.0-01.gz .
[root@ids1 snort-2.0.0]$ zcat SnortSnmpPatch-2.0.0-01.gz | patch -c
patching file output.0
patching file requests
patching file traces.0
patching file config.h.in
patching file config.h.in~
patching file config.status.lineno
patching file configure
patching file configure.in
patching file README.SNMP
patching file SnortCommonMIB.txt
patching file SnortIDAlertMIB.txt
can't find file to patch at input line 13396
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -crN snort-2.0.0.orig/etc/snort.conf snort-2.0.0/etc/snort.conf
|*** snort-2.0.0.orig/etc/snort.conf    Fri Apr  4 06:10:50 2003
|--- snort-2.0.0/etc/snort.conf Sun May 25 20:20:36 2003
--------------------------
File to patch:

Current thread: