Opened 9 years ago

Closed 8 years ago

#3718 closed enhancement (wontfix)

Add IPv6 support

Reported by: cypherpunks Owned by:
Priority: Medium Milestone:
Component: TorStatus Version:
Severity: Keywords:
Cc: jfehr@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

At some point, IPv6 support should be added.

On the database level, this requires converting all given IPv4 INET values to IPv6 INET values, since IPv4 and IPv6 values do not play nicely together in PostgreSQL <= 8.4.8. (see: http://archives.postgresql.org/pgsql-admin/2011-07/msg00201.php) A helpful postgres dev suggests doing something along the lines of the following:

"address = '::ffff:0.0.0.0'::inet + (NEW.address::varchar::inet - '0.0.0.0'::inet)"

Next, statusapp.views.helpers.is_ipaddress and statusapp.views.helpers.is_ip_in_subnet should be rewritten to work with both IPv4 and IPv6 input and IP addresses.

Child Tickets

Change History (2)

comment:1 Changed 9 years ago by jfehr

Cc: jfehr@… added

comment:2 Changed 8 years ago by karsten

Resolution: wontfix
Status: newclosed

We stopped maintaining TorStatus long ago in favor of Onionoo/Atlas. This problem is TorStatus-specific, so we won't work on it. Closing.

Note: See TracTickets for help on using tickets.