From 55a1c5c373be3969e1bd84bde007c12b11f0c24e Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sun, 6 Mar 2005 05:51:03 +0000 Subject: *** empty log message *** --- packages/netio.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ packages/netioserver.xml | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 packages/netio.xml create mode 100644 packages/netioserver.xml (limited to 'packages') diff --git a/packages/netio.xml b/packages/netio.xml new file mode 100644 index 00000000..259f633d --- /dev/null +++ b/packages/netio.xml @@ -0,0 +1,48 @@ + + netio + 1.14 + 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 + + + + http://www.pfsense.com/packages/config/netioserver.xml + + + + Server + hostname + Enter the IP address or hostname that iperf will connect to. + input + + + Port + port + Enter the port that iperf will connect to. (default 5001) + input + + + + $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.xml b/packages/netioserver.xml new file mode 100644 index 00000000..24716bdb --- /dev/null +++ b/packages/netioserver.xml @@ -0,0 +1,36 @@ + + netioserver + 1.14 + netio: Server + 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 + + + + + Port + port + Enter the port that iperf will connect to. (default 5001) + input + + + + if($_POST['port'] != "") $netioserver_options = " -p {$_POST['port']}"; + system("/usr/local/bin/netio -s" . $netioserver_options); + +
+ -- cgit v1.2.3