[Snort-users] Snort 2GB limit
cpw at ...440...
Fri Feb 15 08:58:41 EST 2002
If you are running linux, change to the source to pcap and put the following
somewhere before the #include(s) statements in savefile.c:
#define _FILE_OFFSET_BITS 64
Them make clean, make. Then, go to snort source directory:
This all assumes you have both the source to pcap and the source to snort
and now how to build libpcap based applications and have correct include
and library directives in your Makefile.
If you expect other files, created by snort to get large, then you would
have to do a similar thing. You can also just -D those two defines in
somewhere in your Makefiles for the various applications that do big
files. Something like this:
CFLAGS = -O2 -g -Wall -D_FILE_OFFSET_BITS 64 -D_LARGEFILE64_SOURCE
is what I would do to the Makefile for snort.
On Fri, Feb 15, 2002 at 10:09:31AM -0600, Chris Eidem wrote:
> Sounds like an OS limitation, what are you running?
> - chris
> > -----Original Message-----
> > From: Lyle Sudin [mailto:lylesudin at ...131...]
> > Sent: Friday, February 15, 2002 8:09 AM
> > To: snort-users at lists.sourceforge.net
> > Subject: [Snort-users] Snort 2GB limit
> > Is there an inherent 2GB limit for snort? My system supports files >
> > 2GB but when I run snort in binary mode it stops cold at 2GB.
> > Is there
> > something I am missing here? snort was run simply as:
> > snort -l /data -b -D
> > It works fine up to 2GB.
> > Thanks,
> > Lyle
> > _______________________________________________
> > Snort-users mailing list
> > Snort-users at 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
> Snort-users mailing list
> Snort-users at lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> Snort-users list archive:
Phil Wood, cpw at ...440...
More information about the Snort-users