updating L7 packet classifier?

Discussion in 'Tomato Firmware' started by rs232, May 10, 2011.

  1. rs232

    rs232 Network Guru Member

  2. phuque99

    phuque99 LI Guru Member

    Your link refers to specific kernel patches to the source code. So the answer to your question is no, you can't update without patching the kernel codes and recompiling.
  3. shibby20

    shibby20 Network Guru Member

  4. rs232

    rs232 Network Guru Member

    Thanks for the answer!
    Considering the current poor performance of the l7 matching this is not a good news... :-(
  5. Toastman

    Toastman Super Moderator Staff Member Member

  6. Azuse

    Azuse LI Guru Member

    They catch most flash/youtube video but apart from that, very little use :(
  7. phuque99

    phuque99 LI Guru Member

    I think L7 matches are fairly inefficient and most protocols might have changed over the years, so the pattern doesn't match anymore. Most services run on fixed port and I'm sure you can find them and mark them correctly on QoS.

    For Flash/Youtube, if these streams run on port 80, you can also follow Toastman's QoS suggestion of lowering the QoS for port 80 when the transferred bytes exceed a certain amount of KB.

    Lastly, if you also follow Toastman's QoS examples, you can classify all known web services that your home network use frequently and make everything else go to the lowest QoS. That will capture torrent traffic and mark them lowest since torrent ports are always random.
  8. Azuse

    Azuse LI Guru Member

    If you don't follow blindly you'll discover a number of programs revert to port 80 e.g. skype or use it in bursts, neither of which benefit from being grouped into video streams. Most services fall back to post 80, 443 or more commonly punch through upnp but despite being old they still effectively grab flash and youtube videos, which effectively removes then reducing the increasing amount of traffic grouped in there improving things that have fallen in there because of amount rules.

    If you are attempting to control something, dismissing a set of tools because they are not 100% effective is not the way to accomplish it.
  9. Toastman

    Toastman Super Moderator Staff Member Member

    That's very true.

    The httpvideo, flash, shoutcast, skypetoskype, sip filters are still very useful. The irc one is quite effective. With the faster routers available today, and now the penalty of using several isn't so great for most of us. Working with ports alone is not 100% effective unless perhaps you are able to set the client ports to your own preference. So many applications can open ports over a range of several thousand.

    The skypeout filter is not very useful. I haven't really ever managed to deal with skypeout properly. That one is sorely needed.

    Many commercial SOHO routers make use of IPP2P and L7 filters, relying on them as if what they offered was 100% effective. That has given people the idea that all they need to do to control e.g. P2P is to check the IPP2P "bit torrent" box and everything will be fine. Wouldn't it be nice if that was true?
  10. matthewchng

    matthewchng Serious Server Member

    Just wondering if the L7 httpvideo still matches any YouTube streaming packets because it does not seem to be working on my end using latest Toastman's build. It falls to FileXfers (HTTP, SSL File Transfers) group which means YouTube stutters when HTTP downloads are in progress.

    If no more, can anyone suggest a way to prioritize YouTube stream over HTTP downloads? Thanks.
  11. Porter

    Porter LI Guru Member

    I have developed a new youtube-filter. As long as none of the devs puts this into his build, you can follow the guide I've made in this thread: http://linksysinfo.org/index.php?threads/qos-development-thread.31886/#post-204861 Keep in mind that the symbolic link doesn't stick through a reboot, but I didn't test where to put this in the script section for automatic renewal. Don't disable the old httpvideo-filter. It still works for other stuff!
  12. kyrios

    kyrios Addicted to LI Member

    Move forward classification
    L7: httpvideo Media HTTP Video, (Youtube) 33
    L7: flash Media Flash Video, (Youtube) 34
    to number 21 and 22?

    I now also use Toastman 7501 build
  13. matthewchng

    matthewchng Serious Server Member

    Any idea why no devs put this in?

    I've already moved the rules above the download rules. YouTube streaming still only matches rule 38 in my rule set below instead of 29/30.

    See this:
  14. Porter

    Porter LI Guru Member

    Because it's new and it probably didn't get much attention.

    Most of the Media-filters have to be put before any Port-filter matching port 80, because most of this traffic is transfered over HTTP and they wouldn't match if the Port-filter saw the traffic first. Use another flash-based video-site to check if the L7-filters match the traffic or better: try the new youtube-filter.
  15. joew1

    joew1 Serious Server Member

    Hi Porter, these is SteveF. I found that my SteveF ID disappeared from the forum. I had to create a new ID under joew1. Also I found that the post I started (Qos versus BW) has disappeared as well. Can you tell me what may have happened? A meltdown in the forum?

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice