From a2f7948e8f4baacb7a631ade67c1a9a83b38ed5b Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 15:18:57 +0100 Subject: Add privileges configuration to netio package; sanitize input --- config/netio/netio.xml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/config/netio/netio.xml b/config/netio/netio.xml index 34f188c2..0c66f5e2 100644 --- a/config/netio/netio.xml +++ b/config/netio/netio.xml @@ -42,16 +42,21 @@ ]]> netio - 1.27 - netio: Client + 1.28 + Diagnostics: netio: Client + Run netio client yes true netio - Run netio in client or server mode.
Diagnostics
- netio.xml + /pkg_edit.php?xml=netio.xml
+ + netio + netio + netio Network Throughput Benchmark Server/Client + Client @@ -64,6 +69,11 @@ + /etc/inc/priv/ + https://packages.pfsense.org/packages/config/netio/netio.priv.inc + + + /usr/local/pkg/ https://packages.pfsense.org/packages/config/netio/netioserver.xml @@ -83,11 +93,11 @@ -- cgit v1.2.3 From 07093f7775a117b989fea168ae25d329b7c3738a Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 15:20:29 +0100 Subject: Add privileges configuration to netio package --- config/netio/netio.priv.inc | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 config/netio/netio.priv.inc diff --git a/config/netio/netio.priv.inc b/config/netio/netio.priv.inc new file mode 100644 index 00000000..f07d33dc --- /dev/null +++ b/config/netio/netio.priv.inc @@ -0,0 +1,43 @@ + -- cgit v1.2.3 From 6819b9709afc654eaf2bad09ceaf3ddf510ee019 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 15:21:47 +0100 Subject: Sanitize input and cleanups --- config/netio/netioserver.xml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/config/netio/netioserver.xml b/config/netio/netioserver.xml index da73e902..93d53a6e 100644 --- a/config/netio/netioserver.xml +++ b/config/netio/netioserver.xml @@ -42,16 +42,11 @@ ]]> netioserver - 1.27 - netio: Server + 1.28 + Diagnostics: netio: Server + Run netio server yes true - - netio - Run netio in client or server mode. -
Diagnostics
- netio.xml -
Client @@ -74,9 +69,9 @@ -- cgit v1.2.3 From 8e22c484c6920ac92c5bffa027d56697e38ed4a9 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 15:22:36 +0100 Subject: Bump netio package version --- pkg_config.10.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.10.xml b/pkg_config.10.xml index e3089783..9ebdcd7c 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -1029,7 +1029,7 @@ Network Management https://packages.pfsense.org/packages/config/netio/netio.xml netio-1.26-##ARCH##.pbi - 1.27 + 1.28 2.2 ALPHA netio.xml -- cgit v1.2.3 From fa9cf9963b611b6564720d64c6743111462b6bd2 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 15:23:22 +0100 Subject: Bump netio package version --- pkg_config.8.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg_config.8.xml b/pkg_config.8.xml index c4e1c8d4..8d7b8a1a 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1083,8 +1083,8 @@ https://files.pfsense.org/packages/8/All netio-1.26.tbz netio-1.26-i386.pbi - 1.26 - 2.0 + 1.28 + 2.1 ALPHA netio.xml /usr/ports/benchmarks/netio -- cgit v1.2.3 From 376d733871dce1027e7901422bec84d9dea4d1d5 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 15:24:09 +0100 Subject: Bump netio package version --- pkg_config.8.xml.amd64 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 204e1e82..c6c0b31e 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1070,8 +1070,8 @@ https://files.pfsense.org/packages/amd64/8/All netio-1.26.tbz netio-1.26-amd64.pbi - 1.26 - 2.0 + 1.28 + 2.1 ALPHA netio.xml /usr/ports/benchmarks/netio -- cgit v1.2.3 From e9ebf58eeb1c40db9f04dcf36ccc41893fbeda33 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 15:28:47 +0100 Subject: Add default port value --- config/netio/netio.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/netio/netio.xml b/config/netio/netio.xml index 0c66f5e2..3bb079d8 100644 --- a/config/netio/netio.xml +++ b/config/netio/netio.xml @@ -88,6 +88,7 @@ port Enter the port that netio will connect to. (Default: 18767) input + 18767
-- cgit v1.2.3 From a1d5c2f568c0cefa4b2f5117658b81cb9534df39 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 15:29:31 +0100 Subject: Add default port value --- config/netio/netioserver.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/netio/netioserver.xml b/config/netio/netioserver.xml index 93d53a6e..bbe32665 100644 --- a/config/netio/netioserver.xml +++ b/config/netio/netioserver.xml @@ -64,6 +64,7 @@ port Enter the port that netio will bind to. (Default: 18767) input + 18767 -- cgit v1.2.3