1
0
Fork
You've already forked flowd
0
Automatically exported from code.google.com/p/flowd
  • C 72.1%
  • Yacc 6.7%
  • Python 5.6%
  • Roff 4.5%
  • Perl 3.4%
  • Other 7.7%
Find a file
2014年08月28日 09:43:09 +02:00
Flowd-perl - (djm) Require Carp for Flowd.pm. Pointed out by tholo AT sigmasoft.com 2009年10月01日 07:09:04 +00:00
tools - (djm) Unbreak flowinsert.pl 2007年10月10日 02:55:11 +00:00
.cvsignore - (djm) Make it compile on Solaris 9 (Perl module is still busted because 2005年08月25日 09:52:13 +00:00
aclocal.m4 fix substitution of paths into manpages 2004年07月30日 05:57:09 +00:00
addr.c correct test for strlcpy truncation 2012年06月21日 10:30:34 +10:00
addr.h - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
atomicio.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
atomicio.h - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
ChangeLog - (djm) Netflow v.9 storage was missing STORE_FIELD_FLOW_ENGINE_INFO 2010年11月01日 02:36:25 +00:00
closefrom.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
config.guess port to Linux (Fedora Core 2) 2004年07月29日 06:47:57 +00:00
config.sub port to Linux (Fedora Core 2) 2004年07月29日 06:47:57 +00:00
configure.ac - (djm) Released flowd-0.9.1 2008年07月25日 00:04:17 +00:00
crc32.c - (djm) Rename CRC32 functions to avoid collisions with zlib; 2006年10月21日 04:34:08 +00:00
crc32.h - (djm) Rename CRC32 functions to avoid collisions with zlib; 2006年10月21日 04:34:08 +00:00
daemon.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
filter.c - (djm) byte swap interface indices before testing them in filters 2008年07月24日 23:53:42 +00:00
filter.h - (djm) Add support for filtering input/output interface index. Requested 2007年05月10日 01:38:39 +00:00
flowd-common.h - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
flowd-pytypes.h.in - (djm) Add (src|dst|agent|gateway)_addr_af to Python API 2005年08月22日 12:12:56 +00:00
flowd-reader.8.in - (djm) Add a "head" mode to flowd-reader 2005年09月02日 10:44:26 +00:00
flowd-reader.c - (djm) Support flow-tools CSV output format in flowd-reader. Patch from 2008年04月23日 01:54:26 +00:00
flowd.8.in - (djm) Lots of spelling, grammar and text fixes from Tamas Tevesz. 2004年11月08日 23:23:58 +00:00
flowd.c fix format strings which use size_t arguments 2014年08月28日 09:43:09 +02:00
flowd.conf - (djm) Improve day filters, allowing lists and ranges of days 2005年05月14日 06:04:48 +00:00
flowd.conf.5.in - (djm) The old PACKETS_OCTETS store keyword has long been separated into 2009年10月01日 07:22:33 +00:00
flowd.h - (djm) Support for forwarding flow packets on to other flow collectors. 2009年10月01日 06:46:15 +00:00
flowd.init - (djm) Enable reload method in initscript, now that it works 2004年08月13日 05:06:44 +00:00
flowd.init.suse - (djm) Add RPM spec and init files for SuSE Linux from alshu AT tut.by 2005年12月26日 21:35:01 +00:00
flowd.spec - (djm) Released flowd-0.9.1 2008年07月25日 00:04:17 +00:00
flowd.spec.suse - (djm) Released flowd-0.9.1 2008年07月25日 00:04:17 +00:00
flowd_python.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
INSTALL mention spec files 2005年12月26日 21:37:20 +00:00
install-sh autoconf support, ripped from softflowd also fix some const violations shown 2004年07月29日 01:47:56 +00:00
LICENSE - (djm) Lots of portability goop to get flowd compiling of Solaris 9 2004年08月16日 08:01:13 +00:00
log.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
Makefile.in - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
mkinstalldirs more pre-release tweaks, most notably: manpages! 2004年07月30日 05:24:09 +00:00
netflow.h Initial support for IPFIX. Does not presently deal with 2014年08月22日 09:38:42 +02:00
parse.y - (djm) Support for forwarding flow packets on to other flow collectors. 2009年10月01日 06:46:15 +00:00
peer.c Initial support for IPFIX. Does not presently deal with 2014年08月22日 09:38:42 +02:00
peer.h Initial support for IPFIX. Does not presently deal with 2014年08月22日 09:38:42 +02:00
PLATFORMS - (djm) Lots of spelling, grammar and text fixes from Tamas Tevesz. 2004年11月08日 23:23:58 +00:00
privsep.c fix format strings which use size_t arguments 2014年08月28日 09:43:09 +02:00
privsep.h - (djm) Support for forwarding flow packets on to other flow collectors. 2009年10月01日 06:46:15 +00:00
privsep_fdpass.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
reader.pl - (djm) Update copyright years 2005年08月21日 11:17:02 +00:00
reader.py - (djm) Update copyright years 2005年08月21日 11:17:02 +00:00
README doc tweaks 2007年01月05日 05:03:28 +00:00
setproctitle.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
setup.py - (djm) Released flowd-0.9.1 2008年07月25日 00:04:17 +00:00
store-v2.c - (djm) Rename CRC32 functions to avoid collisions with zlib; 2006年10月21日 04:34:08 +00:00
store-v2.h - (djm) Update copyright years 2005年08月21日 11:17:02 +00:00
store.c fix a format string for 64-bit arches 2014年08月28日 09:41:45 +02:00
store.h - (djm) Support flow-tools CSV output format in flowd-reader. Patch from 2008年04月23日 01:54:26 +00:00
strlcat.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
strlcpy.c - (djm) Rename common.h -> flowd-common.h, always install it and 2005年10月13日 11:27:44 +00:00
sys-queue.h - (djm) Sync tree.h and queue.h with OpenBSD 2005年12月04日 02:31:48 +00:00
sys-tree.h - (djm) Sync tree.h and queue.h with OpenBSD 2005年12月04日 02:31:48 +00:00
TODO - (djm) Add support for filtering input/output interface index. Requested 2007年05月10日 01:38:39 +00:00

This is flowd, a NetFlow collector daemon intended to be small, fast and
secure. It works well with hardware flow probes (e.g. routers) softflowd[1],
pfflowd[2], and other software agents that export NetFlow v.1, v.5, v.7 or 
v.9 datagrams.
It features some basic filtering to limit or tag the flows that are
recorded and is privilege separated, to limit security exposure from
bugs in flowd itself. Flowd is IPv6 capable - supporting flow export via
IPv6 transport and NetFlow v.9 IPv6 flow records. It also supports reception
of flow datagrams sent to multicast groups, allowing one to build redundant 
flow gathering systems.
flowd does not try to do anything beyond accepting NetFlow packets and 
writing them to disk. In particular, it does not do any analysis and it
doesn't support storage into SQL databases. These tasks are left (in 
typical Unix fashion) to separate programs. Some example tools (including 
one to store flows in a SQL database) are provided in the tools/ directory.
At present, flowd is considered stable enough for production deployment. 
Some more features are planned before the 1.0 release (see the TODO file 
if you want to help), but everything that is documented should be working 
now. Please report any problems to djm@mindrot.org. Bugs may also be reported
using the Bugzilla at http://bugzilla.mindrot.org/
flowd stores records on disk in a compact binary format, see store.h
for a specification in the form of a C header file. Perl, Python and C
APIs are provided to managing the log files that flowd creates. Example 
applications are flowd-reader.c, reader.pl and reader.py. More useful 
applications live in the tools/ directory, please refer to the 
tools/README.tools file for an explanation of what they are. These example
apps will require that the relevant Perl/Python modules are installed as 
described in the INSTALL document.
This on-disk format is a parametised format capable of storing a
superset of NetFlow v.5, including the most common records from NetFlow
v.9. Exactly which components of the NetFlow records actually get
written to disk may be specified at runtime, so the logs can be made
quite compact by excluding information that is uninteresting to you.
An optional, per-record CRC32 checksum is provided to detect log
corruption. Efforts are made to ensure that flows are written atomically
to disk, and backed out when a write fails.
At present, flowd supports NetFlow v.1, v.5, v.7 and v.9 packet formats
over both IPv4 and IPv6 transports. Future plans include sflow and IETF
IPFIX protocol support (when it is finalised). See the TODO file in
this distribution for more information (and more interesting projects if
you are a prospective developer)
flowd is tested on OpenBSD and Linux. It may work on other platforms,
but will likely need some adjusting. Please refer to the PLATFORMS file
for detailed notes on platform support and testing.
Large parts of this code have been shamelessly taken from OpenBSD, in
particular bgpd (the configuration parser) and OpenSSH (the privsep
fd passing and CRC32 code), sudo and libc. All of this code is under
BSD-like licenses, but read the LICENSE file for details.
Damien Miller <djm@mindrot.org>
$Id$