From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Fri, 30 Apr 2004 09:07:29 +0000 Subject: Re: [LARTC] Wondershaper stops limiting outbound traffic Message-Id: <40921751.6090005@dsl.pipex.com> List-Id: References: <200404281637.51669.finbert@sbcglobal.net> In-Reply-To: <200404281637.51669.finbert@sbcglobal.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Richard wrote: > I have wondershaper to limit my upload at 400kilobits (my line is 600kbps). > > I do a lot of torrent seeding and I dont want my pings killed when I'm > uploading so I set low prority source ports as follows (by the way, I have > bittornet to only use ports 6881-6910): That means BT will listen on those ports. Even if you just seed, it will still connect to others - so the src port will be different. The dst port will usually be a standard BT one - but only as long as the peer didn't tell BT to listen on different ports. To mark BT properly you need something that looks at the data like ipp2p - this needs a netfilter extra POM patch (connmark) to work. http://rnvs.informatik.uni-leipzig.de/ipp2p/index_en.html Andy. > > NOPRIOPORTSRC="6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 > 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 > 6908 6909 6910" > > Problem is, sometimes my upload will be limited to 50kb/s and others it'll be > maxed. This is with wondershaper running too! (verified by ./wshaper > status). > > If I stop wondershaper (./wshaper stop) my outbound bandwith does nothing (as > it's already maxed) but if I try to start it again, nothing happens again > (yet ./wshaper status shows that wondershaper is installed). If I comment > out all the SRC ports that I want no priority for, and re-run wshaper, my > outbound is once again limited to 50kb/s, but my pings are horrible because > all bandwith has the same priority. > > Some will ask why not use the torrents bandwith limitation....the answer to > that is because it sucks. I have it set to 50kb/s and instead of it sataying > at 50, it fluctuates up and down and AVERAGES 50kb/s. > > What could be causing this problem when NOPRIOPORTSRC is set to de-prioritize > torrents? > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/