L7 is not matching yet IPP2P is matching

Home Page Forums Network Management ZeroShell L7 is not matching yet IPP2P is matching

This topic contains 1 reply, has 0 voices, and was last updated by  james 11 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40736

    james
    Member

    Hi,

    I’m loving zeroshell as it’s already made our voip systems much more usable. I’m having some trouble getting the L7 QOS matching working though. I have the following rules which should match HTTP traffic

    MARK all opt — in * out * 0.0.0.0/0 -> 0.0.0.0/0 LAYER7 l7proto http MARK set 0xb
    MARK all opt — in * out * 0.0.0.0/0 -> 193.111.200.135 MARK set 0xd
    MARK all opt — in * out * 193.111.200.135 -> 0.0.0.0/0 MARK set 0xd
    MARK all opt — in * out * 0.0.0.0/0 -> 0.0.0.0/0 ipp2p v0.8.2 –kazaa –gnu –edk –dc –bit MARK set 0xc

    applied to ETH00 and ETH01 but it doesn’t seem to work: the stats tell me this

    ETH00 — 40Mbit/s 40Mbit/s 59635619 526832bit
    DEFAULT Medium — — 55575232 462872bit
    P2P Low 64Kbit/s — 4080019 64184bit
    VOIP High — 1Mbit/s 0 0bit
    WEB Medium 15Mbit/s 2Mbit/s 0 0bit

    ETH01 — 40Mbit/s 40Mbit/s 1511853696 11404Kbit
    DEFAULT Medium — — 1511333089 11403Kbit
    P2P Low 64Kbit/s — 588071 1336bit
    VOIP High — 1Mbit/s 0 0bit
    WEB Medium 15Mbit/s 2Mbit/s 0 0bit

    Which suggests it’s all falling into the default category, has anyone come across this? The VOIP based on TCP and the P2P based on the IPP2P are both working very well (the stats should read zero for voip ATM)

    #45760

    james
    Member

    I seem to have it working now, perhaps there was a problem with the rule. Deleting and re-creating did the trick!

    #45761

    yuda
    Member

    Maybe you can try to add those rules.
    I hope to hear your good news
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto html MARK set 0xb
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto httpcachemiss MARK set 0xb
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto httpcachehit MARK set 0xb
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto http MARK set 0xb
    MARK all tcp — in * out * 0.0.0.0/0 -> 193.111.200.135 MARK set 0xd
    MARK all tcp — in * out * 193.111.200.135 -> 0.0.0.0/0 MARK set 0xd

    MARK all — * * 0.0.0.0/0 0.0.0.0/0 ipp2p v0.8.2 –kazaa –gnu –edk –dc –bit MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto gnutella MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto edonkey MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto soulseek MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto xunlei MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto poco MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto kugoo MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto directconnect MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto 100bao MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto bittorrent MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto fasttrack MARK set 0xc
    MARK all — * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto gnucleuslan MARK set 0xc
    MARK tcp — * * 0.0.0.0/0 0.0.0.0/0 tcp dpts:80 MARK set 0xc
    MARK tcp — * * 0.0.0.0/0 0.0.0.0/0 tcp spts:80 MARK set 0xc

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.