unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27862: tor-hidden-service should support IPv6
@ 2017-07-28 15:46 ng0
  2017-07-30  9:09 ` ng0
  2017-08-02 22:07 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: ng0 @ 2017-07-28 15:46 UTC (permalink / raw)
  To: 27862

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

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.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27862: tor-hidden-service should support IPv6
  2017-07-28 15:46 bug#27862: tor-hidden-service should support IPv6 ng0
@ 2017-07-30  9:09 ` ng0
  2017-08-02 22:07 ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: ng0 @ 2017-07-30  9:09 UTC (permalink / raw)
  To: 27862

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

ng0 transcribed 1.3K bytes:
> 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.

-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27862: tor-hidden-service should support IPv6
  2017-07-28 15:46 bug#27862: tor-hidden-service should support IPv6 ng0
  2017-07-30  9:09 ` ng0
@ 2017-08-02 22:07 ` Ludovic Courtès
  2017-08-02 22:45   ` ng0
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2017-08-02 22:07 UTC (permalink / raw)
  To: ng0; +Cc: 27862

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")

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’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27862: tor-hidden-service should support IPv6
  2017-08-02 22:07 ` Ludovic Courtès
@ 2017-08-02 22:45   ` ng0
  2017-08-04 21:54     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: ng0 @ 2017-08-02 22:45 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27862

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]

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.

> 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’.
> 

-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27862: tor-hidden-service should support IPv6
  2017-08-02 22:45   ` ng0
@ 2017-08-04 21:54     ` Ludovic Courtès
  2017-10-20 16:03       ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2017-08-04 21:54 UTC (permalink / raw)
  To: 27862

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.  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#27862: tor-hidden-service should support IPv6
  2017-08-04 21:54     ` Ludovic Courtès
@ 2017-10-20 16:03       ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2017-10-20 16:03 UTC (permalink / raw)
  To: 27862

ludo@gnu.org (Ludovic Courtès) skribis:

> 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 bug
because it was not an actual bug, AIUI.

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-10-20 16:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28 15:46 bug#27862: tor-hidden-service should support IPv6 ng0
2017-07-30  9:09 ` ng0
2017-08-02 22:07 ` Ludovic Courtès
2017-08-02 22:45   ` ng0
2017-08-04 21:54     ` Ludovic Courtès
2017-10-20 16:03       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).