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
sdm...@gmail.com
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to