2018-12-05 00:35:13
I have merkle roots

Fireduck
2018-12-05 00:35:22
But that doesn't help you

Fireduck
2018-12-05 02:03:16
I thought we were agreed tentacle roots is where it’s at?

penfold
2018-12-05 11:02:35
does anyone know how to actually add a http source to a torrent file?

mjay
2018-12-05 11:40:29
so apparently there are two competing unapproved BEPs on that
https://wiki.theory.org/index.php/BitTorrentSpecification#WebSeeding

Rotonen
2018-12-05 11:40:50
one of which requires dynamicity on the webfront

Rotonen
2018-12-05 11:41:08
I have the links for field 7 ready

mjay
2018-12-05 11:41:13
and damn, getright is still around

Rotonen
2018-12-05 11:41:21
http://136.243.82.213/snowblossom.7.snow
http://148.251.122.19/snowblossom.7.snow
http://95.216.9.106/snowblossom.7.snow
http://148.251.177.148/snowblossom.7.snow
http://148.251.10.146/snowblossom.7.snow
http://148.251.40.111/snowblossom.7.snow
http://136.243.71.164/snowblossom.7.snow
http://136.243.90.45/snowblossom.7.snow

mjay
2018-12-05 11:42:05
i wonder what blizzard does in its updaters

Rotonen
2018-12-05 11:42:20
or microsoft these days for that matter too

Rotonen
2018-12-05 11:43:14
seems simple enough, just add a list
http://bittorrent.org/beps/bep_0019.html

Rotonen
2018-12-05 11:43:30
that should be encodable as a magnet uri as well

Rotonen
2018-12-05 11:43:54
url-list

mjay
2018-12-05 11:45:10
(anyone can already use the above links)

mjay
2018-12-05 11:51:55
@mjay so i guess just grab the current torrent, edit and try

Rotonen
2018-12-05 12:36:16
@Rotonen how to edit? Looks like binary

mjay
2018-12-05 13:03:01
last i looked they were plaintext, compression?

Rotonen
2018-12-05 13:03:15
but it has been over 10 years

Rotonen
2018-12-05 13:15:46
I have the raw files on the servers - I need to change url-list instead I guess

mjay
2018-12-05 17:21:04
or just make a magnet uri of it and add ws= parametres to the query string

Rotonen
2018-12-05 17:21:51
and add the tracker as a tr=

Rotonen
2018-12-05 17:22:08
and urlencode

Rotonen
2018-12-05 17:23:00
http://torrent2magnet.com/ Torrent to Magnet online converter

Rotonen
2018-12-05 17:23:27
magnet uris are IMO neater to deal with than .torrent files

Rotonen
2018-12-05 17:35:06
the info hash for field 7 is 9760e073e3cf6dbe6f2525040f1550b8d3a73eb6

Rotonen
2018-12-05 17:36:17
so that as btih, tr pointing to the tracker of @Fireduck and multiple ws parametres pointing to the servers should do the trick

Rotonen
2018-12-05 17:36:43
some assembly required, cannot conveniently enough pull that off on a mobile

Rotonen
2018-12-05 17:42:47
I'll probably setup a tracker as well

Clueless
2018-12-05 17:45:42
DHT should cover most users

Rotonen
2018-12-05 17:45:52
or just using open trackers

Rotonen
2018-12-05 17:46:09
unless you explicitly want to monitor the swarm easier

Rotonen
2018-12-05 23:06:34
can someone set this up? torrents are nothing I'm experienced with

mjay
2018-12-05 23:09:22
My part is setting up the mirrors

mjay
2018-12-05 23:13:31
at a terminal now, will try

Rotonen
2018-12-05 23:15:06
field 8 and 9 are also ready, same ip's

mjay
2018-12-05 23:16:16
so, starting point, here is a valid magnet uri for the field 7 torrent `magnet:?xt=urn:btih:9760e073e3cf6dbe6f2525040f1550b8d3a73eb6`, next step is to add the tracker to that

Rotonen
2018-12-05 23:21:18
working magnet uri with the tracker in there `magnet:?xt=urn:btih:9760e073e3cf6dbe6f2525040f1550b8d3a73eb6&tr=http%3A%2F%2Ftracker.1209k.com%2Fannounce`

Rotonen
2018-12-05 23:21:37
goes to setup a tracker

Clueless
2018-12-05 23:21:39
i'll try adding http://136.243.82.213/snowblossom.7.snow first

Rotonen
2018-12-05 23:21:43
@Rotonen you suggest any trackers?

Clueless
2018-12-05 23:21:51
no, i roll with DHT

Rotonen
2018-12-05 23:21:57
i do not see the point of trackers

Rotonen
2018-12-05 23:25:34
@mjay not a 100% on how that works for directories and not single file torrents - can you symlink or move the one on 136.243.82.213 to match the directory structure from the torrent? it could be fine you just offer one of the files (as in the large one), but i suppose it needs to match the file list by path

Rotonen
2018-12-05 23:25:54
at least pointing the webseed parametre at the file or the root of the server does nothing for me

Rotonen
2018-12-05 23:26:45
heh, getright documented it well enough
http://getright.com/seedtorrent.html Award-winning GetRight download manager software for Windows. For faster download speeds, automated downloads, and more, download GetRight today!

Rotonen
2018-12-05 23:27:29
`For Multi-File torrents, this gets a bit more interesting. Normally, BitTorrent clients use the "name" from the .torrent info section to make a folder, then use the "path/file" items from the info section within that folder. For the case of Multi-File torrents, the 'url-list' should be a root folder where a client could add the same "name" and "path/file" to create the URL for the request. `
so yeah, as suspected, you need to have the subdirectory structure as it is in the .torrent

Rotonen
2018-12-05 23:28:36
and it will get the file list / other metadata from the peers once it finds any off the dht or off the tracker

Rotonen
2018-12-05 23:28:56
so i guess that's fine so long as there are > 0 peers

Rotonen
2018-12-05 23:29:17
but dunno if i can actually encode that into the magnet uri itself, but figuring that out should come later

Rotonen
2018-12-05 23:32:11
so preliminary full answer `magnet:?xt=urn:btih:9760e073e3cf6dbe6f2525040f1550b8d3a73eb6&dn=snowblossom.7&tr=http%3A%2F%2Ftracker.1209k.com%2Fannounce&ws=http%3A%2F%2F136.243.82.213%2F`

Rotonen
2018-12-05 23:32:21
and the tracker may be omitted by anyone whom dislikes trackers

Rotonen
2018-12-05 23:32:24
I moved it over to this directory

mjay
2018-12-05 23:32:49
anything in your access log?

Rotonen
2018-12-05 23:33:07
nope

mjay
2018-12-05 23:33:41
213.55.165.17 - - [06/Dec/2018:00:33:31 +0100] "-" 408 0 "-" "-"

mjay
2018-12-05 23:33:47
thats probably not you

mjay
2018-12-05 23:34:12
that is me, but via a browser

Rotonen
2018-12-05 23:37:36
but where i'm testing from is
```
144.76.2.138/27
144.76.46.6/29
144.76.2.153/27
2a01:4f8:190:7289::4/64
2a01:4f8:190:7289::3/64
2a01:4f8:190:7289::2/64
```

Rotonen
2018-12-05 23:38:18
not in the logs

mjay
2018-12-05 23:38:29
```
15:27:28 torrents.public Torrent a3647e5b5ac9685eb40f738f858e3e976f734ed1 - snowblossom.9 - <2 Available Seeders 10m 42s No 2 actions
15:27:28 torrents.public Torrent 7f66b2966d92d368ace6160a94cd0304f4766831 - snowblossom.11 - <2 Available Seeders 10m 42s No 2 actions
```

Clueless
2018-12-05 23:38:35
no 144.76.x.x at all

mjay
2018-12-05 23:39:09
7 is very busy so i get full 1gbit saturation on the downlink from the swarm, put the 8 up that way as well

Rotonen
2018-12-05 23:39:24
could be it just prefers low latency, i'm assuming you're on a different continent

Rotonen
2018-12-05 23:39:37
try pinging it

mjay
2018-12-05 23:39:41
should be quite fast

mjay
2018-12-05 23:40:04
fair enough, seems you're just a few racks over in falkenstein actually :stuck_out_tongue:

Rotonen
2018-12-05 23:40:13
:wink:

mjay
2018-12-05 23:40:50
heh, 200 microsecond pings, their network is pretty good

Rotonen
2018-12-05 23:42:06
move snowblossom.8 also over to a directory?

mjay
2018-12-05 23:42:12
yes

Rotonen
2018-12-05 23:42:51
once I've finished downloading those fields, they'll be up to the 2 or so.

Clueless
2018-12-05 23:43:01
done

mjay
2018-12-05 23:43:36
@Rotonen do magnet links work without a tracker?

Clueless
2018-12-05 23:43:38
seems i forgot the trailing slash in the 7 uri actually

Rotonen
2018-12-05 23:43:55
@Clueless all torrents work without a tracker, it's not a metadata dependent feature

Rotonen
2018-12-05 23:44:18
neat, so they can work dht without tracker, nice

Clueless
2018-12-05 23:44:28
the only thing you actually need is the content hash, then it discovers peers until it finds one whom can give the full set of metadata for that

Rotonen
2018-12-05 23:44:32
never looked into DHT tables before

Clueless
2018-12-05 23:44:50
but of course if you have a http accessible tracker, that helps people in networks with certain restrictions

Rotonen
2018-12-05 23:45:05
and the other way around, dht helps people in other situations

Rotonen
2018-12-05 23:45:38
i just like the elegance of `magnet:?xt=urn:btih:9760e073e3cf6dbe6f2525040f1550b8d3a73eb6` being a 100% valid way to grab field 7

