Re: controlling p2p & bittorrent

green <[email protected]>
Newsgroups gmane.linux.debian.devel.firewall
Message-ID <20100726224054.GU7337@swansys>
Tim Clewlow wrote at 2010-07-25 11:32 -0500:
> > Does anyone have a shaping setup that tries to be fair where p2p is
> > concerned, with miminal/no ingress shaping?
> 
> I use priority base queuing on outgoing connections. dont use any
> kind of bandwidth limiting on incoming as I dont see how that would
> really do anything. I use pf as my firewall on a bsd box, but the
> proiritisations would be the same for any firewall. It works for me,
> I used to have a similar problem with p2p hogging all the outgoing
> bandwidth, now I dont, and p2p still runs fine.
> 
> The following is taken from my firewall rules, the higher numbered
> priorities *always* get put ahead of lower priorities.
> 
> queue ssh   on $ext_if priority 15 priq
> queue dns   on $ext_if priority 10 priq
> queue http  on $ext_if priority 5  priq
> queue other on $ext_if priority 3  priq
> queue hogs  on $ext_if priority 1  priq (default)

Thanks; I will try a setup more like this.  I think I already tried a 
significantly lower priority (hfsc linkshare) for the host running bittorrent 
but it did not help.  Anyway I will work with it some more.

Also I suppose that egress shaping differs between ISPs and this problem might 
come and go between providers.
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxODvYACgkQ682C+dBP+oRFLwCg0FO8uGWtzaCcnGKVN1vMyFGE
tAYAoLq31j9/mMBoPGs2W3rGwTEBSyCs
=6Hrp
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.