Rules Overflow Scroll



  • Use a lot of alias and some of them are long enough that certain combinations of src src port, dst dst port, etc. cause the firewall rules and nat overflow and scroll horizontally.
    Not such a big deal but it's gets old having to scroll over to access the control buttons.

    So been experimenting how to line wrap on underscore (the long aliases all have at least one underscore).

    Have come up with a couple of possible solutions.

    1. Replace the underscores with space in the html output.  (currently like this one the best)
    2. Insert zero width space (entity ​) after underscores.

    Is this a feature anyone else would also be interested in?

    Currently I'm just using a str_replace in the php.
    https://github.com/NOYB/pfsense/commit/39f46428a66bd44ee4801995d83be4301bf5924b

    If there is wide enough interest perhaps it could be done with a class.


Log in to reply