invalid port/service 310000 specified in firewall mode most_open #484
Labels
➡️ third-party issue
This is a bug/issue for/in other third-party software
🐛 bug-report
Something isn't working
🏷️ WebUI
This refs the WebUI component
Milestone
Describe the bug
in case of Firewall-Richtlinie is set to Ports offen in RaspberryMatic 3.41.11.20181124 you'll get error message
homematic user.info firewall: iptables v1.6.2: invalid port/service 310000 specified Try 'iptables -h' or 'iptables --help' for more information.
in syslog. even this is only a info log, it just means a malfunction in firewall script and therefor should be taken serious.To Reproduce
set Firewall-Richtlinie to Ports offen in Startseite > Einstellungen > Systemsteuerung > Firewall konfigurieren and run
/bin/setfirewall.tcl
System information
Additional context
in firewall most_open mode, in /lib/libfirewall.tcl procedure FirewallInternal::Firewall_configureFirewallMostOpen just blocks all internal ports (3xxxx)
but this causes ports > 65535, which is not in accordance with specification, already at $port >= 10000, as it is for NeoServer as defined in /etc/config/firewall.conf
additional this blocking of internal ports should not applied for the NeoServer, there are just no internal ports for NeoServer as far as I can see in /etc/lighttpd/conf.d/proxy.conf.
see also https://homematic-forum.de/forum/viewtopic.php?f=65&t=47020&start=110#p470693
I prepared already a diff
The text was updated successfully, but these errors were encountered: