tor-hidden-service should support IPv6

DoneSubmitted by ng0.
Details
2 participants
  • Ludovic Courtès
  • ng0
Owner
unassigned
Severity
normal
N
(address . bug-guix@gnu.org)
20170728154652.tgigkve7n5wzdrlc@abyayala
Right now the tor-hidden-service only supports IPv4 naming scheme,while it is possible to define IPv6 for tor aswell.
Someone should fix this.-- ng0GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588GnuPG: https://n0is.noblogs.org/my-keyshttps://www.infotropique.orghttps://krosos.org
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAll7XGwACgkQ4i+bv+40hYgybRAAp7fcEjhLFvdviqoUUSjFPddBeju+dS2hB9lj1ru2haIfuO1nS9ZhSGQs1tGcuIPgelRT0jez7ZzHaNlCQPaE2vuUiklcubsUws8yx4KVCzPoPJa3JeKJmwURM2En2PyYB6037Yr0CPctqO6UgiPlqtqdBwIA2QhiVdYgoUNvJcLoqtieHe6shoUaV3ml4vqpFxCv9MBDZZx1fG1ya/XLbsYq9Chwdp6O1oBclzKMubckYpdSQJF2Af1DM4mPBnn1qJdbqIcEw7axtcK4JuLUBXlDtpugwUr4AptmlmDubtyE0CiZklTuCQDtZ/NpxQvGl3Q1cICa0sKOXOuTKr5TIMdOZUWJD63iD+n5+nY5yxW1pGuoatGPGrNIz8vkwesXnqAHloonRY84XeFy+tOJlxWRqQJ6Ghjngty399+3j3s9vwtLsZEfJnciTlmtszKT87uij9SiI0mUGk0W7VeROcuGjkTga3qpq7v1JKKuCqxfG54wu93l9+PP2BVi0+WWgQBjzwGgNcST+DyX5qP55mHuo78Ql4jhW/WczW66LISXZInvmf1+4uhZKYC3moRz7MKo7Lp/JJyCitVIGTjNUPhmD7BOG9PfZokIz6eapRFTFRYKtHu/i3qJJ4JhbW/xZn2viKvlDPBLWewIu4Y4dbzacHllsecKAtargZ1+VJU==p8qr-----END PGP SIGNATURE-----

N
(address . 27862@debbugs.gnu.org)
20170730090931.ajkzp55femqauh62@abyayala
ng0 transcribed 1.3K bytes:
Toggle quote (5 lines)> Right now the tor-hidden-service only supports IPv4 naming scheme,> while it is possible to define IPv6 for tor aswell.> > Someone should fix this.
man tor:
HIDDEN SERVICE OPTIONS The following options are used to configure a hidden service.

