diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-11-29 17:41:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-11-29 17:41:06 +0000 |
commit | c38fee6098897896de65b3cb18d83fe9c4171449 (patch) | |
tree | 872d3f88fd54ce6b6c4e76676469be5b4fd93d19 /usr/local/pkg/miniupnpd.xml | |
parent | 4c02f57a0c3bb8e0e045b9bb00f62ff83d73d42f (diff) | |
download | pfsense-c38fee6098897896de65b3cb18d83fe9c4171449.zip pfsense-c38fee6098897896de65b3cb18d83fe9c4171449.tar.gz |
MFC UPNP support6
Diffstat (limited to 'usr/local/pkg/miniupnpd.xml')
-rw-r--r-- | usr/local/pkg/miniupnpd.xml | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/usr/local/pkg/miniupnpd.xml b/usr/local/pkg/miniupnpd.xml new file mode 100644 index 0000000..fbe61f6 --- /dev/null +++ b/usr/local/pkg/miniupnpd.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="utf-8" ?> +<packagegui> + <title>Services: Miniupnpd</title> + <name>miniupnpd</name> + <version>20061129</version> + <savetext>Change</savetext> + <include_file>/usr/local/pkg/miniupnpd.inc</include_file> + <aftersaveredirect>status_upnp.php</aftersaveredirect> + <menu> + <name>Miniupnpd</name> + <tooltiptext>Set miniupnpd settings such as interfaces to listen on.</tooltiptext> + <section>Services</section> + <url>/status_upnp.php</url> + </menu> + <additional_files_needed> + <item>http://www.pfsense.org/packages/config/miniupnpd/miniupnpd.inc</item> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + </additional_files_needed> + <additional_files_needed> + <item>http://www.pfsense.org/packages/config/miniupnpd/status_upnp.php</item> + <prefix>/usr/local/www/</prefix> + <chmod>0755</chmod> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/sbin/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.com/packages/config/miniupnpd/sbin/miniupnpd</item> + </additional_files_needed> + <service> + <name>miniupnpd</name> + <rcfile>miniupnpd.sh</rcfile> + <executable>miniupnpd</executable> + </service> + <tabs> + <tab> + <text>UPNP Status</text> + <url>status_upnp.php</url> + </tab> + <tab> + <text>miniupnpd Settings</text> + <url>/pkg_edit.php?xml=miniupnpd.xml&id=0</url> + <active/> + </tab> + </tabs> + <fields> + <field> + <fielddescr>Interface (generally LAN)</fielddescr> + <fieldname>iface_array</fieldname> + <value>lan</value> + <multiple>true</multiple> + <size>3</size> + <type>interfaces_selection</type> + </field> + <field> + <fielddescr>Maximum Download Speed (Kbits/second)</fielddescr> + <fieldname>download</fieldname> + <type>input</type> + </field> + <field> + <fielddescr>Maximum Upload Speed (Kbits/second)</fielddescr> + <fieldname>upload</fieldname> + <type>input</type> + </field> + <field> + <fielddescr>Override WAN address</fielddescr> + <fieldname>overridewanip</fieldname> + <type>input</type> + </field> + <field> + <fielddescr>Log packets handled by miniupnpd rules?</fielddescr> + <fieldname>logpackets</fieldname> + <type>checkbox</type> + </field> + <field> + <fielddescr>Use system uptime instead of miniupnpd uptime?</fielddescr> + <fieldname>sysuptime</fieldname> + <type>checkbox</type> + </field> + </fields> + <custom_php_command_before_form> + before_form_miniupnpd(&$pkg); + </custom_php_command_before_form> + <custom_php_validation_command> + validate_form_miniupnpd($_POST, &$input_errors); + </custom_php_validation_command> + <custom_php_resync_config_command> + sync_package_miniupnpd(); + </custom_php_resync_config_command> + <custom_php_install_command> + sync_package_miniupnpd(); + </custom_php_install_command> + <custom_php_deinstall_command> + exec("rm -f /usr/local/etc/rc.d/miniupnpd*"); + </custom_php_deinstall_command> +</packagegui> |