From 55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Fri, 6 Feb 2009 19:18:00 -0600 Subject: mv packages to config dir to match web layout --- packages/frickin/bin/frickin | Bin 470088 -> 0 bytes packages/frickin/frickin.inc | 137 ------------------------------------------- packages/frickin/frickin.xml | 89 ---------------------------- 3 files changed, 226 deletions(-) delete mode 100755 packages/frickin/bin/frickin delete mode 100644 packages/frickin/frickin.inc delete mode 100644 packages/frickin/frickin.xml (limited to 'packages/frickin') diff --git a/packages/frickin/bin/frickin b/packages/frickin/bin/frickin deleted file mode 100755 index 450dd733..00000000 Binary files a/packages/frickin/bin/frickin and /dev/null differ diff --git a/packages/frickin/frickin.inc b/packages/frickin/frickin.inc deleted file mode 100644 index ac7c7572..00000000 --- a/packages/frickin/frickin.inc +++ /dev/null @@ -1,137 +0,0 @@ - Advanced -> Scrub", "pfSenses scrub option has been disabled. See http://www.openbsd.org/faq/pf/scrub.html for more info.", "Scrub"); -// $config['system']['scrubnodf'] = "enabled"; -// write_config(); - - filter_configure(); -} - -function frickin_custom_php_deinstall_command() { - global $config; - -// unset($config['system']['scrubnodf']); -// file_notice("System -> Advanced -> Scrub", "pfSenses scrub option has been enabled. See http://www.openbsd.org/faq/pf/scrub.html for more info.", "Scrub"); -// write_config(); - - unlink_if_exists("/usr/local/etc/rc.d/frickin.sh"); - unlink_if_exists("/usr/local/bin/frickin"); - - mwexec("killall frickin"); - - filter_configure(); -} - -function frickin_generate_rules($type) { - global $config; - - $rules = ""; - - $frickin_conf = $config['installedpackages']['frickin']['config'][0]; - if (!is_process_running('frickin')) { - log_error("Frickin is installed but not started. Not installing redirect rules."); - return; - } - - $ifaces = explode(',', $frickin_conf['active_interface']); - $ifaces = array_map('convert_friendly_interface_to_real_interface_name', $ifaces); - - switch($type) { - case 'nat': - foreach ($ifaces as $iface) { - if(!$iface) { - //log_error("Not installing frickin pptp proxy rule. Please set it up"); - //continue; - } - $rules .= "rdr on $iface proto tcp from any to any port = 1723 -> 127.0.0.1\n"; - $rules .= "rdr on $iface inet proto gre all -> 127.0.0.1\n"; - } - break; - case 'filter': - $ext_if = get_real_wan_interface(); - $rules .= "pass out on $ext_if proto gre from any to any keep state\n"; - $rules .= "pass in on $ext_if proto gre from any to any keep state\n"; - break; - default: - break; - } - - return $rules; -} - -?> \ No newline at end of file diff --git a/packages/frickin/frickin.xml b/packages/frickin/frickin.xml deleted file mode 100644 index 6df9694e..00000000 --- a/packages/frickin/frickin.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - . - 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. - frickin - 2.0-BETA1 - none - /usr/local/pkg/frickin.inc - - Frickin PPTP - Setup Frickin PPTP Proxy specific settings -
Services
- /pkg_edit.php?xml=frickin.xml&id=0 -
- installedpackages->package->frickin->configuration->settings - - /usr/local/pkg/ - 077 - http://www.pfsense.com/packages/config/frickin/frickin.inc - - - /usr/local/bin/ - 077 - http://www.pfsense.com/packages/config/frickin/bin/frickin - - - - Proxy interface - active_interface - The interface(s) the proxy server will bind to. - interfaces_selection - - lan - - - - - frickin_custom_php_install_command(); - - - frickin_custom_php_install_command(); - - - frickin_custom_php_deinstall_command(); - -
-- cgit v1.2.3