Snort mailing list archives

Re: Snort 2.9, barnyard2, and unknown record types


From: Bhagya Bantwal <bbantwal () sourcefire com>
Date: Wed, 3 Nov 2010 14:33:18 -0400

This is a new event type we added for writing gzip decompressed data and XFF
ip with snort events. You might want to refer to the function
_AlertExtraData in src/output-plugins/spo_unified2.c or Unified2ExtraDataHdr
and SerialUnified2ExtraData in src/sfutil/Unified2_common.h

We have also added the u2spewfoo which reads all the snort event types (from
unified2) to the tools directory of snort.

-B
On Tue, Nov 2, 2010 at 3:10 PM, Rich Graves <rcgraves () gmail com> wrote:

I can't keep barnyard2 running on unified2 files generated by snort 2.9.0.1
(64-bit RHEL5). A couple times a day, it chokes on a bad record. This never
happened with 2.8.6.

I got things to "work" for a while by hacking barnyard2-1.9-beta1 to ignore
(return 0) record type 110, but now I'm seeing record type 4, which doesn't
even appear in sfutil/Unified2_common.h.

What should I be looking at to figure this out?

I've reverted production to 2.8.6. Still have a test running 2.9.

barnyard2[10254]: Opened spool file
'/var/log/snort/snort-unified2.log.1288720898'
barnyard2[10254]: WARNING: Unhandled UNIFIED2_EXTRA_DATA record type 110
barnyard2[10254]: FATAL ERROR: Unknown record type read: 4


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
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

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
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: