aboutsummaryrefslogtreecommitdiffstats
path: root/net/trafshow4
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-05-01 15:52:09 +0800
committerjkh <jkh@FreeBSD.org>1996-05-01 15:52:09 +0800
commitccbe2d72d01531179e8ae3251c94377cfd822f54 (patch)
tree6a10632d0d1b77b8aa503c93000d774acaff95e2 /net/trafshow4
parent06b5250bbc97bdf1977abaf3f8aeb462d2a06da9 (diff)
downloadfreebsd-ports-gnome-ccbe2d72d01531179e8ae3251c94377cfd822f54.tar.gz
freebsd-ports-gnome-ccbe2d72d01531179e8ae3251c94377cfd822f54.tar.zst
freebsd-ports-gnome-ccbe2d72d01531179e8ae3251c94377cfd822f54.zip
Bring in trafshow - a utility for viewing network traffic. I think
this one adheres to Satoshi's stringent standards about Makefile variable ordering! :-) Submitted by: igor@pkaub.ru
Diffstat (limited to 'net/trafshow4')
-rw-r--r--net/trafshow4/Makefile22
-rw-r--r--net/trafshow4/distinfo1
-rw-r--r--net/trafshow4/pkg-comment1
-rw-r--r--net/trafshow4/pkg-descr12
-rw-r--r--net/trafshow4/pkg-plist6
5 files changed, 42 insertions, 0 deletions
diff --git a/net/trafshow4/Makefile b/net/trafshow4/Makefile
new file mode 100644
index 000000000000..e517349bb35d
--- /dev/null
+++ b/net/trafshow4/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: trafshow
+# Version required: 2.0
+# Date created: 17 January 1996
+# Whom: igor@pkaub.ru
+#
+
+DISTNAME= trafshow-2.0
+CATEGORIES+= net
+MASTER_SITES= ftp://ftp.kiae.su/unix/tcpip/netmaint/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= igor@pkaub.ru
+
+NO_CONFIGURE= YES
+
+post-install:
+ strip ${PREFIX}/bin/trafshow
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/trafshow.1
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/trafshow4/distinfo b/net/trafshow4/distinfo
new file mode 100644
index 000000000000..cd589125857d
--- /dev/null
+++ b/net/trafshow4/distinfo
@@ -0,0 +1 @@
+MD5 (trafshow-2.0.tgz) = d977e8605ed8bae90c06bd31f38eff3e
diff --git a/net/trafshow4/pkg-comment b/net/trafshow4/pkg-comment
new file mode 100644
index 000000000000..902690fed847
--- /dev/null
+++ b/net/trafshow4/pkg-comment
@@ -0,0 +1 @@
+trafshow v2.0 - Full screen visualization of the network traffic.
diff --git a/net/trafshow4/pkg-descr b/net/trafshow4/pkg-descr
new file mode 100644
index 000000000000..3b31da744837
--- /dev/null
+++ b/net/trafshow4/pkg-descr
@@ -0,0 +1,12 @@
+TrafShow continuously display the information regarding packet
+traffic on the configured network interface that match the boolean
+expression. It periodically sort and updates this information. It
+may be useful for locating suspicious network traffic on the net.
+
+To use TrafShow, your kernel must be rebuilt with the following line
+added to your kernel config file (/sys/i386/conf/<YourMachine>):
+
+pseudo-device bpfilter 4 # Berkeley packet filter
+
+The number of devices determines the maximum number of simultaneous
+BPF clients programs runnable. See /sys/i386/conf/LINT for details.
diff --git a/net/trafshow4/pkg-plist b/net/trafshow4/pkg-plist
new file mode 100644
index 000000000000..746821ccbb3f
--- /dev/null
+++ b/net/trafshow4/pkg-plist
@@ -0,0 +1,6 @@
+@owner bin
+@group wheel
+@mode 750
+bin/trafshow
+@mode 644
+man/man1/trafshow.1.gz