Discussion:
[libtorrent] Bandwidth limits for local and remote peers?
m***@posteo.de
2016-04-20 21:02:37 UTC
Permalink
Hello,
my understanding is that a bandwidth limit is applied to all peers.
In our setup, we have local peers (within a location) and remote peers
(from other locations).

Is it thinkable to apply individual bandwidth limits for local and
remote peers?
| Peer | Upstream | Downstream |
| Local | 8 Mbs | 8 Mbs |
| Remote | 4 Mbs | 4 Mbs |


Best regards,
Markus
Arvid Norberg
2016-04-20 21:40:03 UTC
Permalink
Post by m***@posteo.de
Hello,
my understanding is that a bandwidth limit is applied to all peers.
In our setup, we have local peers (within a location) and remote peers
(from other locations).
Is it thinkable to apply individual bandwidth limits for local and
remote peers?
| Peer | Upstream | Downstream |
| Local | 8 Mbs | 8 Mbs |
| Remote | 4 Mbs | 4 Mbs |
in libtorrent 1.1 fine-grained limits can be set based on IP ranges and
types of connections. You have to define a peer_class and assign a filter
to it and settings.

See:

http://libtorrent.org/manual-ref.html#peer-classes
--
Arvid Norberg
Loading...