It's easy, just write a mark rule for the 119 port, something likde this
<class name="nntp_in">
<address name="whetever" src-iface="eth1" proto="tcp"
src="maybe add something here" dst="or here" src-port="119" />
</class>
Andrew Niemantsverdriet wrote:
>Ok well I have been using bwm-tools for quite a while now. It is
>awesome, I still have some things that I would like to do with it but
>have not had time to yet. Anyway I their a way to limit that a port can
>use. I have a user who loves news groups and is downloading them 24x7
>that puts makes me have to throttle him way down so he does not affect
>other users. My question is can I just limit the port (119 in this case)
>to a specific speed? I know that in the documentation this is mentioned.
>I just don't see how.
>
>The part below I think I got figured out I just don't know how to make
>the class_nntp_in. Any help?
>
>
><flow name="nntp_in" max-rate="24000" burst-rate="32000">
> <queue prio="99" nfmark="101">
> class_nntp_in
> </queue>
></flow>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Power Architecture Resource Center: Free content, downloads, discussions,
>and more. http://solutions.newsforge.com/ibmarch.tmpl
>_______________________________________________
>bwm-tools-tech mailing list
>bwm...@li...
>https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech
>
>
>
>
|