From 9b28ddf1f1cc992e1a3e62b6c4d457c05458d55b Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Mon, 1 Aug 2005 22:48:15 +0000 Subject: Add files for reformatted netio package. --- packages/netio-newpkg.xml | 75 +++++++++++++++++++++++++++++++++++++++++ packages/netioserver-newpkg.xml | 39 +++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 packages/netio-newpkg.xml create mode 100644 packages/netioserver-newpkg.xml (limited to 'packages') diff --git a/packages/netio-newpkg.xml b/packages/netio-newpkg.xml new file mode 100644 index 00000000..3343b8be --- /dev/null +++ b/packages/netio-newpkg.xml @@ -0,0 +1,75 @@ + + + + + netio + This is a network benchmark for DOS, OS/2 2.x, Windows NT/2000 and Unix. It measures the net throughput of a network via NetBIOS and/or TCP/IP protocols (Unix and DOS only support TCP/IP) using various different packet sizes. + Network Management + 1.14 + ALPHA + + + + package + http://ftp2.freebsd.org/pub/FreeBSD/ports/i386/packages-6-current/All/netio-1.14.tbz + + + configfile + http://www.pfsense.com/packages/config/netioserver.xml + + + + + netio + netio + + + + netio: Client + true + yes + + + netio + Run netio in client or server mode. +
Diagnostics
+ netio.xml +
+
+ + + Client + /pkg_edit.php?xml=netio.xml + + + + Server + /pkg_edit.php?xml=netioserver.xml + + + + + Server + hostname + Enter the IP address or hostname that netio will connect to. + input + + + Port + port + Enter the port that netio will connect to. (default 18767) + input + + +
+ + + stop_service("netio"); + $netio_options = ""; + if($_POST['port'] != "") $netio_options .= " -p {$_POST['port']}"; + $netio_options .= $_POST['hostname']; + system("/usr/local/bin/netio " . $netio_options); + + +
+ diff --git a/packages/netioserver-newpkg.xml b/packages/netioserver-newpkg.xml new file mode 100644 index 00000000..bc2713da --- /dev/null +++ b/packages/netioserver-newpkg.xml @@ -0,0 +1,39 @@ + + + + + netioserver + + + netio: Server + true + yes + + + Client + /pkg_edit.php?xml=netio.xml + + + Server + /pkg_edit.php?xml=netioserver.xml + + + + + + Port + port + Enter the port that netio will bind to. (default 18767) + input + + + + + + stop_service("netio"); + if($_POST['port'] != "") $netioserver_options = " -p {$_POST['port']}"; + system("/usr/local/bin/netio -s" . $netioserver_options); + + + + -- cgit v1.2.3