From 68668bc076e7b5c0abf52aaac0f15c31506ea9e5 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Sat, 5 May 2012 03:02:35 +0000 Subject: sshdcond - fix, improve, test and publish namezero111111 package --- config/sshdcond/sshdcond.xml | 197 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 config/sshdcond/sshdcond.xml (limited to 'config/sshdcond/sshdcond.xml') diff --git a/config/sshdcond/sshdcond.xml b/config/sshdcond/sshdcond.xml new file mode 100644 index 00000000..0776873d --- /dev/null +++ b/config/sshdcond/sshdcond.xml @@ -0,0 +1,197 @@ + + + + . + All rights reserved. + */ +/* ========================================================================== */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 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. + */ +/* ========================================================================== */ + ]]> + + + sshdcond + 1.0 + SSH Conditional + SSH Conditional blocks + Save + /usr/local/pkg/sshdcond.inc + + + SSH Conditions + Configure SSH conditional exceptions +
Services
+ /pkg.php?xml=sshdcond.xml +
+ installedpackages->package->sshdcond + + + /usr/local/pkg/ + 755 + http://www.pfsense.com/packages/config/sshdcond/sshdcond.inc + + + /usr/local/pkg/ + 755 + http://www.pfsense.com/packages/config/sshdcond/sshdcond_sync.xml + + + + General + /pkg.php?xml=sshdcond.xml + + + + Sync + /pkg_edit.php?xml=sshdcond_sync.xml + + + + + Status + enable + + + Match Type + matchtype + + + Match Value + matchvalue + + + + + listtopic + Conditional SSH Options + temp + + + Enable + enable + checkbox + Enable this ssh conditional option for specified options. + + + Match Type + matchtype + See Match keyword at http://www.manpagez.com/man/5/sshd_config/ for options + select + + + + + + + + + + Match Value + matchvalue + Insert Match Value. Do not use spaces or special characters. + input + 40 + + + + Match Config + none + rowhelper + + + sshd option + sshdoption + select + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sshd value + sshdvalue + input + 60 + + + + + + + + sshdcond_custom_php_write_config(); + + + sshdcond_custom_php_write_config(); + + + sshdcond_custom_php_install_command(); + + + sshdcond_custom_php_deinstall_command(); + + + sshdcond_custom_php_write_config(); + + + unset($_POST['temp']); + + +
\ No newline at end of file -- cgit v1.2.3