-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve IPS mode help to avoid blocking network access, issue #4257 #4271
Conversation
|
I don't think we should repeat the same message everywhere on the system_advanced_network.php page, a more elegant fix would probably be to move all hardware toggles into their own section (Hardware offloading) so it matches the rest of the warnings all around. Which would keep "ARP Handling" in its own section, which probably should get a more logical name in that case as well. |
|
Fair enough. This PR contains just the minimum viable set of changes which would prevent people from falling into that freezing trap. Doing as you suggested is even better but would require someone more familiar with the UI framework than me. If you'd prefer to go the latter route, would you consider switching the checkbox logic from negative ( |
|
can we please keep this simple? the page itself is a legacy php page, which shouldn't be too hard to refactor. Changing the language may sound nice, but has the disadvantage of constantly flipping the underlaying toggle (which is called disable...) |
|
I have been trying to come up with an improved introductory help text and more precise help texts for all of the options. I found it hard to get to an acceptable quality level when sticking to the current language. I have also found that the Disable ... settings do more than they say: When turned off, they actively enable the respective interface option (instead of leaving it at its default). Only the VLAN Hardware Filtering has a dedicated I remember having been hit hard by falling into the VLAN Hardware Filtering trap, losing network connectivity, not being able to access the router's web or shell interface, not being able to attach a monitor as the HDMI port would only work with a monitor attached at boot time... So I'd be willing to put in some extra effort if this would improve the user experience but I'm not sure if that would be consistent with your priorities: Would these changes be acceptable to you if I'd clean up the underlying toggles as well? The code in There are My proposal would be to split the Network Interfaces section into two like this (settings at their current defaults): Hardware Offloading
Logging
|
|
Since we don't offer config migrations on legacy code, we really try to prevent changes in there. The format itself looks workable from my point of view. |
This reverts commit 673ca7e
Improves option structure and help texts to avoid users blocking network access inadvertently.
|
@AdSchellevis Implemented as suggested. |
|
@OliverO2 The new layout will likely prevent some users from impractical misconfigurations, in this case it won't hurt to add an extra warning (in most cases I'm not a fan of adding a lot of additional texts, but this particular issue seems to warrant it). thanks! |
|
@AdSchellevis Yes, hopefully this will help as intended. One trap still lingering is the IPS settings, as the warning appears in the (initially hidden) help text only. |
Current help texts do not contain complete information to prevent users blocking network access if IPS mode and hardware accelerations are enabled. See issue discussion and this posting plus follow-ups.
This PR aims to include information for all relevant settings.