Ludus icon indicating copy to clipboard operation
Ludus copied to clipboard

Turris firewall port forwarding

Open mival opened this issue 5 years ago • 0 comments

When is in firewall rule with port range 9911-9912, ludus can't start because of parsing of range fail with parse integer error

2019-11-23 09:45:15 err ludus.py[24255]: Traceback (most recent call last): 2019-11-23 09:45:15 err ludus.py[24255]: File "/usr/share/ludus/ludus.py", line 369, in <module> 2019-11-23 09:45:15 err ludus.py[24255]: ludus.start() 2019-11-23 09:45:15 err ludus.py[24255]: File "/usr/share/ludus/ludus.py", line 330, in start 2019-11-23 09:45:15 err ludus.py[24255]: (self.production_ports, self.active_honeypots)=get_ports_information() 2019-11-23 09:45:15 err ludus.py[24255]: File "/usr/share/ludus/ludus.py", line 127, in get_ports_information 2019-11-23 09:45:15 err ludus.py[24255]: data = IPTablesAnalyzer.iptables_analyzer.get_output() 2019-11-23 09:45:15 err ludus.py[24255]: File "/usr/share/ludus/IPTablesAnalyzer/iptables_analyzer.py", line 193, in get_output 2019-11-23 09:45:15 err ludus.py[24255]: output[protocol, int(port)] = 'production' 2019-11-23 09:45:15 err ludus.py[24255]: ValueError: invalid literal for int() with base 10: 'dpts:9981:9982'

mival avatar Nov 23 '19 08:11 mival