Why layer 7 protocol slow network connection? Any suggestion will be appreciated.
L7 works on first 2k bytes of connection, and needs to buffer enough packets to do that.
It’s very intensive as it’s pattern matching.
If you absolutely need L7, do it only once, mark connection accordingly and use that mark from then on.