aboutsummaryrefslogtreecommitdiffstats
path: root/config/igmpproxy/igmpproxy.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/igmpproxy/igmpproxy.xml')
-rw-r--r--config/igmpproxy/igmpproxy.xml149
1 files changed, 149 insertions, 0 deletions
diff --git a/config/igmpproxy/igmpproxy.xml b/config/igmpproxy/igmpproxy.xml
new file mode 100644
index 00000000..4b1e08fe
--- /dev/null
+++ b/config/igmpproxy/igmpproxy.xml
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
+<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
+<packagegui>
+ <copyright>
+ <![CDATA[
+/* $Id$ */
+/* ========================================================================== */
+/*
+ igmpproxy.xml
+ part of pfSense (http://www.pfSense.com)
+ Copyright (C) 2009 Ermal Luci
+ 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.
+ */
+/* ========================================================================== */
+ ]]>
+ </copyright>
+ <name>igmpproxy</name>
+ <title>Services: IGMP proxy</title>
+ <include_file>/usr/local/pkg/igmpproxy.inc</include_file>
+ <service>
+ <name>igmpproxy</name>
+ <rcfile>igmpproxy.sh</rcfile>
+ <executable>igmpproxy</executable>
+ <description>IGMP(multicast) proxy.</description>
+ </service>
+ <additional_files_needed>
+ <item>http://www.pfsense.org/packages/config/igmpproxy/igmpproxy.inc</item>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ </additional_files_needed>
+ <additional_files_needed>
+ <item>http://www.pfsense.org/packages/config/igmpproxy/firewall_rules_edit.tmp</item>
+ <prefix>/tmp/</prefix>
+ <chmod>0755</chmod>
+ </additional_files_needed>
+ <additional_files_needed>
+ <item>http://www.pfsense.org/packages/config/igmpproxy/filter.tmp</item>
+ <prefix>/tmp/</prefix>
+ <chmod>0755</chmod>
+ </additional_files_needed>
+ <additional_files_needed>
+ <item>http://www.pfsense.org/packages/config/igmpproxy/igmpproxy.tbz</item>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ </additional_files_needed>
+ <delete_string>An IGMP(multicast) proxy member has been deleted.</delete_string>
+ <addedit_string>An IGMP(multicast) proxy member has been created/modified.</addedit_string>
+ <adddeleteeditpagefields>
+ <columnitem>
+ <fieldname>igmpname</fieldname>
+ <fielddescr>Name</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>igmptype</fieldname>
+ <fielddescr>Type</fielddescr>
+ </columnitem>
+ <columnitem>
+ <fieldname>description</fieldname>
+ <fielddescr>Description</fielddescr>
+ </columnitem>
+ </adddeleteeditpagefields>
+ <fields>
+ <field>
+ <fieldname>igmpname</fieldname>
+ <fielddescr>Interface</fielddescr>
+ <required/>
+ <type>interfaces_selection</type>
+ </field>
+ <field>
+ <fieldname>description</fieldname>
+ <fielddescr>Description</fielddescr>
+ <type>input</type>
+ </field>
+ <field>
+ <fieldname>igmptype</fieldname>
+ <fielddescr>Type</fielddescr>
+ <description>The upstream network interface is the outgoing interface which is
+ responsible for communicating to available multicast data sources.
+ There can only be one upstream interface.
+ Downstream network interfaces are the distribution interfaces to the
+ destination networks, where multicast clients can join groups and
+ receive multicast data. One or more downstream interfaces must be configured.</description>
+ <required/>
+ <type>select</type>
+ <options>
+ <option>
+ <value>upstream</value>
+ <name>Upstream Interface</name>
+ </option>
+ <option>
+ <value>downstream</value>
+ <name>Downstream Interface</name>
+ </option>
+ </options>
+ <default_value>upstream</default_value>
+ </field>
+ <field>
+ <fieldname>igmpthreshold</fieldname>
+ <fielddescr>Threshold</fielddescr>
+ <description>Defines the TTL threshold for the network interface. Packets
+ with a lower TTL than the threshols value will be ignored. This
+ setting is optional, and by default the threshold is 1.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Networks</fielddescr>
+ <fieldname>none</fieldname>
+ <type>rowhelper</type>
+ <rowhelper>
+ <rowhelperfield>
+ <fielddescr>Network Address</fielddescr>
+ <type>input</type>
+ <size>25</size>
+ <fieldname>igmpnetaddr</fieldname>
+ </rowhelperfield>
+ </rowhelper>
+ </field>
+ </fields>
+ <custom_php_resync_config_command>
+ igmpproxy_resync();
+ </custom_php_resync_config_command>
+ <custom_php_install_command>
+ igmpproxy_install();
+ </custom_php_install_command>
+</packagegui>