Rotonen
2018-12-05 23:47:54
@mjay anything in the logs?

Rotonen
2018-12-05 23:48:20
148.251.122.19 - - [06/Dec/2018:00:09:39 +0100] "GET /snowblossom.8.snow HTTP/1.1" 200 154559569232 "-" "Wget/1.18 (linux-gnu)"

mjay
2018-12-05 23:48:43
oh well thats me :wink:

mjay
2018-12-05 23:48:47
no nothing

mjay
2018-12-05 23:48:59
also getting link saturation on field 8

Rotonen
2018-12-05 23:49:13
but `magnet:?xt=urn:btih:a83c3c8e5a8f68ffb1004dd0e62d380b6fa46805&dn=snowblossom.8&tr=http%3A%2F%2Ftracker.1209k.com%2Fannounce&ws=http%3A%2F%2F136.243.82.213%2Fsnowblossom.8%2F`

Rotonen
2018-12-05 23:49:54
moved all files in directories, on all servers

mjay
2018-12-05 23:51:33
37.201.195.53 - - [06/Dec/2018:00:50:45 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8.deck.b HTTP/1.1" 404 487 "-" "Transmission/2.92"
37.201.195.53 - - [06/Dec/2018:00:50:45 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8.deck.a HTTP/1.1" 404 487 "-" "Transmission/2.92"
37.201.195.53 - - [06/Dec/2018:00:50:45 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8.deck.a HTTP/1.1" 404 487 "-" "Transmission/2.92"
37.201.195.53 - - [06/Dec/2018:00:50:45 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8.snow HTTP/1.1" 404 485 "-" "Transmission/2.92"
37.201.195.53 - - [06/Dec/2018:00:50:47 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8.deck.b HTTP/1.1" 404 487 "-" "Transmission/2.92"
37.201.195.53 - - [06/Dec/2018:00:50:47 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8.deck.a HTTP/1.1" 404 487 "-" "Transmission/2.92"
37.201.195.53 - - [06/Dec/2018:00:50:47 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8.snow HTTP/1.1" 404 485 "-" "Transmission/2.92"
37.201.195.53 - - [06/Dec/2018:00:50:47 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8.deck.a HTTP/1.1" 404 487 "-" "Transmission/2.92"

mjay
2018-12-05 23:51:44
thats me using the magnet link above

mjay
2018-12-05 23:52:20
well, i could add another directory ...

mjay
2018-12-05 23:52:57
yeah, it's a bit dumb as it seems to add the display name to it

Rotonen
2018-12-05 23:53:06
but that's sorta in the spec, maybe

Rotonen
2018-12-05 23:53:19
add another dir?

mjay
2018-12-05 23:54:21
so field 8 deeper url `magnet:?xt=urn:btih:a83c3c8e5a8f68ffb1004dd0e62d380b6fa46805&dn=snowblossom.8&tr=http%3A%2F%2Ftracker.1209k.com%2Fannounce&ws=http%3A%2F%2F136.243.82.213%2Fsnowblossom.8%2Fsnowblossom.8%2F`

Rotonen
2018-12-05 23:54:54
does that nesting also happen for you if you strip the `dn=` parametre out of the query string?

Rotonen
2018-12-05 23:55:43
37.201.195.53 - - [06/Dec/2018:00:55:33 +0100] "GET /snowblossom.8/snowblossom.8/snowblossom.8/snowblossom.8.deck.a HTTP/1.1" 404 501 "-" "Transmission/2.92"

mjay
2018-12-05 23:55:47
with the link above

mjay
2018-12-05 23:56:01
oh

Rotonen
2018-12-05 23:56:07
so one less

Rotonen
2018-12-05 23:56:09
neat

Rotonen
2018-12-05 23:56:36
`magnet:?xt=urn:btih:a83c3c8e5a8f68ffb1004dd0e62d380b6fa46805&dn=snowblossom.8&tr=http%3A%2F%2Ftracker.1209k.com%2Fannounce&ws=http%3A%2F%2F136.243.82.213%2F` ?

Rotonen
2018-12-05 23:57:03
yep!

mjay
2018-12-05 23:57:12
that's neat

Rotonen
2018-12-05 23:57:27
so you just point the webseed at the root of your webserver

Rotonen
2018-12-05 23:57:32
https://www.urlencoder.org/ Decode from or Encode to URL encoded (also known as Percent-encoded) format - Here, with our simple online tool.

Rotonen
2018-12-05 23:57:47
just urlencode and add more `&ws=` things into the query string

Rotonen
2018-12-05 23:58:20
and use any torrent inspector to grab the hash from the .torrent files

Rotonen
2018-12-05 23:58:47
and remember to amend the `dn=` to match the field name

Rotonen
2018-12-05 23:59:43
@Fireduck would you mind switching your .torrent files to magnet uris on the site? makes it easier to point to http(s) seed sources

Rotonen