Smart view for HSFC queues



  • Hello,

    If you are like me a newbie with HSFC queueing and have a complex
    pfsense setup like multi-wan-lan-squid transparent but you NEED shapping and want understand it a little, you could help yourself with using this all-in-one global tabular view that include cascading tree-like view, link to straight edit for each queue, options for each queue and monitoring !

    These modifications also include a button to view raw queue configuration taken from /tmp/rules.debug

    You need to replace two originals pfsense (2.0.1) files (make backup before!!!) firewall_shaper.php and shaper.inc
    in respectively /usr/local/www and /etc/inc

    Implementation will be improved (like include the stuff in different php file and access from pfsense tab navigation inside shapping area) if needed.

    Hope this kind of all-in-one view will be included in futures pfsense releases ;-)

    Tested with 2.0.1 pfsense.

    Files/readme: https://github.com/jvorhees/pfsense/tree/master/Shaper

    Feel free to post feedback here if you use it ;-)

    att,
    jvorhees.



  • Testing with 2.0.2 , looks good ! wow



  • You might consider to develop a package for this, with a separate menu entry.



  • This is pretty awesome. Using it with 2.0.3 and it works great. =)



  • Hello all,
    i'm happy that it is working on 2.0.3 too 8)
    I know that i have to make package  ::) … anyone more expert can help maybe ?

    Att,
    Jvorhees



  • On 2.1 RC0 UI is ok, Qstats buttons do not work.
    This is probably due to new pfSense 2.1 queues functions.
    Is there any chance to get a pfsense 2.1 working version?
    Thank you in advance.



  • Hi,
    i think this summer i will have time to do that if 2.1 final is out…
    In the meantime is someone want to go further let me now ;-)
    Att,
    Jvorhees.



  • I just tested that on pfSense 2.2.5 and…

    It does NOT work anymore.

    Is there any chance to get it back to work?
    It was really helpful… :)
    Thank you



  • Thank you for interest, but actually Pfsense already include something like that in Queues status page, (basic tabular view), as of 2.1.x.

    Is it about design or you need other informations on that stock page ?



  • The Queues view is about as spartan as it gets compared to this view.  I wasn't aware of this before but it looks really informative.



  • @jvorhees:

    Thank you for interest, but actually Pfsense already include something like that in Queues status page, (basic tabular view), as of 2.1.x.

    Is it about design or you need other informations on that stock page ?

    1st of all sorry to answer late…
    2nd I think your interface is much more plenty of data compared to Status=>Queues, moreover much more useful to discover "errors" at first glance....

    Indeed I'd suggest to insert it as "standard interface"
    Thank you in advance


  • Developer Netgate

    Now it would be nice to incorporate this design into 2.3 It's a constantly moving target I know  :)

    Perhaps this should be a new .php file accessed via a new tab at the top of the shaper page "Table view". That way it won't impact existing functionality.



  • @Steve_B:

    Now it would be nice to incorporate this design into 2.3 It's a constantly moving target I know  :)

    Perhaps this should be a new .php file accessed via a new tab at the top of the shaper page "Table view". That way it won't impact existing functionality.

    That would be great!  :)



  • Is there any news about that?

    I'm reconfiguring my HSFC queues and It'd be really useful.
    Thanks



  • Nope.  This topic pretty much died almost a year ago and nothing has been said about it since.  Considering it was last updated about 4 years ago and is shown as working with pfSense 2.0.1, I would doubt it still works in 2.3 but you never know.



  • @KOM:

    Nope.  This topic pretty much died almost a year ago and nothing has been said about it since.  Considering it was last updated about 4 years ago and is shown as working with pfSense 2.0.1, I would doubt it still works in 2.3 but you never know.

    As you can see on my nov '15 post it has stopped to work already since 2.2.5…

    BTW I can't understand why there's not too much interest in that feature... In my opinion is really useful... ::)



  • @vielfede:

    @KOM:

    Nope.  This topic pretty much died almost a year ago and nothing has been said about it since.  Considering it was last updated about 4 years ago and is shown as working with pfSense 2.0.1, I would doubt it still works in 2.3 but you never know.

    As you can see on my nov '15 post it has stopped to work already since 2.2.5…

    BTW I can't understand why there's not too much interest in that feature... In my opinion is really useful... ::)

    If you run the following command via SSH or console, you will get a similar output to this "smart view"

    pftop -s1 -v queue
    


  • Close, but the other view was a lot more informative and easy on the eyes.



  • @KOM:

    Close, but the other view was a lot more informative and easy on the eyes.

    Surely a color-modded pftop wouldn't be too hard…

    It's funny how "professional" a classy, semi-useless GUI can make an product seem, regardless of whether the underlying system is quality or not. I'm not saying I gain nothing useful from a pretty GUI, it's just that what I gain is more of a sense of well-being than actual information. Both are useful in their own ways. No disrespect to either.

    Open-source is notorious for being aesthetically unpleasing. Years of Linux as my desktop has likely taught me more than if were using Windows, but I'm also more sullen and neck-bearded... Get off my lawn! ;)


  • Developer Netgate

    I would be willing to help get this into pfSense, but unfortunately there are quite a few changes that would need to be made for it to work with the current version.

    • The code needs to be re-based to be compatible with the current version of pfSense rather than the very old v2.0.1
    • The HTML produced by the page should employ Bootstrap styling
    • All of the style elements (colors, fonts etc) should be moved to CSS so that themes can be supported
    • The folder/sub-folder icons used on the shaper pages should be used in the table, not the ASCII chars [>

    If the author were to update the code in this way, and better yet submit it as a pull request, it would be a nice addition to the project.



  • A little late to the party, no?  This post is 4 years old and this guy hasn't logged on in almost a year.