Snort mailing list archives

Re: Snort 2.0 SNMP patch erroring out


From: Kohei OHTA <kohei () cysols com>
Date: Tue, 05 Aug 2003 15:56:10 +0900

Hi,

Please try steps bellow.

1. extract snort-2.0.0.tar.gz and SnortSnmp-2.0.0-01.tgz
2. gunzip SnortSnmpPatch-2.0.0-01.gz
3.
  % cd snort-2.0.0
  % patch -p1 < ../SnortSnmpPatch-2.0.0-01

Kohei.

Gary Danko wrote:
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:


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: