1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Layer 7 Filters

Discussion in 'Tomato Firmware' started by TerminatorHTK, Dec 28, 2007.

  1. TerminatorHTK

    TerminatorHTK LI Guru Member

    I am wondering how the list of the layer 7 filters in the firmware is generated. Are these filters pulled from some website and then integrated into the firmware? Are there additional layer 7 filters somewhere that I could download and somehow use?

    I would like to add specifically Layer 7 for QOS for Supreme Commander. There are allot of games listed, but this one is not. Is there anyone to add layer 7 filters?

    Thanks for any info.
  2. roadkill

    roadkill Super Moderator Staff Member Member

  3. TerminatorHTK

    TerminatorHTK LI Guru Member

    OK...I'm confused. Where do I run this packet classifier? Since it's a windows game running on a windows PC, would I have to run something on the router to watch the packets and create the l7 filter?

    Do I need another machine running linux and watch the packets on the subnet to create the l7 filter? Once I do create the filter, how can it be used with the Tomato firmware?

    Is this even possible?

  4. kripz

    kripz LI Guru Member

    Does layer7 filter have a performance hit or anything, would it be better to just use ports?
  5. PeterT

    PeterT Network Guru Member

    I think the point is that until applications are defined to the main L7 project (ie the Sourceforge web site) that we will not see them appear in Tomato. The Tomato creator just leverages what the L7 community supply when he builds the newest Tomato release.

    If you have knowledge that can be shared with the L7 community over the protcol used by Supreme Commander let them have it, and then drop subtle hints to have the newest L7 code integrated into the next version of Tomato.
  6. TerminatorHTK

    TerminatorHTK LI Guru Member

    OK...that makes sense. It seemed beyond my capabilities to come up with the L7 filters for Supreme Commander.
  7. FRiC

    FRiC LI Guru Member

    As the L7-filter site explains, the L7-filter is useful for apps that use random ports, or for standard protocols running on non-standard ports. Since you own the game and the router yourself, you can just set up a fixed port and set QoS for that port, there's no need to use L7-filters.
  8. TerminatorHTK

    TerminatorHTK LI Guru Member

    The problem is, the person hosting the game can pick a port to be used, so I can't just set a static port in the QoS entry. Also, I'm not sure of what other ports besides that dynamic port actually get used, but since there is the server dynamic port involved, it doesn't even help to find that out.
  9. M_ars

    M_ars LI Guru Member

    You are still able to match the game.
    SupCom uses the following ports by default:
    30340 (for GPGNet)
    30341 (for GPGNet)
    9103 (for lobby, matchmaking)
    6112 (gameplay)

    The only port that I can change is 6112.

    So your computer uses the port 6112 to send the data to the Server on Port XXX. I have set up a QoS rule for all these ports (Src or Destination) and everthing works perfect.
  10. TerminatorHTK

    TerminatorHTK LI Guru Member

    OK...thx for the information. Are all of these ports the source port to setup in QoS then?
  11. TerminatorHTK

    TerminatorHTK LI Guru Member

    I've setup the ports as described for both source and destination for now. Thanks much for the information. I was hoping to find whether these ports were source or destination or both, but after browsing the web, I didn't find the information. If anyone knows whether I can get by with just source or destination on these ports, please let me know.

  12. M_ars

    M_ars LI Guru Member

    6112 is in 99% the Src and Dest- Port (default settings of SupCom). So if you use 6112, then "Src" for 6112 is all you need.
    For the other ports i can´t tell you right now.

Share This Page