Re: torrent sharing
Stu Midgley <[email protected]> Thu, 14 Sep 2017 21:12:40 +0800
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <CAEM1RsUGyBRh3vM=-MP4fe4RXiEehxWB71E6_afn-8ZYrSXf3w@mail.gmail.com> |
--===============3306194182269645707== Content-Type: multipart/alternative; boundary="001a11375c202c6ab105592609c4" --001a11375c202c6ab105592609c4 Content-Type: text/plain; charset="UTF-8" Thanks for the quick response. I started the bootstrap-dht and the lftp client and server on the single machine (172.16.250.40) which is a machine without external access to the internet (hence why I want to run my own dht bootstrap service. The dht bootstrap service is running on port 6881. Here is the server session > lftp -d lftp :~> set torrent:use-dht yes lftp :~> torrent --dht-bootstrap=172.16.250.40 ---- listening on udp [::]:6887 ---- listening on udp [0.0.0.0]:6887 ---- Resolving host address... ---- 1 address found: 172.16.250.40 lftp :~> torrent --share image.tar.gz ---- Total length is 2146267992 ---- opening image.tar.gz ---- closing image.tar.gz ---- Piece length is 1048576 ---- Total length is 2146267992 magnet:?xt=urn:btih:B40B0E478CB94A69CE6A3E811744D09AA7F60D31&xl=2146267992&dn=image.tar.gz ---- listening on tcp [0.0.0.0]:6887 ---- starting search for B40B0E478CB94A69CE6A3E811744D09AA7F60D31 ---- too few good nodes found in the routing table **** no nodes found in the routing table ---- starting search for B40B0E478CB94A69CE6A3E811744D09AA7F60D31 ---- too few good nodes found in the routing table **** no nodes found in the routing table ---- listening on tcp [::]:6887 ---- opening image.tar.gz ---- closing image.tar.gz image.tar.gz: dn:0 up:0 complete, ratio:0.00/0.00/0.00 What isn't show here is the validation of the image.tar.gz that went on. Here is the client session > lftp -d lftp :~> set torrent:use-dht yes lftp :~> torrent --dht-bootstrap=172.16.250.40 ---- listening on udp [::]:6882 ---- listening on udp [0.0.0.0]:6883 ---- Resolving host address... ---- 1 address found: 172.16.250.40 lftp :~> torrent 'magnet:?xt=urn:btih:B40B0E478CB94A69CE6A3E811744D09AA7F60D31&xl=2146267992&dn=image.tar.gz' ---- listening on tcp [0.0.0.0]:6883 ---- listening on tcp [::]:6883 ---- starting search for B40B0E478CB94A69CE6A3E811744D09AA7F60D31 ---- too few good nodes found in the routing table **** no nodes found in the routing table ---- starting search for B40B0E478CB94A69CE6A3E811744D09AA7F60D31 ---- too few good nodes found in the routing table **** no nodes found in the routing table image.tar.gz: Waiting for meta-data... I don't see lftp contacting the bootstrap service. Stu. > I recommend turning on debug in lftp before this command and see how > bootstrapping goes. Maybe it's a port mismatch problem. lftp uses 6881 by > default. > > Do you really need your own bootstrapper service? I can usually bootstrap > from one of: dht.transmissionbt.com, router.utorrent.com, > router.bittorrent.com. > > -- > Alexander. > -- Dr Stuart Midgley [email protected] --001a11375c202c6ab105592609c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e,monospace"><div>Thanks for the quick response.</div></div><div class=3D"g= mail_default" style=3D"font-family:monospace,monospace"><br></div><div clas= s=3D"gmail_default" style=3D"font-family:monospace,monospace">I started the= bootstrap-dht and the lftp client and server on the single machine (172.16= .250.40) which is a machine without external access to the internet (hence = why I want to run my own dht bootstrap service.</div><div class=3D"gmail_de= fault" style=3D"font-family:monospace,monospace"><br></div><div class=3D"gm= ail_default" style=3D"font-family:monospace,monospace">The dht bootstrap se= rvice is running on port 6881.</div><div class=3D"gmail_default" style=3D"f= ont-family:monospace,monospace"><br></div><div class=3D"gmail_default" styl= e=3D"font-family:monospace,monospace"><br></div><div class=3D"gmail_default= " style=3D"font-family:monospace,monospace">Here is the server session</div= ><div class=3D"gmail_default" style=3D"font-family:monospace,monospace"><br= ></div><div class=3D"gmail_default" style=3D"font-family:monospace,monospac= e"><p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Men= lo;color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatu= res">> lftp -d</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">lftp :~> set torrent:use-dht yes</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">lftp :~> torrent --dht-bootstrap=3D172.16.250.40</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- listening on udp [::]:6887</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- listening on udp [0.0.0.0]:6887</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- Resolving host address...</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- 1 address found: 172.16.250.40</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">lftp :~> torrent --share image.tar.gz</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- Total length is 2146267992</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- opening image.tar.gz</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- closing image.tar.gz</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- Piece length is 1048576</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- Total length is 2146267992</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">magnet:?xt=3Durn:btih:B40B0E478CB94A69CE6A3E811744D09AA7F60D31&xl=3D2= 146267992&dn=3Dimage.tar.gz</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- listening on tcp [0.0.0.0]:6887</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- starting search for B40B0E478CB94A69CE6A3E811744D09AA7F60D31</span><= /p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- too few good nodes found in the routing table</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">**** no nodes found in the routing table</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- starting search for B40B0E478CB94A69CE6A3E811744D09AA7F60D31</span><= /p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- too few good nodes found in the routing table</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">**** no nodes found in the routing table</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- listening on tcp [::]:6887</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- opening image.tar.gz</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- closing image.tar.gz</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">image.tar.gz: dn:0 up:0 complete, ratio:0.00/0.00/0.00</span></p><div><sp= an style=3D"font-variant-ligatures:no-common-ligatures"><br></span></div></= div><div class=3D"gmail_default" style=3D"font-family:monospace,monospace">= <br></div><div class=3D"gmail_default" style=3D"font-family:monospace,monos= pace">What isn't show here is the validation of the image.tar.gz that w= ent on.</div><div class=3D"gmail_default" style=3D"font-family:monospace,mo= nospace"><br></div><div class=3D"gmail_default" style=3D"font-family:monosp= ace,monospace">Here is the client session</div><div class=3D"gmail_default"= style=3D"font-family:monospace,monospace"><br></div><div class=3D"gmail_de= fault" style=3D"font-family:monospace,monospace"><p style=3D"margin:0px;fon= t-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span st= yle=3D"font-variant-ligatures:no-common-ligatures">> lftp -d</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">lftp :~> set torrent:use-dht yes</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">lftp :~> torrent --dht-bootstrap=3D172.16.250.40</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- listening on udp [::]:6882</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- listening on udp [0.0.0.0]:6883</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- Resolving host address...</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- 1 address found: 172.16.250.40</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">lftp :~> torrent 'magnet:?xt=3Durn:btih:B40B0E478CB94A69CE6A3E8117= 44D09AA7F60D31&xl=3D2146267992&dn=3Dimage.tar.gz'</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- listening on tcp [0.0.0.0]:6883</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- listening on tcp [::]:6883</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- starting search for B40B0E478CB94A69CE6A3E811744D09AA7F60D31</span><= /p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- too few good nodes found in the routing table</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">**** no nodes found in the routing table</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- starting search for B40B0E478CB94A69CE6A3E811744D09AA7F60D31</span><= /p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">---- too few good nodes found in the routing table</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">**** no nodes found in the routing table</span></p> <p style=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo;= color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures= ">image.tar.gz: Waiting for meta-data...</span></p><div><span style=3D"font= -variant-ligatures:no-common-ligatures"><br></span></div><div><span style= =3D"font-variant-ligatures:no-common-ligatures"><br></span></div><div>I don= 't see lftp contacting the bootstrap service.</div><div><br></div><div>= Stu.<br></div><div><br></div></div><div class=3D"gmail_default" style=3D"fo= nt-family:monospace,monospace"><br></div><div class=3D"gmail_extra"><br><di= v class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0= px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-= color:rgb(204,204,204);padding-left:1ex"><span class=3D"gmail-"> <br> </span>I recommend turning on debug in lftp before this command and see how= <br> bootstrapping goes. Maybe it's a port mismatch problem. lftp uses 6881 = by<br> default.<br> <br> Do you really need your own bootstrapper service? I can usually bootstrap<b= r> from one of: <a href=3D"http://dht.transmissionbt.com" rel=3D"noreferrer" t= arget=3D"_blank">dht.transmissionbt.com</a>, <a href=3D"http://router.utorr= ent.com" rel=3D"noreferrer" target=3D"_blank">router.utorrent.com</a>,<br> <a href=3D"http://router.bittorrent.com" rel=3D"noreferrer" target=3D"_blan= k">router.bittorrent.com</a>.<br> <br> --<br> =C2=A0 =C2=A0Alexander.<br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature"><div dir=3D"ltr"><div><font face=3D"monospace, monospa= ce">Dr Stuart Midgley<br><a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a></font></div></div></div> </div></div> --001a11375c202c6ab105592609c4-- --===============3306194182269645707== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp --===============3306194182269645707==--