mirror of https://github.com/aredn/aredn.git
aredn: remove olsrd status and httpinfo plugin
The httpinfo olsr plugin does not scale to the mesh sizes that exist. Navigation of the olsr information can crash a device or cause OLSR restarts. Other means exist to obtain the same data.
This commit is contained in:
parent
f6d236c502
commit
ddfd69673a
|
@ -19,7 +19,6 @@ CONFIG_PACKAGE_olsrd=y
|
|||
CONFIG_PACKAGE_perl=y
|
||||
CONFIG_PACKAGE_olsrd-mod-arprefresh=y
|
||||
CONFIG_PACKAGE_olsrd-mod-dyn-gw=y
|
||||
CONFIG_PACKAGE_olsrd-mod-httpinfo=y
|
||||
CONFIG_PACKAGE_olsrd-mod-nameservice=y
|
||||
CONFIG_PACKAGE_olsrd-mod-txtinfo=y
|
||||
CONFIG_PACKAGE_olsrd-mod-jsoninfo=y
|
||||
|
|
|
@ -79,9 +79,3 @@ config rule
|
|||
option dest_port 698
|
||||
option proto udp
|
||||
option target ACCEPT
|
||||
|
||||
config rule
|
||||
option src wifi
|
||||
option dest_port 1978
|
||||
option proto tcp
|
||||
option target ACCEPT
|
||||
|
|
|
@ -79,9 +79,3 @@ config rule
|
|||
option dest_port 698
|
||||
option proto udp
|
||||
option target ACCEPT
|
||||
|
||||
config rule
|
||||
option src wifi
|
||||
option dest_port 1978
|
||||
option proto tcp
|
||||
option target ACCEPT
|
||||
|
|
|
@ -117,12 +117,6 @@ config rule
|
|||
option proto udp
|
||||
option target ACCEPT
|
||||
|
||||
config rule
|
||||
option src wifi
|
||||
option dest_port 1978
|
||||
option proto tcp
|
||||
option target ACCEPT
|
||||
|
||||
config rule
|
||||
option src wifi
|
||||
option dest_port 23
|
||||
|
@ -147,13 +141,6 @@ config rule
|
|||
option proto udp
|
||||
option target ACCEPT
|
||||
|
||||
config rule
|
||||
option src dtdlink
|
||||
option dest_port 1978
|
||||
option proto tcp
|
||||
option target ACCEPT
|
||||
|
||||
|
||||
config rule
|
||||
option src dtdlink
|
||||
option dest_port 23
|
||||
|
|
|
@ -12,12 +12,6 @@ config olsrd
|
|||
config LoadPlugin
|
||||
option library 'olsrd_arprefresh.so.0.1'
|
||||
|
||||
config LoadPlugin
|
||||
option library 'olsrd_httpinfo.so.0.1'
|
||||
option port '1978'
|
||||
list Net '0.0.0.0 0.0.0.0'
|
||||
option Resolve 'true'
|
||||
|
||||
config LoadPlugin
|
||||
option library 'olsrd_txtinfo.so.0.1'
|
||||
option accept '0.0.0.0'
|
||||
|
|
|
@ -77,9 +77,3 @@ config rule
|
|||
option dest_port 698
|
||||
option proto udp
|
||||
option target ACCEPT
|
||||
|
||||
config rule
|
||||
option src wifi
|
||||
option dest_port 1978
|
||||
option proto tcp
|
||||
option target ACCEPT
|
||||
|
|
|
@ -79,9 +79,3 @@ config rule
|
|||
option dest_port 698
|
||||
option proto udp
|
||||
option target ACCEPT
|
||||
|
||||
config rule
|
||||
option src wifi
|
||||
option dest_port 1978
|
||||
option proto tcp
|
||||
option target ACCEPT
|
||||
|
|
|
@ -73,9 +73,3 @@ config rule
|
|||
option dest_port 698
|
||||
option proto udp
|
||||
option target ACCEPT
|
||||
|
||||
config rule
|
||||
option src wifi
|
||||
option dest_port 1978
|
||||
option proto tcp
|
||||
option target ACCEPT
|
||||
|
|
|
@ -60,7 +60,6 @@ if [ $rules_exist -eq 0 ] ; then
|
|||
iptables -A zone_vpn_input -p tcp -m tcp --dport 2222 -j ACCEPT
|
||||
iptables -A zone_vpn_input -p tcp -m tcp --dport 8080 -j ACCEPT
|
||||
iptables -A zone_vpn_input -p udp -m udp --dport 698 -j ACCEPT
|
||||
iptables -A zone_vpn_input -p tcp -m tcp --dport 1978 -j ACCEPT
|
||||
iptables -A zone_vpn_input -p tcp -m tcp --dport 23 -j ACCEPT
|
||||
iptables -A zone_vpn_input -p tcp -m tcp --dport 9090 -j ACCEPT
|
||||
iptables -A zone_vpn_input -p udp -m udp --dport 161 -j ACCEPT
|
||||
|
|
|
@ -80,10 +80,6 @@ if($config eq "mesh")
|
|||
{
|
||||
print " ";
|
||||
print "<button type=button onClick='window.location=\"mesh\"' title='See what is on the mesh'>Mesh Status</button>\n";
|
||||
print " ";
|
||||
print "<button type=button onClick='window.location=\"http://${node}.local.mesh:1978/\"' title='See the OLSR routing details'";
|
||||
#print " disabled" unless -f "/var/run/hosts_olsr";
|
||||
print ">OLSR Status</button>\n";
|
||||
}
|
||||
|
||||
if($config eq "mesh" or $config eq "client")
|
||||
|
|
|
@ -68,10 +68,6 @@ Neighbor nodes and Remote nodes are visible as well as what services are being
|
|||
provided through those nodes.
|
||||
<br><br></li>
|
||||
|
||||
<li><strong>OLSR Status</strong> takes you to the web pages that OLSR itself
|
||||
provides which gives you detailed information about the current state of the
|
||||
OLSR routing software.<br><br></li>
|
||||
|
||||
<li><strong>WiFi Scan</strong> displays a list of other 802.11 signals that the
|
||||
node can see and only of the same bandwidth. The 802.11 signals include
|
||||
Access Points (AP), neighbor nodes (connected ad-hoc stations), and other mesh networks
|
||||
|
|
Loading…
Reference in New Issue