diff options
author | mrg <mrg@pkgsrc.org> | 2004-09-30 00:13:53 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2004-09-30 00:13:53 +0000 |
commit | 0ad68f841ddf3b12968602654426101f3734b12d (patch) | |
tree | 77244db8560c24796ce8e046ad11980a7f0a500e /net/flodo | |
parent | d858ecf1583b6aaa2d7822e4c32b946457affc92 (diff) | |
download | pkgsrc-0ad68f841ddf3b12968602654426101f3734b12d.tar.gz |
initial import of the flodo-v3 package. it works like a "vmstat/iostat"
program for the network, showing the top flows across a network interface.
Diffstat (limited to 'net/flodo')
-rw-r--r-- | net/flodo/DESCR | 11 | ||||
-rw-r--r-- | net/flodo/Makefile | 27 | ||||
-rw-r--r-- | net/flodo/PLIST | 2 | ||||
-rw-r--r-- | net/flodo/distinfo | 4 |
4 files changed, 44 insertions, 0 deletions
diff --git a/net/flodo/DESCR b/net/flodo/DESCR new file mode 100644 index 00000000000..621724fa443 --- /dev/null +++ b/net/flodo/DESCR @@ -0,0 +1,11 @@ +i frequently want to know what the top few network flows are... and yet +there didn't seem to be any tool which was as simple to use as "vmstat" +or "iostat". this tool fills that void for me. + +with the default options flodo will dump the top 20 flows every 5 seconds. + +flodo is quite basic at this point, understanding only ethernet frames, +ipv4, tcp, and udp. + +flodo can't even do reverse DNS and doesn't bother mapping port numbers +to services or display icmp or ethernet protocol names. diff --git a/net/flodo/Makefile b/net/flodo/Makefile new file mode 100644 index 00000000000..ae53869291a --- /dev/null +++ b/net/flodo/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/09/30 00:13:53 mrg Exp $ +# + +DISTNAME= flodo-v3 +PKGNAME= flodo-3-20040907 +CATEGORIES= net +MASTER_SITES= http://arctic.org/~dean/flodo/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= tech-pkg@netbsd.org +HOMEPAGE= http://arctic.org/~dean/flodo/ +COMMENT= simple network flow sampling tool + +USE_BUILDLINK3= yes +USE_BUILTIN.libpcap= no # NetBSD's libpcap is very old. + +CPPFLAGS+= -I${BUILDLINK_PREFIX.libpcap}/include +LDFLAGS+= -L${BUILDLINK_PREFIX.libpcap}/lib + +do-build: + cd ${WRKSRC}; ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o flodo flodo.c -lpcap + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/flodo ${PREFIX}/sbin + +.include "../../net/libpcap/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/flodo/PLIST b/net/flodo/PLIST new file mode 100644 index 00000000000..90e17156b10 --- /dev/null +++ b/net/flodo/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/30 00:13:53 mrg Exp $ +sbin/flodo diff --git a/net/flodo/distinfo b/net/flodo/distinfo new file mode 100644 index 00000000000..541b2155a0b --- /dev/null +++ b/net/flodo/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/09/30 00:13:53 mrg Exp $ + +SHA1 (flodo-v3.tar.bz2) = 84b8ee60bc01ab982b9b9373058583a3dabbd7a0 +Size (flodo-v3.tar.bz2) = 5742 bytes |