Ardhi Putra Pratama | 28 Apr 17:52 2016
Picon

Share mode mechanism

Hello,

Exploring with share mode made me questioning, how it actually works?

In a simplest case, I only put 1 torrent in my session in share_mode. Left all
the settings, parameter, in their respective default value. I'm sure that the
swarm has some (if not a lot) of leechers. I confirmed this by looked at the
trackers and provided the data itself in another torrent client (so I seed
some of it).

However, my single-share-mode-torrent was not downloading anything. I already
have the list of peers, 'spam' the force_reannounce, and scrape regularly.

Is there any way to change the share mode algorithm?  
I also wondering, is there any existing study proofing that share mode really
increase your ratio?

Thanks :D

Ardhi Putra Pratama Hartono / Msc Candidate in Computer Science  
[me <at> ardhipoetra.web.id](mailto:me <at> ardhipoetra.web.id) /  +31617324665

Technische Universiteit Delft - Distributed System lab  
<http://www.ardhipoetra.web.id>

[ ![Twitter](https://s3.amazonaws.com/htmlsig-assets/round/twitter.png)
](http://twitter.com/ardhipoetra) ![](https://s3.amazonaws.com/htmlsig-
assets/spacer.gif) [ ![Facebook](https://s3.amazonaws.com/htmlsig-
assets/round/facebook.png) ](https://fb.me/ardhipoetra)
![](https://s3.amazonaws.com/htmlsig-assets/spacer.gif) [
(Continue reading)

Trung Thanh Tran | 26 Apr 16:57 2016
Picon

DHT put/get immutable in python do not wỏk

Hi,
I am trying to use dht_put_immutable_item and dht_get_immutable_item with python wrapper. But it seems
that it cannot get data from dht. My source code is in attachment.
Below is result in command line. Please tell me if I miss something.

python put_immutable_example.py 
Put immutable: Data salt
DHT put commplete (success=0 hash=86e686d3c2cf1c0d5fc21ed584dd4ccf298ab2e5)
Put is ok
DHT immutable item 86e686d3c2cf1c0d5fc21ed584dd4ccf298ab2e5 [ <uninitialized>
 ]

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Ardhi Putra Pratama | 26 Apr 16:53 2016
Picon

Share mode download/upload activity stuck

Howdy,

I have several torrents that added in share_mode flags. I kept other settings
like share_mode_target or active_downloads in  their default value. Let's say
that the number of torrents added is around 20-30.

When the torrents recently added, it just runs. Although all of them very slow
compared to if I download those files manually, one by one without share_mode.
However, in 1 hour or so, all of my torrents just stop responding. It doesn't
do anything (download/upload), but it's still active.

My guess is, maybe it can't upload more because there are no peers that need
the file. Unfortunately, this is not the case. Based on get_peer_info(), some
peers indeed still need some of the data. So why stop uploading?

Any clue on this?

And more question, as share_mode is claimed to not well-tested. What settings
that I have to consider if I work with a large number of torrents (30-50) in
share mode? The idea is to increase my ratio.

Kind regards,

ardhi

[ ![Technische Universiteit Delft - Distributed System lab](https://s3.amazona
ws.com/htmlsig/logos/files/000/000/027/landscape/bluejay.png?1414636193)
](https://htmlsig.com/t/0000001BM6FGS)

Ardhi Putra Pratama Hartono / Msc Candidate in Computer Science  
(Continue reading)

Michael Mckeown | 26 Apr 14:48 2016

Re: Libtorrent-discuss Digest, Vol 119, Issue 13

I mean a multi file torrent with some zero bit files in it ie:

torrent downloaded from this site.txt

what happens is the torrent creates but it's corrupted and won't open 
with Libtorrent or Utorrent.

I've filtered out zero bit files anyway but a lot of private torrent 
sites or private trackers require a .txt file like the above.

Thanks.

On 26/04/2016 13:01, libtorrent-discuss-request <at> lists.sourceforge.net wrote:
> Send Libtorrent-discuss mailing list submissions to
> 	libtorrent-discuss <at> lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
> or, via email, send a message with subject or body 'help' to
> 	libtorrent-discuss-request <at> lists.sourceforge.net
>
> You can reach the person managing the list at
> 	libtorrent-discuss-owner <at> lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Libtorrent-discuss digest..."
>
>
> Today's Topics:
>
(Continue reading)

Steven Siloti | 26 Apr 03:54 2016
Picon

IPv6 bootstrap server

Now that IPv6 DHT support has landed in master I would like to encourage 
people to test it out. To make this easier I've set up an IPv6 bootstrap 
server which you can reach at router.silotis.us:6881. This will also 
help test the new IPv6 support in the bootstrap daemon. Hopefully this 
is going to be a temporary measure until I get BitTorrent Inc. to add 
IPv6 support to their bootstrap servers.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Michael Mckeown | 25 Apr 16:06 2016

Zero bit files

With the latest build if a single file torrent is created that is zero 
bytes file size then an application crash occurs or if its a multi file 
torrent with a zero bit file included the torrent will create but is 
corrupted.

Is there something you need to do to handle zero bit files?

Thanks.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Steven Siloti | 21 Apr 04:32 2016
Picon

Libtorrent-reputation 0.0.0

I'm excited to announce the initial release of my persistent reputation 
plugin for libtorrent. This plugin allows clients using libtorrent to 
add support for tracking peer reputation across multiple torrents and 
rewarding peers for long term seeding. For more details on how it works 
see the draft BEP at 
https://github.com/ssiloti/bep-persistent-credit/blob/master/one-hop-rep.rst

This is the first plugin to take advantage of the new external plugin 
API added in libtorrent 1.1.0. This release is primarily of interest to 
client authors, there are currently no clients which have support for 
user loadable libtorrent plugins. Unfortunately it is only supported 
with clients using the C++ API, there is currently no support in 
libtorrent for loading external plugins via the python bindings.

You can download the release here: 
https://github.com/ssiloti/libtorrent-reputation/releases/download/v0.0.0/libtorrent-reputation-0.0.0.tar.gz

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
markus.kramer | 20 Apr 23:02 2016
Picon

Bandwidth limits for local and remote peers?

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

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Michael Mckeown | 19 Apr 13:47 2016

torrent_error_alert

         if ( auto t_err_alert = libtorrent::alert_cast< 
libtorrent::torrent_error_alert >( a ) )
         {
             std::string message = "Error, ";
             message.append ( a->message ( ) );
             message.append ( " on file " );
             message.append ( t_err_alert->filename ( ) );
             std::cout << "torrent_error_alert " << message << "\n";
         }

With that I get the following error on compiling:

error LNK2001: unresolved external symbol "public: char const * 
__thiscall libtorrent::torrent_error_alert::filename(void)const " 
(?filename <at> torrent_error_alert <at> libtorrent <at>  <at> QBEPBDXZ)

Visual Studio itself does not complain that the code is wrong.

How is it I use the filename( ) properly?

Thanks.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Michael Mckeown | 18 Apr 13:27 2016

Visual Studio 2015 building 64 bit

What are the proper steps to build for 64 bit?

I build boosts with:

toolset=msvc-14.0 address-model=64 --stagedir=stage64 variant=release 
link=static runtime-link=static

then Libtorrent with:

toolset=msvc-14.0 boost-link=static runtime-link=static 
deprecated-functions=off encryption=on link=static dht=on logging=off 
i2p=on variant=release

and Libtorrent duly builds and comes out at 72.9mb whereas the build for 
32 bit comes out as 81mb.

Compiling my project with the 64 lib throws "libtorrent.lib(session.obj) 
: fatal error LNK1112: module machine type 'X86' conflicts with target 
machine type 'x64'"

So I'm assuming I'm missing some flags on the Libtorrent arguments?

Thanks.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
(Continue reading)

Arvid Norberg | 16 Apr 21:45 2016
Picon

retiring C++98 support

I'm considering no longer supporting C++98 in libtorrent master. This would
mean the next major release (1.2 or possibly 2.0) not building on old
compilers. Given that all major systems currently come with at least C++11
support (or a decent portion of C++11) it would seem safe to start this
transition now.

The compilers on travis are also lagging behind the latest versions, so
there will naturally be some lag in picking up modern features.

It will likely be quite a while before a release off of master is cut,
given that 1.1 was just released.

Can anyone here see any problems with this?

Apart from having cleaner and more efficient code, I'm also hoping to
transition away from some boost libraries that have standard counterparts
now. like bind, function, shared_ptr, chrono, random, etc.

--

-- 
Arvid Norberg
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

Gmane