Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12657 closed defect (fixed)

LuCI uPnP error on r34812

Reported by: anonymous Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Please see image, tested on wrd3600 and 1043nd.
Many thanks

Attachments (1)

Schermata 2012-12-21 alle 14.49.03.png (32.1 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by anonymous

comment:1 Changed 5 years ago by jow

  • Priority changed from normal to response-needed

Open the source view of the broken page and attach the contents here.

comment:2 Changed 5 years ago by anonymous

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/cascade.css" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie7.css" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie8.css" /><![endif]-->
<script type="text/javascript" src="/luci-static/resources/xhr.js"></script>
<title>OpenWrt - UPNP - LuCI</title>
</head>
<body class="lang_auto">

<p class="skiplink">
<span id="skiplink1"><a href="#navigation">Skip to navigation</a></span>
<span id="skiplink2"><a href="#content">Skip to content</a></span>
</p>

<div id="menubar">
<h2 class="navigation"><a id="navigation" name="navigation">Navigation</a></h2>

<div class="hostinfo">
	OpenWrt | OpenWrt Barrier Breaker r34812 |
	Load: 2.77 2.53 1.44
	<span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
		| Auto Refresh:
		<span id="xhr_poll_status_on">on</span>
		<span id="xhr_poll_status_off" style="display:none">off</span>
	</span>
</div>



<div id="savemenu">
	<a href="#">Changes: 0</a>
	</div>

<div class="clear"></div>
</div>

<div id="maincontainer">
	<div id="tabmenu">
		
	<div class="tabmenu1">
	<ul class="tabmenu l1">
		
			<li class="tabmenu-item-status">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/status/">Status</a>
			</li>
		
			<li class="tabmenu-item-system">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/system/">System</a>
			</li>
		
			<li class="tabmenu-item-services active">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/">Services</a>
			</li>
		
			<li class="tabmenu-item-network">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/network/">Network</a>
			</li>
		
			<li class="tabmenu-item-logout">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/logout/">Logout</a>
			</li>
		
	</ul>
	<br style="clear:both" />

	<div class="tabmenu2">
	<ul class="tabmenu l2">
		
			<li class="tabmenu-item-ddns">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/ddns/">Dynamic DNS</a>
			</li>
		
			<li class="tabmenu-item-hd_idle">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/hd_idle/">hd-idle</a>
			</li>
		
			<li class="tabmenu-item-upnp active">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp/">UPNP</a>
			</li>
		
			<li class="tabmenu-item-samba">
				<a href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/samba/">Network Shares</a>
			</li>
		
	</ul>
	<br style="clear:both" />

	</div>

	</div>

	</div>

	<div id="maincontent">
		<noscript>
			<div class="errorbox">
				<strong>Java Script required!</strong><br />
				You must enable Java Script in your browser or LuCI will not work properly.
			</div>
		</noscript>

<form method="post" name="cbi" action="" enctype="multipart/form-data" onreset="return cbi_validate_reset(this)" onsubmit="return cbi_validate_form(this, 'Some fields are invalid, cannot save values!')">
	<div>
		<script type="text/javascript" src="/luci-static/resources/cbi.js"></script>
		<input type="hidden" name="cbi.submit" value="1" />
		<input type="submit" value="Save" class="hidden" />
	</div>
<div class="cbi-map" id="cbi-upnpd">
	<h2><a id="content" name="content">Universal Plug & Play</a></h2>
	<div class="cbi-map-descr">UPnP allows clients in the local network to automatically configure the router.</div><script type="text/javascript">//<![CDATA[
	function upnp_delete_fwd(idx) {
		XHR.get('/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp/delete/' + idx, null,
			function(x)
			{
				var tb = document.getElementById('upnp_status_table');
				if (tb && (idx < tb.rows.length))
					tb.rows[0].parentNode.removeChild(tb.rows[idx]);
			}
		);
	}

	XHR.poll(5, '/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp/status', null,
		function(x, st)
		{
			var tb = document.getElementById('upnp_status_table');
			if (st && tb)
			{
				/* clear all rows */
				while( tb.rows.length > 1 )
					tb.deleteRow(1);

				for( var i = 0; i < st.length; i++ )
				{
					var tr = tb.insertRow(-1);
						tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((i % 2) + 1);

					tr.insertCell(-1).innerHTML = st[i].proto;
					tr.insertCell(-1).innerHTML = st[i].extport;
					tr.insertCell(-1).innerHTML = st[i].intaddr;
					tr.insertCell(-1).innerHTML = st[i].intport;

					tr.insertCell(-1).innerHTML = String.format(
						'<input class="cbi-button cbi-input-remove" type="button" value="Delete Redirect" onclick="upnp_delete_fwd(%d)" />',
							st[i].num
					);
				}

				if( tb.rows.length == 1 )
				{
					var tr = tb.insertRow(-1);
						tr.className = 'cbi-section-table-row';

					var td = tr.insertCell(-1);
						td.colSpan = 5;
						td.innerHTML = '<em><br />There are no active redirects.</em>';
				}
			}
		}
	);
//]]></script>

<fieldset class="cbi-section">
	<legend>Active UPnP Redirects</legend>
	<table class="cbi-section-table" id="upnp_status_table">
		<tr class="cbi-section-table-titles">
			<th class="cbi-section-table-cell">Protocol</th>
			<th class="cbi-section-table-cell">External Port</th>
			<th class="cbi-section-table-cell">Client Address</th>
			<th class="cbi-section-table-cell">Client Port</th>
			<th class="cbi-section-table-cell">&#160;</th>
		</tr>
		<tr class="cbi-section-table-row">
			<td colspan="5"><em><br />Collecting data...</em></td>
		</tr>
	</table>
</fieldset>

	<fieldset class="cbi-section" id="cbi-upnpd-config">
		<legend>MiniUPnP settings</legend>
		
		
		
	<ul class="cbi-tabmenu">
		<script type="text/javascript">cbi_c['container.upnpd.config.general'] = 8;</script>
		<li id="tab.upnpd.config.general" class="cbi-tab">
			<a onclick="this.blur(); return cbi_t_switch('upnpd.config', 'general')" href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp?tab.upnpd.config=general">General Settings</a>
			<input type="hidden" id="tab.upnpd.config" name="tab.upnpd.config" value="general" />
		</li>
	
		<script type="text/javascript">cbi_c['container.upnpd.config.advanced'] = 9;</script>
		<li id="tab.upnpd.config.advanced" class="cbi-tab-disabled">
			<a onclick="this.blur(); return cbi_t_switch('upnpd.config', 'advanced')" href="/cgi-bin/luci/;stok=6cdeb702f439753eba94c837d5adba97/admin/services/upnp?tab.upnpd.config=advanced">Advanced Settings</a>
			
		</li>
	</ul>

		<div class="cbi-section-node cbi-section-node-tabbed" id="cbi-upnpd-config">
			


	
	<div class="cbi-tabcontainer" id="container.upnpd.config.general">
		
		<div class="cbi-value" id="cbi-upnpd-config-_init"><label class="cbi-value-title" for="cbid.upnpd.config._init">Start UPnP and NAT-PMP service</label>
		<div class="cbi-value-field">

	<input type="hidden" value="1" name="cbi.cbe.upnpd.config._init" />
	<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config._init" name="cbid.upnpd.config._init" value="1" checked="checked" />
		</div></div>




<div class="cbi-value" id="cbi-upnpd-config-enable_upnp"><label class="cbi-value-title" for="cbid.upnpd.config.enable_upnp">Enable UPnP functionality</label>
		<div class="cbi-value-field">

	<input type="hidden" value="1" name="cbi.cbe.upnpd.config.enable_upnp" />
	<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.enable_upnp" name="cbid.upnpd.config.enable_upnp" value="1" checked="checked" />
		</div></div>




<div class="cbi-value" id="cbi-upnpd-config-enable_natpmp"><label class="cbi-value-title" for="cbid.upnpd.config.enable_natpmp">Enable NAT-PMP functionality</label>
		<div class="cbi-value-field">

	<input type="hidden" value="1" name="cbi.cbe.upnpd.config.enable_natpmp" />
	<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.enable_natpmp" name="cbid.upnpd.config.enable_natpmp" value="1" checked="checked" />
		</div></div>




<div class="cbi-value" id="cbi-upnpd-config-secure_mode"><label class="cbi-value-title" for="cbid.upnpd.config.secure_mode">Enable secure mode</label>
		<div class="cbi-value-field">

	<input type="hidden" value="1" name="cbi.cbe.upnpd.config.secure_mode" />
	<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.secure_mode" name="cbid.upnpd.config.secure_mode" value="1" checked="checked" />
		
			<div class="cbi-value-description">
				<span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif" alt="help" /></span>
				Allow adding forwards only to requesting ip addresses
			</div></div></div>




<div class="cbi-value" id="cbi-upnpd-config-log_output"><label class="cbi-value-title" for="cbid.upnpd.config.log_output">Enable additional logging</label>
		<div class="cbi-value-field">

	<input type="hidden" value="1" name="cbi.cbe.upnpd.config.log_output" />
	<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.log_output" name="cbid.upnpd.config.log_output" value="1" />
		
			<div class="cbi-value-description">
				<span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif" alt="help" /></span>
				Puts extra debugging information into the system log
			</div></div></div>




<div class="cbi-value" id="cbi-upnpd-config-download"><label class="cbi-value-title" for="cbid.upnpd.config.download">Downlink</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.download" id="cbid.upnpd.config.download" value="1024" />
	
			<br />
			<div class="cbi-value-description">
				<span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif" alt="help" /></span>
				Value in KByte/s, informational only
			</div></div></div>




<div class="cbi-value" id="cbi-upnpd-config-upload"><label class="cbi-value-title" for="cbid.upnpd.config.upload">Uplink</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.upload" id="cbid.upnpd.config.upload" value="512" />
	
			<br />
			<div class="cbi-value-description">
				<span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif" alt="help" /></span>
				Value in KByte/s, informational only
			</div></div></div>




<div class="cbi-value cbi-value-last" id="cbi-upnpd-config-port"><label class="cbi-value-title" for="cbid.upnpd.config.port">Port</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.port" id="cbid.upnpd.config.port" value="5000" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.config.port', true, 'port');
	//]]></script>
			</div></div>





	</div>
	<script type="text/javascript">cbi_t_add('upnpd.config', 'general')</script>

	<div class="cbi-tabcontainer" id="container.upnpd.config.advanced" style="display:none">
		
		<div class="cbi-value" id="cbi-upnpd-config-system_uptime"><label class="cbi-value-title" for="cbid.upnpd.config.system_uptime">Report system instead of daemon uptime</label>
		<div class="cbi-value-field">

	<input type="hidden" value="1" name="cbi.cbe.upnpd.config.system_uptime" />
	<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config.system_uptime" name="cbid.upnpd.config.system_uptime" value="1" checked="checked" />
		</div></div>




<div class="cbi-value" id="cbi-upnpd-config-uuid"><label class="cbi-value-title" for="cbid.upnpd.config.uuid">Device UUID</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.uuid" id="cbid.upnpd.config.uuid" value="b332708e-08f3-40d6-94b8-b6332daba829" />
	
			</div></div>




<div class="cbi-value" id="cbi-upnpd-config-serial_number"><label class="cbi-value-title" for="cbid.upnpd.config.serial_number">Announced serial number</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.serial_number" id="cbid.upnpd.config.serial_number" value="" />
	
			</div></div>




<div class="cbi-value" id="cbi-upnpd-config-model_number"><label class="cbi-value-title" for="cbid.upnpd.config.model_number">Announced model number</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.model_number" id="cbid.upnpd.config.model_number" value="" />
	
			</div></div>




<div class="cbi-value" id="cbi-upnpd-config-notify_interval"><label class="cbi-value-title" for="cbid.upnpd.config.notify_interval">Notify interval</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.notify_interval" id="cbid.upnpd.config.notify_interval" value="" placeholder="30" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.config.notify_interval', true, 'uinteger');
	//]]></script>
			</div></div>




<div class="cbi-value" id="cbi-upnpd-config-clean_ruleset_threshold"><label class="cbi-value-title" for="cbid.upnpd.config.clean_ruleset_threshold">Clean rules threshold</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.clean_ruleset_threshold" id="cbid.upnpd.config.clean_ruleset_threshold" value="" placeholder="20" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.config.clean_ruleset_threshold', true, 'uinteger');
	//]]></script>
			</div></div>




<div class="cbi-value" id="cbi-upnpd-config-clean_ruleset_interval"><label class="cbi-value-title" for="cbid.upnpd.config.clean_ruleset_interval">Clean rules interval</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.clean_ruleset_interval" id="cbid.upnpd.config.clean_ruleset_interval" value="" placeholder="600" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.config.clean_ruleset_interval', true, 'uinteger');
	//]]></script>
			</div></div>




<div class="cbi-value" id="cbi-upnpd-config-presentation_url"><label class="cbi-value-title" for="cbid.upnpd.config.presentation_url">Presentation URL</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.presentation_url" id="cbid.upnpd.config.presentation_url" value="" placeholder="http://192.168.1.1/" />
	
			</div></div>




<div class="cbi-value cbi-value-last" id="cbi-upnpd-config-upnp_lease_file"><label class="cbi-value-title" for="cbid.upnpd.config.upnp_lease_file">UPnP lease file</label>
		<div class="cbi-value-field">

	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.config.upnp_lease_file" id="cbid.upnpd.config.upnp_lease_file" value="" placeholder="/var/log/upnp.leases" />
	
			</div></div>





	</div>
	<script type="text/javascript">cbi_t_add('upnpd.config', 'advanced')</script>








		</div>
		<br />
	</fieldset>

<!-- /nsection -->
<!-- tblsection -->
<fieldset class="cbi-section" id="cbi-upnpd-perm_rule">
	<legend>MiniUPnP ACLs</legend><input type="hidden" id="cbi.sts.upnpd.perm_rule" name="cbi.sts.upnpd.perm_rule" value="" /><div class="cbi-section-descr">ACLs specify which external ports may be redirected to which internal addresses and ports</div>
	<div class="cbi-section-node"><table class="cbi-section-table">
			<tr class="cbi-section-table-titles"><th class="cbi-section-table-cell">Comment</th><th class="cbi-section-table-cell">External ports</th><th class="cbi-section-table-cell">Internal addresses</th><th class="cbi-section-table-cell">Internal ports</th><th class="cbi-section-table-cell">Action</th><th class="cbi-section-table-cell">Sort</th><th class="cbi-section-table-cell">&#160;</th></tr>
			<tr class="cbi-section-table-descr"><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th><th class="cbi-section-table-cell"></th></tr><tr class="cbi-section-table-row" id="cbi-upnpd-cfg03ed70">
				<td class="cbi-value-field">
<div id="cbi-upnpd-cfg03ed70-comment">


	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg03ed70.comment" id="cbid.upnpd.cfg03ed70.comment" value="Allow high ports" />
	
	</div>
<div id="cbip-upnpd-cfg03ed70-comment"></div>
</td>



<td class="cbi-value-field">
<div id="cbi-upnpd-cfg03ed70-ext_ports">


	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg03ed70.ext_ports" id="cbid.upnpd.cfg03ed70.ext_ports" value="1024-65535" placeholder="0-65535" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.cfg03ed70.ext_ports', true, 'portrange');
	//]]></script>
	</div>
<div id="cbip-upnpd-cfg03ed70-ext_ports"></div>
</td>



<td class="cbi-value-field">
<div id="cbi-upnpd-cfg03ed70-int_addr">


	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg03ed70.int_addr" id="cbid.upnpd.cfg03ed70.int_addr" value="0.0.0.0/0" placeholder="0.0.0.0/0" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.cfg03ed70.int_addr', true, 'ip4addr');
	//]]></script>
	</div>
<div id="cbip-upnpd-cfg03ed70-int_addr"></div>
</td>



<td class="cbi-value-field">
<div id="cbi-upnpd-cfg03ed70-int_ports">


	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg03ed70.int_ports" id="cbid.upnpd.cfg03ed70.int_ports" value="1024-65535" placeholder="0-65535" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.cfg03ed70.int_ports', true, 'portrange');
	//]]></script>
	</div>
<div id="cbip-upnpd-cfg03ed70-int_ports"></div>
</td>



<td class="cbi-value-field">
<div id="cbi-upnpd-cfg03ed70-action">



	<select class="cbi-input-select" onchange="cbi_d_update(this.id)" id="cbid.upnpd.cfg03ed70.action" name="cbid.upnpd.cfg03ed70.action" size="1">
	<option id="cbi-upnpd-cfg03ed70-action-allow" value="allow" selected="selected">allow</option><option id="cbi-upnpd-cfg03ed70-action-deny" value="deny">deny</option>
	</select>

</div>
<div id="cbip-upnpd-cfg03ed70-action"></div>
</td>



<td class="cbi-section-table-cell">
						<input class="cbi-button cbi-button-up" type="button" value=""  onclick="return cbi_row_swap(this, true, 'cbi.sts.upnpd.perm_rule')" alt="Move up" title="Move up" />
						<input class="cbi-button cbi-button-down" type="button" value=""  onclick="return cbi_row_swap(this, false, 'cbi.sts.upnpd.perm_rule')" alt="Move down" title="Move down" />
					</td><td class="cbi-section-table-cell">
							<input class="cbi-button cbi-button-remove" type="submit" value="Delete"  onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.upnpd.cfg03ed70" alt="Delete" title="Delete" /></td></tr><tr class="cbi-section-table-row" id="cbi-upnpd-cfg05ed70">
				<td class="cbi-value-field">
<div id="cbi-upnpd-cfg05ed70-comment">


	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg05ed70.comment" id="cbid.upnpd.cfg05ed70.comment" value="Default deny" />
	
	</div>
<div id="cbip-upnpd-cfg05ed70-comment"></div>
</td>



<td class="cbi-value-field">
<div id="cbi-upnpd-cfg05ed70-ext_ports">


	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg05ed70.ext_ports" id="cbid.upnpd.cfg05ed70.ext_ports" value="0-65535" placeholder="0-65535" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.cfg05ed70.ext_ports', true, 'portrange');
	//]]></script>
	</div>
<div id="cbip-upnpd-cfg05ed70-ext_ports"></div>
</td>



<td class="cbi-value-field">
<div id="cbi-upnpd-cfg05ed70-int_addr">


	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg05ed70.int_addr" id="cbid.upnpd.cfg05ed70.int_addr" value="0.0.0.0/0" placeholder="0.0.0.0/0" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.cfg05ed70.int_addr', true, 'ip4addr');
	//]]></script>
	</div>
<div id="cbip-upnpd-cfg05ed70-int_addr"></div>
</td>



<td class="cbi-value-field">
<div id="cbi-upnpd-cfg05ed70-int_ports">


	<input type="text" class="cbi-input-text" onchange="cbi_d_update(this.id)" name="cbid.upnpd.cfg05ed70.int_ports" id="cbid.upnpd.cfg05ed70.int_ports" value="0-65535" placeholder="0-65535" />
	
	<script type="text/javascript">//<![CDATA[
		
		cbi_validate_field('cbid.upnpd.cfg05ed70.int_ports', true, 'portrange');
	//]]></script>
	</div>
<div id="cbip-upnpd-cfg05ed70-int_ports"></div>
</td>



<td class="cbi-value-field">
<div id="cbi-upnpd-cfg05ed70-action">



	<select class="cbi-input-select" onchange="cbi_d_update(this.id)" id="cbid.upnpd.cfg05ed70.action" name="cbid.upnpd.cfg05ed70.action" size="1">
	<option id="cbi-upnpd-cfg05ed70-action-allow" value="allow">allow</option><option id="cbi-upnpd-cfg05ed70-action-deny" value="deny" selected="selected">deny</option>
	</select>

</div>
<div id="cbip-upnpd-cfg05ed70-action"></div>
</td>



<td class="cbi-section-table-cell">
						<input class="cbi-button cbi-button-up" type="button" value=""  onclick="return cbi_row_swap(this, true, 'cbi.sts.upnpd.perm_rule')" alt="Move up" title="Move up" />
						<input class="cbi-button cbi-button-down" type="button" value=""  onclick="return cbi_row_swap(this, false, 'cbi.sts.upnpd.perm_rule')" alt="Move down" title="Move down" />
					</td><td class="cbi-section-table-cell">
							<input class="cbi-button cbi-button-remove" type="submit" value="Delete"  onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.upnpd.cfg05ed70" alt="Delete" title="Delete" /></td></tr></table>

		<div class="cbi-section-create cbi-tblsection-create">
				
					<input class="cbi-button cbi-button-add" type="submit" value="Add" name="cbi.cts.upnpd.perm_rule.cfg05ed70" title="Add" />
				
			</div></div>
</fieldset>
<!-- /tblsection -->
	<br />

Browser Safari 6.0.2

comment:3 Changed 5 years ago by mstm <mstm@…>

With Internet Explorer 9 and Compatibility View Disabled same error

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/cascade.css" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie7.css" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href="/luci-static/openwrt.org/ie8.css" /><![endif]-->
<script type="text/javascript" src="/luci-static/resources/xhr.js"></script>
<title>OpenWrt - UPNP - LuCI</title>
</head>
<body class="lang_auto">

<p class="skiplink">
<span id="skiplink1"><a href="#navigation">Skip to navigation</a></span>
<span id="skiplink2"><a href="#content">Skip to content</a></span>
</p>

<div id="menubar">
<h2 class="navigation"><a id="navigation" name="navigation">Navigation</a></h2>

<div class="hostinfo">
	OpenWrt | OpenWrt Barrier Breaker r34812 |
	Load: 0.46 0.19 0.22
	<span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
		| Auto Refresh:
		<span id="xhr_poll_status_on">on</span>
		<span id="xhr_poll_status_off" style="display:none">off</span>
	</span>
</div>



<div id="savemenu">
	<a href="#">Changes: 0</a>
	</div>

<div class="clear"></div>
</div>

<div id="maincontainer">
	<div id="tabmenu">
		
	<div class="tabmenu1">
	<ul class="tabmenu l1">
		
			<li class="tabmenu-item-status">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/status/">Status</a>
			</li>
		
			<li class="tabmenu-item-system">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/system/">System</a>
			</li>
		
			<li class="tabmenu-item-services active">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/">Services</a>
			</li>
		
			<li class="tabmenu-item-network">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/network/">Network</a>
			</li>
		
			<li class="tabmenu-item-logout">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/logout/">Logout</a>
			</li>
		
	</ul>
	<br style="clear:both" />

	<div class="tabmenu2">
	<ul class="tabmenu l2">
		
			<li class="tabmenu-item-ddns">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/ddns/">Dynamic DNS</a>
			</li>
		
			<li class="tabmenu-item-hd_idle">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/hd_idle/">hd-idle</a>
			</li>
		
			<li class="tabmenu-item-upnp active">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp/">UPNP</a>
			</li>
		
			<li class="tabmenu-item-samba">
				<a href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/samba/">Network Shares</a>
			</li>
		
	</ul>
	<br style="clear:both" />

	</div>

	</div>

	</div>

	<div id="maincontent">
		<noscript>
			<div class="errorbox">
				<strong>Java Script required!</strong><br />
				You must enable Java Script in your browser or LuCI will not work properly.
			</div>
		</noscript>

<form method="post" name="cbi" action="" enctype="multipart/form-data" onreset="return cbi_validate_reset(this)" onsubmit="return cbi_validate_form(this, 'Some fields are invalid, cannot save values!')">
	<div>
		<script type="text/javascript" src="/luci-static/resources/cbi.js"></script>
		<input type="hidden" name="cbi.submit" value="1" />
		<input type="submit" value="Save" class="hidden" />
	</div>
<div class="cbi-map" id="cbi-upnpd">
	<h2><a id="content" name="content">Universal Plug & Play</a></h2>
	<div class="cbi-map-descr">UPnP allows clients in the local network to automatically configure the router.</div><script type="text/javascript">//<![CDATA[
	function upnp_delete_fwd(idx) {
		XHR.get('/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp/delete/' + idx, null,
			function(x)
			{
				var tb = document.getElementById('upnp_status_table');
				if (tb && (idx < tb.rows.length))
					tb.rows[0].parentNode.removeChild(tb.rows[idx]);
			}
		);
	}

	XHR.poll(5, '/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp/status', null,
		function(x, st)
		{
			var tb = document.getElementById('upnp_status_table');
			if (st && tb)
			{
				/* clear all rows */
				while( tb.rows.length > 1 )
					tb.deleteRow(1);

				for( var i = 0; i < st.length; i++ )
				{
					var tr = tb.insertRow(-1);
						tr.className = 'cbi-section-table-row cbi-rowstyle-' + ((i % 2) + 1);

					tr.insertCell(-1).innerHTML = st[i].proto;
					tr.insertCell(-1).innerHTML = st[i].extport;
					tr.insertCell(-1).innerHTML = st[i].intaddr;
					tr.insertCell(-1).innerHTML = st[i].intport;

					tr.insertCell(-1).innerHTML = String.format(
						'<input class="cbi-button cbi-input-remove" type="button" value="Delete Redirect" onclick="upnp_delete_fwd(%d)" />',
							st[i].num
					);
				}

				if( tb.rows.length == 1 )
				{
					var tr = tb.insertRow(-1);
						tr.className = 'cbi-section-table-row';

					var td = tr.insertCell(-1);
						td.colSpan = 5;
						td.innerHTML = '<em><br />There are no active redirects.</em>';
				}
			}
		}
	);
//]]></script>

<fieldset class="cbi-section">
	<legend>Active UPnP Redirects</legend>
	<table class="cbi-section-table" id="upnp_status_table">
		<tr class="cbi-section-table-titles">
			<th class="cbi-section-table-cell">Protocol</th>
			<th class="cbi-section-table-cell">External Port</th>
			<th class="cbi-section-table-cell">Client Address</th>
			<th class="cbi-section-table-cell">Client Port</th>
			<th class="cbi-section-table-cell">&#160;</th>
		</tr>
		<tr class="cbi-section-table-row">
			<td colspan="5"><em><br />Collecting data...</em></td>
		</tr>
	</table>
</fieldset>

	<fieldset class="cbi-section" id="cbi-upnpd-config">
		<legend>MiniUPnP settings</legend>
		
		
		
	<ul class="cbi-tabmenu">
		<script type="text/javascript">cbi_c['container.upnpd.config.general'] = 8;</script>
		<li id="tab.upnpd.config.general" class="cbi-tab">
			<a onclick="this.blur(); return cbi_t_switch('upnpd.config', 'general')" href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp?tab.upnpd.config=general">General Settings</a>
			<input type="hidden" id="tab.upnpd.config" name="tab.upnpd.config" value="general" />
		</li>
	
		<script type="text/javascript">cbi_c['container.upnpd.config.advanced'] = 9;</script>
		<li id="tab.upnpd.config.advanced" class="cbi-tab-disabled">
			<a onclick="this.blur(); return cbi_t_switch('upnpd.config', 'advanced')" href="/cgi-bin/luci/;stok=f29a2c23c901d4de28314ff6e213a515/admin/services/upnp?tab.upnpd.config=advanced">Advanced Settings</a>
			
		</li>
	</ul>

		<div class="cbi-section-node cbi-section-node-tabbed" id="cbi-upnpd-config">
			


	
	<div class="cbi-tabcontainer" id="container.upnpd.config.general">
		
		<div class="cbi-value" id="cbi-upnpd-config-_init"><label class="cbi-value-title" for="cbid.upnpd.config._init">Start UPnP and NAT-PMP service</label>
		<div class="cbi-value-field">

	<input type="hidden" value="1" name="cbi.cbe.upnpd.config._init" />
	<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox" id="cbid.upnpd.config._init" name="cbid.upnpd.config._init" value="1" checked="checked" />
		</div></div>




<div class="cbi-value" id="cbi-upnpd-config-enable_upnp"><label class="cbi-value-title" for="cbid.upnpd.config.enable_upnp">Enable UPnP functionality</label>
		<div class="cbi-value-field">

	<input 

With Internet Explorer 9 and Compatibility View Actived no problem

comment:4 Changed 5 years ago by mstm <mstm@…>

This patch solve the problem:
http://luci.subsignal.org/trac/ticket/521

Thanks

comment:5 Changed 5 years ago by jogo

  • Resolution set to fixed
  • Status changed from new to closed

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.