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.
Parents
  • Hi Mountainman,
    please be a bit more specific about what does not work. Is there any error output? Can you please post your QOSrules?

    Thank you,
    andreas
  • It seems like he gets all the bandwidth allthough I've tried to set up a rule: 

    From (Client): LAN_Network__
    Service:       Kazaa (port 1214)
    To (Server):   WAN_Network__
    Weight:        low
    Share:         Share/Max

    It accepts the rule, but perhaps I did this wrong, I dont know.
  • 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]
  • That's not clear.

    Could you explain better what do u need to do?

    However, remember that qos could only shape outgoing traffic, not incoming (for each nic).
    So... (assuming the qos'ed hosts
    are in the LAN)

    * if u wanna limit your download speed, you must setup a qos rule onto the LAN nic.

    * if u wanna limit your upload speed, you must setup a qos rule onto the INTERNET nic.

    * if u wanna limit both upload/download, you must setup a qos rule either onto the INTERNET nic and the LAN nic.

    I suggest to create a new network group for 0.0.0.0/0 (I called it internet) instead of using ANY, since seems that using the magic word ANY doesn't work with qos (don't ask me why).

    for dmz and others the same applies
  • I want to limit FTP-UPLOAD-bandwidth from my home-LAN to the Internet.

    I have DSL with 128/768kbits UL/DL and thus I _can't_ set my QoS on the DSL-NIC. I don't know why but with QoS on DSL-NIC ASL does not work:

    http://www.astaro.org/ubb/ultimatebb.php?ubb=get_topic;f=2;t=001395

    So I set it up on the internal interface (LAN) as I said above, but it's not working. Although I set the 'QoS Real BW' to 64kbits my uploads from LAN to Internet reach 128kbits. And for me ONLY the 'ANY' definition seems to be accepted by ASL.

    1    LAN_Network__  FTP  Any  medium  don"t share
    ---- classes ----
           name     | parent  | scheduler | rate       | bounded | isolated
          ------------------------------------------------------------------
           2:       | root    | cbq       | 100Mbit    | yes     | yes     
           2:1      | 2:      | cbq       | 64Kbit     | yes     | yes     

    1    LAN_Network__  FTP  Server  medium  don"t share
    ---- classes ----
           name     | parent  | scheduler | rate       | bounded | isolated
          ------------------------------------------------------------------
           2:       | root    | cbq       | 100Mbit    | yes     | yes     

    As you can see with the ANY-definition there an entry 2:1, with my SERVER-definition there is none. But nevertheless both setups do not work.
  • Hi Suppentrulli,

    you are probably using Masquerading. Since the QoS Rules are matched after Masquerading, you cannot use your internal IP addresses for your rules. Please try the external IP address of your firewall as source address.

    Greets,
    Andreas
  • Hi,

    did I write something about your internal interface? [:)] 
    But I should have read your posting more carefully, I missed the information that you use DSL. To limit Uploads from your local net to the internet, you would have to use your external interface because you can only manage outgoing traffic (you're right on that). That would mean your PPPoE-Interface, which does not work on ASL 3.2 and older due to a bug in the QoS module.
    I can't think of a solution to your setup at the moment (except trying ASL BETA or waiting for ASL4). 

    To your second question:
    Your rule 
    LAN_Network__ FTP Server medium don"t share
    is probably not shown because packets which match that rule would leave your external interface. Since you only enabled QoS on your internal interface, it won't affect any packets, so it is not set in the kernel.

    Greets,
    andreas
  • Hi andreas, first of all, thank you for the fast answer.

     
    did I write something about your internal interface?  [:)]rst post here:
    http://www.astaro.org/ubb/ultimatebb.php?ubb=get_topic;f=2;t=001395

     [quote]That would mean your PPPoE-Interface, which does not work on ASL 3.2 and older due to a bug in the QoS module.
    I can't think of a solution to your setup at the moment (except trying ASL BETA or waiting for ASL4).
    [:)]
Reply Children
  • Is QoS broken for cable modem connections as well? What's the exact issue with QoS not working? Is it DHCP?

    My DHCP cable modem connection (eth2) on Astaro 3.214 stops working when I enable QoS as follows:

    eth2_Interface__  Any  Any  low  don"t share

    All connections to the internet are dropped, and the internet becomes inaccessable.

    Any ideas?
  • Ah, I figured it out.

    As stated in many ubb postings, I had to add an "Internet" entry under "Networks", with ip "0.0.0.0" and netmask "0.0.0.0".

    All works fine now.