This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Qos and Kazaa

Are there anybody outthere that has any experience regarding Qos and Kazaa ???

I have a user on my network that drains all the bandwidth by using KaZaa. I would like to use Qos but it does not seem to work. 

Any help would be nice.....

Best regards 

Mountainman


This thread was automatically locked due to age.
  • OK, I see your problem :-)

    There is currently no _nice_ way to delete that, but there is a workaround: just set to QoS Bandwith for the interface you want QoS to be disabled to 1Gbit. Then the work on console:
    In /etc/wfe/conf/itf.conf, you have the following two QoS entries for a QoS'ed Interface:
     
    code:
     
    qosbw = 1GBit
    qosreal = 

    Now delete both to set the Interface to a "unconfigured" QoS state.

    Hope that fixes your prob.  [:)] 
    andreas
  • The trick worked @ 50% ...

    I was able to disable qos for the interface,
    but adding rules to qos resulted in nothing!
    The rules were active, but the tc table
    showed me nothing (of course rules that were
    not related to the iface with qos disabled).

    So, I repeated the trick for the other ifaces,
    to disable qos on all and restart with it.

    Then I enable qos only on the iface I really need,
    but nothing.... tc showed me that qos has a root qdisc on the interface, but rules were not accepted, even if active.

    So I enabled again qos on all 3 ifaces, and all is ok (at least is as we started   [:)]  ).

    Probably a bug? or something is missing?

    Not a big problem, but worth investigating.
  • OK, confirmed.
    Got your problem, I can reproduce it.
    Workaround is as follows:
    Edit itf.conf and kick QoS entries on interfaces you don't want the QoS on. Kill the mdw_deamon.pl and wait for the restart (approx. 15 secs).

    Sorry for the inconvenience. I created a entry in our bugtracking system. Thanks for your help!

    Greets,
    andreas
  • Ok.

    That's work as expected.

    Now is possible to disable qos on a single interface.

    Thanks!
  • Another question I'm thinking about.

    Providing that I've qos enabled onto WAN interface and LAN interface.
    Setting up a rule like:

    From MYIP Service ANY to ANY etc share/max

    and tc tell me as LAN filter matches:
      source IP        : MYIP / 255.255.255.255
    (the same is for WAN interface)

    This will affect only the outgoing bandwidth from MYIP.
    Right? (or wrong).

    But If I want to prevent a malicious clerk to spend his work hours downloading, I must set up a rule like

    From ANY Service ANY to MYIP etc share/max
    Right or wrong?

    But if I do that , in the tc table I only see as LAN filter matches :
       destination IP   : 0.0.0.0 / 0.0.0.0
    (this time othing into WAN iface)

    I think that destination IP must be MYIP/32.

    Or astaro qos works only for outgoing data transfer?

    Even in the manual (or help) the only example is for a server behind the firewall that does outgoing transfers.
     
     [size="1"][ 08 November 2002, 09:26: Message edited by: emgadmin ][/size]
  • Hi  [:)] 
    If we go on like that it might be better to use the phone *g*
    I am sorry, but this time it is a technical constraint we won't be able to fix :-)You can only influence outgoing traffic with QoS Settings, because you can't control how fast the provider router sends packets to you. The only thing you can do is to use QoS on your internal Interface (LAN), because this is the outgoing interface when you are downloading things.

    Greetings,
    andreas
  • Yes, the phone probably is better ;>

    However, I know that only outgoing traffic could be controlled, so I have enabled Qos onto the LAN interface.

    But there's something wrong with the setup, since if I set up a rule (for 'downloading') like this:

    source SERVER service ANY to MYIP etc etc 
    I got my incoming traffic shaped (or the outgoing traffic for LAN eth).
    And tc confirms that with filter matches:
     source IP        : SERVER / 255.255.255.255
     destination IP   : MYIP / 255.255.255.255

    (and tests confirm that)

    But if SERVER is 0.0.0.0/0.0.0.0 somethigs goes wrong with the setup and tc matchig filter says:
    destination IP   : 0.0.0.0 / 0.0.0.0

    and traffic is shaped onto all the LAN_network!

    Which is wrong, I think. I expected
     source IP        : 0.0.0.0 / 0.0.0.0
     destination IP   : MYIP / 255.255.255.255

    I played a bit with cbq under a standard linux box and I managed to do this. 
    Probably there's something in astaro that leads to a wrong destination when the source is ANY.
  • SOLVED!

    Probably an astaro bug?

    Ok, seems the problem is with the built in astaro ANY net definition.

    I created another net definition aka "INTERNET = 0.0.0.0/0" , put it into qos (enabled on my lan) , et voilà, I get incoming traffic shaped on single IP!

    And of course the tc filter matching says (now correctly):
    source IP        : 0.0.0.0 / 0.0.0.0
    destination IP   : MYIP / 255.255.255.255

    Hope that could be useful!

    ANY is a buggy magic definition             ?

    (using ASL 3.211)
     
     [size="1"][ 08 November 2002, 10:55: Message edited by: emgadmin ][/size]
  • Hi.

    This one is a bit tricky to hunt down. But I am tracking it and will submit a bug report as soon as I know exactly what is going on  [:)] 

    Greets,
    andreas
  • Any news here?

    I have problems setting up a working QoS. I have three NICs: a DSL,DMZ and LAN Interface. I set the LAN-'QoS Real BW' to 64kbits and created a QoS rule:

    LAN_Network - FTP - Any - medium - don't share

    The rule is listed there but does not seem to work. My uploads to the internet are about 16kbyte/s. I tried it with different services and with hosts instead of LAN_Network but nothing helps. If I change the destination-field to something like 'Internet' (0.0.0.0, 0.0.0.0) or 'FTPServer' (w.x.y.z, 255.255.255.255) the rule is not shown in the 'Current quality of service rules' list (yes, i enabled it).

    Is this a bug or am I doing something wrong?
     
     [size="1"][ 01 December 2002, 11:36: Message edited by: Suppentrulli ][/size]