Diagram of how interfaces, rules, and queues interact?
-
The documentation for how this stuff works is not very clear at all. Apparently you need to be an expert trained from somewhere else to grok this stuff.
Is there a diagram or animation available anywhere (and not necessarily from here) that explains all this, with a visual diagram of packets, flow arrows, buckets, queues, rules, sources, and sinks, showing exactly what the heck is going on with the packets with normal routing vs queue-based shaped routing?
For example (and I'm not claiming I know what I'm looking at here at all):
http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSWAN_40.html#32235
http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSWAN_40.html#64498
http://www.cisco.com/c/en/us/support/docs/voice/voice-quality/7111-voip-mlppp.html#link_frag
http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91862-cat3750-qos-config.html#def-config
Something like these, but explicitly in terms of how pfSense works.
-
I suppose I could start this, by making some horrible guesses, draw it with MS Paint, and then the experts can jump down my throat telling me how wrong I am. This may help invite participation as well as derision.
This is my assumed default packet flow. I'm drawing some colored boxes in hopes they might be useful for something eventually. I'm showing one packet flow direction only, for simplification.
-
lol. Only badasses use MS Paint. I would have been happier if everything in the picture was drawn freehand with the mouse.
It took me a couple months of using Google, searching the forums, browsing the wiki, reading OpenBSD/FreeBSD's "pf" documentation, and trial & error to (partially) understand how packets flowed through pfSense and it's traffic-shaping queues. When searching this forum I found the posts by "ermal" to be especially useful. Most, if not all, of the information you seek can be found in the sources I listed above.
Btw, I am a networking noob too. Sadly, there is no easy way to learn all this stuff.
Sorry, I do not have an MS Paint diagram to share… 8)
-
I just remembered I had the following link bookmarked. Hopefully it helps.
https://forum.pfsense.org/index.php?topic=24773.msg129341#msg129341
I assume it is still accurate but…
-
To add to the confusion, where does Squid reside on that diagram above? Squid is added as a package to pfSense.
-
Squid happens after the ingress and before the egress. Squid doesn't see any traffic until after the ingress interface has seen it.
-
Just follow this simple flowchart…
-
Well I don't know about the rest of you but it's all clear to me now ;D
-
-