Bug 11483

Summary: WebUI routing page crashes after entering a certain route
Product: IPFire Reporter: Peter Müller <peter.mueller>
Component: ---Assignee: Assigned to nobody - feel free to grab it and work on it <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: Minor Usability    
Priority: - Unknown -    
Version: 2   
Hardware: all   
OS: All   

Description Peter Müller 2017-08-30 20:42:32 UTC
In IPFire's WebUI, the routing page ("static routes") crashes with the following log message in /var/log/httpd/error_log:

[Wed Aug 30 20:34:24 2017] [error] [client 10.XXX.XXX.XXX] Undefined subroutine &General::check_net_internal called at /srv/web/ipfire/cgi-bin/routing.cgi line 157., referer: https://10.XXX.XXX.XXX:444/cgi-bin/routing.cgi

This can be reproduced by adding a static route with the following data:
IP/Network: some internal IP (such as 10.99.101.1)/255.255.255.255
Gateway: GREEN IP of the firewall
Comment: leave blank

Since other routes are processed correctly, I assume this is a bug. At least an error message would be nice, but the WebUI just returns a blank page in that case.
Comment 1 Peter Müller 2017-08-30 20:45:26 UTC
Sorry, accidentially submitted this as a duplicate of #11466

*** This bug has been marked as a duplicate of bug 11466 ***