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

Re: [tor-dev] How to query HS hostname from control port



Jesse V <kernelcorn@xxxxxxxxxx> writes:

> TL;DR: Please let me know how to fetch the hostname of my hidden service
> from Tor's control port.

There are two types of onion services: "on disk" ones configured via
torrc/SETCONF and the HiddenServiceDir and related options **or**
"ephemeral" onions, created via the recently added ADD_ONION command.

In the latter case, you can list them with GETINFOs on "onions/current"
or "onions/detached" depending on the options when you created them.

For the "HiddenServiceDir" onions, the only way to get the onion address
that I know of is by reading the "hostname" file.

Can you describe what you're trying to do?

-- 
meejah
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev