[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] [404] :-( Retrieving Hidden Service Public-Key ...



The request to the dirport definitely has to come via tor not via a simple request to the dirport over the net.

Have a look in the HiddenService class here for an example:

https://github.com/drgowen/tor-research-framework/blob/master/src/main/java/tor/HiddenService.java

Its fairly easy to use this function if you just want to fetch the descriptor for an arbitrary HS. Have a look at the repository hidden service example. You just need a valid TorSocket and then you can call HiddenService.fetchHSDescriptor () to get it as a string.

Best
Gareth

On 19 Jul 2014 10:26, "grarpamp" <grarpamp@xxxxxxxxx> wrote:
On Fri, Jul 18, 2014 at 6:35 PM, Achref Akremi <ach.n30@xxxxxxxxx> wrote:
> onion adress: 3g2upl4pq6kufc4m.onion
> date: 18 Jul 2014 22:27:20 GMT
>
> 1st: compute the v2 descriptor id:
> Â> with replicas 0: efa0506e1e5d3f193bf6509e1f4709e6e2322436
> Â> with replicas 1: efa0506e1e5d3f193bf6509e1f4709e6e2322436
> 2nd: find responsible HSdir's:
> Â> efa0506e1e5d3f193bf6509e1f4709e6e2322436
> Â > pmocek
> Â > marcuse1
> Â > riptide
> Â> fc2c757e88910b3d72594706c477e21f60334a15
> Â > torpidsCZwedos
> Â > gracefoster
> Â > halingrad
> 3rd: request:
> Â> http:// HSdir[IP] : HSdir[DirPort] /tor/rendezvous2/ Desc-ID
> Â Â ^^^^ here i got a 404 response >.<
>
> sorry ... if i'm doing something wrong ... if i do tell me :p

I'm not sure that looks like a v2-desc-id, run in debug mode to see.
Result may not come unless query dirport from inside over tor
instead of clearnet. There was some change to that years ago
I think. Check...
https://gitweb.torproject.org/torspec.git/blob/HEAD:/rend-spec.txt

You may also read or contribute to this which has been open
for a long time...
https://trac.torproject.org/projects/tor/ticket/3521

https://trac.torproject.org/projects/tor/ticket/8891
https://trac.torproject.org/projects/tor/ticket/8510
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev