From c8539d3211d79c628b59bdcc3eb363cc00e93707 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Thu, 20 Nov 2014 16:09:48 -0200 Subject: squid3.4 - first package files --- config/squid3/34/squid_reverse_peer.xml | 167 ++++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100755 config/squid3/34/squid_reverse_peer.xml (limited to 'config/squid3/34/squid_reverse_peer.xml') diff --git a/config/squid3/34/squid_reverse_peer.xml b/config/squid3/34/squid_reverse_peer.xml new file mode 100755 index 00000000..eabc72ff --- /dev/null +++ b/config/squid3/34/squid_reverse_peer.xml @@ -0,0 +1,167 @@ + + + + + + . + 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. + */ +/* ========================================================================== */ + ]]> + + Describe your package here + Describe your package requirements here + Currently there are no FAQ items provided. + squidreversepeer + none + Reverse Proxy server: Peers + /usr/local/pkg/squid.inc + + + General + /pkg_edit.php?xml=squid_reverse_general.xml&id=0 + + + Web Servers + /pkg.php?xml=squid_reverse_peer.xml + + + + Mappings + /pkg.php?xml=squid_reverse_uri.xml + + + Redirects + /pkg.php?xml=squid_reverse_redir.xml + + + Real time + /squid_monitor.php?menu=reverse + + + Sync + /pkg_edit.php?xml=squid_reverse_sync.xml&id=0 + + + + + Status + enable + + + Alias + name + + + Ip address + ip + + + Port + port + + + Protocol + Protocol + + + Description + description + + + + + Squid Reverse Peer Mappings + listtopic + + + Enable this peer + enable + If this field is checked, then this peer will be available for reverse config. + checkbox + + + Peer Alias + name + + example: HOST1]]> + input + 20 + + + Peer IP + ip + + example: 192.168.0.1]]> + input + 20 + + + Peer Port + port + + example: 80]]> + input + 20 + + + Peer Protocol + protocol + + select + + + + + + + Peer Description + description + + input + 60 + + + + squid_before_form_general($pkg); + + + squid_validate_reverse($_POST, $input_errors); + + + squid_resync(); + + -- cgit v1.2.3