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

    [solved] How to enlarge the default number of Rows (Routes) displayed ?

    Routing and Multi WAN
    2
    5
    470
    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
      pete35
      last edited by pete35

      Is there any chance, that we can change the default of the number of routes displayed to all?
      Or to something higher than 100? Any patch or number deep in the configuration?
      It´s really tedious to change it every time to something higher ...

      Maybe with a global setting ?

      b4c095bc-8546-43b5-abaf-e66e3214cdfc-image.png

      Again in FRR OSPF Routes :

      f541ba7c-20d7-4ee3-831c-f9a634e45755-image.png

      <a href="https://carsonlam.ca">bintang88</a>
      <a href="https://carsonlam.ca">slot88</a>

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        For users with large route tables (e.g. full BGP feeds with hundreds of thousands of routes) having the default be 'all' breaks the page. We could maybe add a GUI knob to control that but it's really a safety measure to stop the page from consuming too much resources.

        What's the use case for always needing to see all the routes on the same page without filtering? If you're looking for something specific, using the filter is much faster than eyeballing it.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        P 1 Reply Last reply Reply Quote 0
        • P
          pete35 @jimp
          last edited by

          @jimp

          I have a routing table with about 250 entries. The top 140 lines are mostly OVPN tunnel IPs starting at 10.1.X.X. So i don´t see the remote networks without enlarging the table row number. Looking for some errors as today, where i dont know what is wrong with the table, needs to expand it every time manually to full. With an adjustable default, or bigger default, it will be much faster to work.
          Everytime inserting an IPv4 regex like this : '\b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(.|$)){4}\b' is not really a choice, additional as an IPv6 regex isn´t really flowing out of my fingers that easy:

          IPv6 Regex Sample: (([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))😧

          Is there is a chance to adjust the default number of Rows displayed manually to lets say 400 entries, maybe just a manual hack into the code?

          <a href="https://carsonlam.ca">bintang88</a>
          <a href="https://carsonlam.ca">slot88</a>

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            If you just want to increase the limit for you, then edit this line:

            https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/diag_routes.php#L32

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            P 1 Reply Last reply Reply Quote 0
            • P
              pete35 @jimp
              last edited by

              @jimp said in How to enlarge the default number of Rows (Routes) displayed ?:

              https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/diag_routes.php#L32

              Works like a charm, thank you!

              <a href="https://carsonlam.ca">bintang88</a>
              <a href="https://carsonlam.ca">slot88</a>

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.