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.
  • 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).
    [:)]
  • Yes, I'm using masquerading. No, it does not work with my external IP.

    I don't understand why I should use my internal interface, I thought that QoS is only working on the outgoing interface - but that would be my PPPoE interface.

    The other question is why can I only use the "ANY" definition and not my own definitions like "TEST" (1.2.3.4 /32)?
  • 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.