Hello Mark,
We use flow-tools at the University of Florida for our NetFlow analysis. Thank
you for your development efforts.
For us, a full day of flow data in typically from 25GB to 100GB compressed.
In order to work with that much flow data, I needed to recompile flow-tools
with large file support.
I've written and attached a patch to flow-tools' configure.in file to allow the
builder to optionally enable large file support with an "--enable-lfs"
configure argument. The patch is public domain.
I hope this will patch make flow-tools more useful to others.
Many Linux Distributions and operating system vendors have been compiling
all application with large file support by default for some time now because
there is little overhead involved in doing so. You may wish to do that with
flow-tools as well.
I submit a patch which makes it an option because some older OS's and old
versions of Linux Distro's have incomplete or broken implementations of
large file support, and because I expect many of flow-tools' users do not
need the feature.
NOTE: If you're an end user and you want to use this patch, you'll need
to run:
bash$ aclocal;automake;autoconf
after patching and before re-running configure and recompiling.
Thanks,
- VAB
--
V. Alex Brennen [EMAIL PROTECTED]
http://cryptnet.net/people/vab/
diff -urN flow-tools-0.67/configure.in flow-tools-0.67.vab/configure.in
--- flow-tools-0.67/configure.in 2003-12-04 01:18:15.000000000 -0500
+++ flow-tools-0.67.vab/configure.in 2005-04-09 21:40:41.875552184 -0500
@@ -141,6 +141,21 @@
[AC_MSG_RESULT(no)],
)
+dnl Allow the user to enable large file support
+AC_ARG_ENABLE(lfs, AC_HELP_STRING([--enable-lfs],
+ [Enable Large File Support. (default=no)]),
+ [
+ if test "x$enable_lfs" = xyes; then
+ AC_MSG_NOTICE([Large File Support Enabled.])
+ ifelse(AC_ACVERSION, [2.13],
+ [
+ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
+ ],
+ [
+ AC_SYS_LARGEFILE
+ ])
+ fi
+ ],[])
AC_OUTPUT(lib/Makefile src/Makefile Makefile docs/Makefile lib/ftpaths.h configs/Makefile docs/flow-capture.1 docs/flow-capture.html docs/flow-nfilter.1 docs/flow-nfilter.html docs/flow-print.1 docs/flow-print.html docs/flow-report.1 docs/flow-report.html docs/flow-receive.1 docs/flow-receive.html docs/flow-tag.1 docs/flow-tag.html docs/flow-mask.1 docs/flow-mask.html docs/flow-fanout.1 docs/flow-fanout.html docs/flow-xlate.1 docs/flow-xlate.html)
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools