Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Longer description field in firewall rules?

    Firewalling
    3
    3
    632
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Paul47 last edited by

      I noticed that the description field for both NAT and firewall rules is quite short. I like to have a short text and also a link to a web page (e.g. https://doc.pfsense.org/index.php/Blocking_DNS_queries_to_external_resolvers) to document where I got the idea, but the field is a little too short for that. I wonder if it could be stretched a bit?

      1 Reply Last reply Reply Quote 0
      • M
        muswellhillbilly last edited by

        This question has come up before on this forum. There is a good reason for the decription field being relatively short: it keeps your firewall rules table looking relatively neat, readable and uncluttered. Short but meaningful descriptions would be best, or if you prefer keep a spreadsheet with long rule descriptions matched up against corresponding codes/numbers for each of your rules.

        1 Reply Last reply Reply Quote 0
        • johnpoz
          johnpoz LAYER 8 Global Moderator last edited by

          Here is the previous thread that went over this

          https://forum.pfsense.org/index.php?topic=103120.0

          "The limit isn't something arbitrary we dreamed up for kicks, the descriptions are put into the ruleset as labels and those have length restrictions at the OS level because you don't want to load huge amounts of text into memory as part of your ruleset."

          If you want to put a url in the desc.. You have heard of url shortening services right - like https://bitly.com/ or http://ow.ly/url/shorten-url or http://tinyurl.com/ etc.. etc.. etc…

          example your link above to the pfsense doc becomes http://bit.ly/1Slqk4z

          So if your really short on space you could leave out the http:// or even all of http://bit.ly/ just put in 1Slqk4z knowing that http://bit.ly/ goes in front of that ;)

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

          1 Reply Last reply Reply Quote 0
          • First post
            Last post