From 835c60a0917b47aa22e4ed9ea0113381fb920f1b Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 26 Aug 2015 17:12:44 +0200 Subject: tinc - pfSense 2.2.x fixes, code style and improvements - Fix copyright header - Nuke unused tags - Add input validation --- config/tinc/tinc_hosts.xml | 121 ++++++++++++++++++++++++--------------------- 1 file changed, 64 insertions(+), 57 deletions(-) (limited to 'config/tinc') diff --git a/config/tinc/tinc_hosts.xml b/config/tinc/tinc_hosts.xml index 7741b7be..f210f23a 100644 --- a/config/tinc/tinc_hosts.xml +++ b/config/tinc/tinc_hosts.xml @@ -1,57 +1,54 @@ - - + + - - + - - tinc Hosts - - Currently there are no FAQ items provided. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +*/ +/* ====================================================================================== */ + ]]> + tinchosts - 1.0.19 + 1.2.2 VPN: tinc - Hosts - + /usr/local/pkg/tinc.inc ['installedpackages']['package']['$packagename']['config'] - Config - /pkg_edit.php?xml=tinc_config.xml + /pkg_edit.php?xml=tinc.xml Hosts @@ -60,9 +57,6 @@ enabled - - Name @@ -83,20 +77,20 @@ - Name name Name of this host. input + Address address IP address or hostname of server. input + Subnet @@ -104,6 +98,7 @@ Subnet behind host (like 192.168.254.0/24) input 50 + Connect at Startup @@ -114,7 +109,11 @@ RSA public key cert_pub - RSA public key used for this host. Include the BEGIN and END lines.<br> + + Include the BEGIN and END lines.
+ ]]> +
textarea base64 7 @@ -123,7 +122,11 @@ Extra Parameters extra - Anything entered here will be added just prior to the public certiciate in the host configuration file. <br> + + + ]]> + textarea base64 8 @@ -133,7 +136,11 @@ Host Up Script host_up - This script will be run when this host becomes reachable. <br> + + + ]]> + textarea base64 8 @@ -143,25 +150,25 @@ Host Down Script host_down - This script will be run when this host becomes unreachable. <br> + + + ]]> + textarea base64 8 65 -
- /usr/local/pkg/tinc.inc - - + tinc_save(); - - - - tinc_save(); + + tinc_validate_input($_POST, $input_errors); +
-- cgit v1.2.3