Opened 7 weeks ago

#30134 new defect

reEnable IPv6 routing by Orbot add back Route to handle IPv6

Reported by: cypherpunks Owned by: n8fr8
Priority: High Milestone:
Component: Applications/Orbot Version:
Severity: Minor Keywords: Orbot IPv6
Cc: cypherpunks Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I wondered why Orbot does not use IPv6 routing but Tor Browser access IPv6 sites fine, while both android and badvpn support it very well.

After looking into code i found the line at:

https://github.com/n8fr8/orbot/blob/56917567cd21a734a35f3bee0e56ba23793b6887/orbotservice/src/main/java/org/torproject/android/service/vpn/OrbotVpnManager.java#L327

commented out :( :

			        //handle ipv6
			        //builder.addAddress("fdfe:dcba:9876::1", 126);
					//builder.addRoute("::", 0);

Tor Browser speaks directly to socks5 of tor with IPv6 and not over tun2socks vpn translation. That's why you can actually access IPv6 Websites but not for tunneling any other application connection to IPv6.

tun2socks just requires argument:

--netif-ip6addr fdfe:dcba:9876::2

if

fdfe:dcba:9876::1

will be address of virtual interface

Child Tickets

Change History (0)

Note: See TracTickets for help on using tickets.