HiddenServicePort VIRTPORT [TARGET] Configure a virtual port VIRTPORT for a hidden service. You may use this option multiple times; each time applies to the service using the most recent HiddenServiceDir. By default, this option maps the virtual port to the same port on 127.0.0.1 over TCP. You may override the target port, address, or both by specifying a target of addr, port, addr:port, or unix:path. (You can specify an IPv6 target as [addr]:port. Unix paths may be quoted, and may use standard C escapes.) You may also have multiple lines with the same VIRTPORT: when a user connects to that VIRTPORT, one of the TARGETs from those lines will be chosen at random.
-- ng0GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588GnuPG: https://n0is.noblogs.org/my-keyshttps://www.infotropique.orghttps://krosos.org
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAll9oksACgkQ4i+bv+40hYhiBQ//UNWIhYy8Z+kRE1rwpVX99SLezyZ68YBMXUi/e2tRC4bHx1cV+LGNztOeQ2RCmtlFTcTgZUvlcmoOTMrjtaEuSdkTGYuaHyRYWVZ+s+3vSEbHaGLbSP7KrxlR8s0UAvNIg/B1TutLPeTPOLyo3BBoXIKPyTPSUinZ998aTAqoj8v6HhLJCth9ny2eKAh5caTCuscuhfc9P184LKOIvukmzNeN+wIIf8C7Z2vCbilJMVuOBtRk9Jk+xdIMFtrJ3FU/0FI59thAW7U+NQiqGpqNxlANJWn1jmWXJPDSmUw7HxNSfgNFeUxD9V86nu5fVU2DH9NmhdcgYfyY9211gNRS9xy5/xA2adVbqJCQTTHB+bspMbnAs8U9Iue6XSUYPM0zQ9N3DN7o/eMit+KVzdsrJ6kxCEaV+rXS0Hei6qViXwnZehOzigZWOkO9qHYHdv1F1Ct8yErvUoZ93BdTSmvQUPtR5BlizzpdYYtQzwku1yI2RxgHu+pIYmqziF4RobbrazBzxXTgV/ER6EwsEHlKwQTIZj6HgTghJqp9lV8Us578k97ob7Y9pALc9dlzKVt0YflqfOSiJ2S2mPUB9tH2+IDwtONp7GZMuV9WtFFsIcEpNeT8+r57uqyTkr1bP/fcplOWzuTtU6CG2FiL1W6LuYrxyVPNrimxfzIkLcijz6A==jXye-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 3 Aug 2017 00:07
(name . ng0)(address . ng0@infotropique.org)(address . 27862@debbugs.gnu.org)
87a83hsjws.fsf@gnu.org
ng0 <ng0@infotropique.org> skribis:
Toggle quote (3 lines)> Right now the tor-hidden-service only supports IPv4 naming scheme,> while it is possible to define IPv6 for tor aswell.
‘tor-hidden-service’ does not interpret addresses. So one could write,say:
(80 . "[::1]:80")
and that’d be IPv6 (talking to localhost over IPv6 is great ;-)).It is what you had in mind?
Toggle quote (2 lines)> Someone should fix this.
I agree, someone!
Thanks,Ludo’.
N
(name . Ludovic Courtès)(address . ludo@gnu.org)
20170802224505.coaewqkh7p5dqhum@abyayala
Ludovic Courtès transcribed 0.4K bytes:
Toggle quote (10 lines)> ng0 <ng0@infotropique.org> skribis:> > > Right now the tor-hidden-service only supports IPv4 naming scheme,> > while it is possible to define IPv6 for tor aswell.> > ‘tor-hidden-service’ does not interpret addresses. So one could write,> say:> > (80 . "[::1]:80")
Oh. Okay, I did not even try it because I live on the dark side of IPv6 ;)Then all which needs to be done is a small extension of the documentationof tor-hidden-service.
Toggle quote (11 lines)> and that’d be IPv6 (talking to localhost over IPv6 is great ;-)).> It is what you had in mind?> > > Someone should fix this.> > I agree, someone!> > Thanks,> Ludo’.>
-- ng0GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588GnuPG: https://n0is.noblogs.org/my-keyshttps://www.infotropique.orghttps://krosos.org
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmCVfEACgkQ4i+bv+40hYhx6w//Y3iOQ4B2ZMFGt3bEWT6tikQsrngiP5Hf1xKkVdvRN8OuKU60kAKXIgH8ZZ2yf0Q4pt6SZ0lNJYs1yg8STkj78sKE4Xq2vMVMVGsG7IsZoE1rTOtWeBDf9NYlFMzW390f8/5TduBWfWXmkoLy7pmyBcha65mL7A+yItWJS8OaqFHxLtKP+PFcCu+5Q4a5CjK0zvjQHG4U/QPuji3uMVVjNgaZxQhXuBWw9Z2n/FcbNbqrX9cbtmXdPAzMloorKxnJATVIK3hFwJzmIsjuTqJUs3tXwhIAe/BEosFqCm+niovv2AEyhWfC4Obw0KoIxj/rbIL9Itai9av8rXpG7jFnwmjQzZafl1LfL9jGqw3c0h8uV3PsEDl/ndxkxYF6PcUuap+fY2vkTQgoOWbnYeGTuy4RslekhCSVs0jv7IN/aotWXWVHJZ8Y2nZFZ4KT4J9pLxJ3/EcPFwO5qa1q/TmhorUr7bEiiS6kOroHEuusH6UaBUdb1s3hm8ZhUcTk+z7ELkqLehMtGQDzU+1uPC3yH46t7tBqPsSzr0HzwEY10qumblTikwhEa1WLdCkwMF+wMpbuD62QNdzTLAMtuISOVsY38SlWEmnu6TQCK0J9imu64CbAZJVaYQxJXq7XiyfoVXH3t9xeeziPbrTLhrRrFd+9kRP9cPyRZnXklyAgRs4==hWuF-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 4 Aug 2017 23:54
(address . 27862@debbugs.gnu.org)
87y3qzov6p.fsf@gnu.org
ng0 <ng0@infotropique.org> skribis:
Toggle quote (15 lines)> Ludovic Courtès transcribed 0.4K bytes:>> ng0 <ng0@infotropique.org> skribis:>> >> > Right now the tor-hidden-service only supports IPv4 naming scheme,>> > while it is possible to define IPv6 for tor aswell.>> >> ‘tor-hidden-service’ does not interpret addresses. So one could write,>> say:>> >> (80 . "[::1]:80")>> Oh. Okay, I did not even try it because I live on the dark side of IPv6 ;)> Then all which needs to be done is a small extension of the documentation> of tor-hidden-service.
Patch welcome. :-)
Ludo’.
L
L
Ludovic Courtès wrote on 20 Oct 2017 18:03
(address . 27862@debbugs.gnu.org)
874lqtvmao.fsf@gnu.org
ludo@gnu.org (Ludovic Courtès) skribis:
Toggle quote (19 lines)> ng0 <ng0@infotropique.org> skribis:>>> Ludovic Courtès transcribed 0.4K bytes:>>> ng0 <ng0@infotropique.org> skribis:>>> >>> > Right now the tor-hidden-service only supports IPv4 naming scheme,>>> > while it is possible to define IPv6 for tor aswell.>>> >>> ‘tor-hidden-service’ does not interpret addresses. So one could write,>>> say:>>> >>> (80 . "[::1]:80")>>>> Oh. Okay, I did not even try it because I live on the dark side of IPv6 ;)>> Then all which needs to be done is a small extension of the documentation>> of tor-hidden-service.>> Patch welcome. :-)
I’m still interested in the doc patch :-), but I’m closing the bugbecause it was not an actual bug, AIUI.
Ludo’.
L
L
Ludovic Courtès wrote on 20 Oct 2017 18:03
control message for bug #27862
(address . control@debbugs.gnu.org)
87376dvmak.fsf@gnu.org
tags 27862 notabugclose 27862
?
Your comment

This issue is archived.

To comment on this conversation send email to 27862@debbugs.gnu.org