today I got a ntopng-update to version 4.0 community edition. Great so far. I really like it!
But there is a little misbehaviour of the ntopng site of nethserver.
When I try to change the view in ntopng here:
I’m redirected to the old server-manager dashboard:
I’ve to close the ntopng-site and reopen it from ckockpit, to get to the right view.
Tried it in FF and Chrome. Same behaviour.
Inspecting ntopng web interface we discovered that changing the interface/view executes the following javascript code:
$.get(`/8f40883d7afe6b780fdb28f3e03dac54bc136203/lua/switch_system_status.lua`, {
system_interface: flag,
...
}, function(data) {
if (data.success && $form == null) location.href = '/';
if (data.success && $form != null) $form.submit();
if (!data.success) {
console.error("An error has occurred!");
}
});
...
If $.get() invocation is successful, a redirect to / is issued (location.href = '/').
If the user has accessed ntopng web interface through port 980, this is equivalent to a redirect to NethGUI home/login page.
We are investigating further this issue, we’ll keep informed