Opened 19 months ago

Last modified 3 months ago

#24215 new task

Use Tor's built-in HTTP proxy instead of polipo. Remove Polipo from Orbot. Comment from other cypherpunks: current Orbot version does, but in about orbot popup it still reads polipo! but httptunnelport is bound

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

Description

Tor alpha now include HTTP proxy by default. You should use it instead of polipo.

Child Tickets

TicketStatusOwnerSummaryComponent
#26764assignedn8fr8HTTP proxy bug in Orbot 16.0.2-RC-1Applications/Orbot

Change History (4)

comment:1 Changed 8 months ago by cypherpunks

Summary: Use Tor's built-in HTTP proxy instead of polipo. Remove Polipo from Orbot.Use Tor's built-in HTTP proxy instead of polipo. Remove Polipo from Orbot. Comment from other cypherpunks: current Orbot version does, but in about orbot popup it still reads polipo! but httptunnelport is bound

comment:2 Changed 6 months ago by eighthave

Cc: eighthave added

comment:3 Changed 5 months ago by o9491020

Unfortunately, this does not work for connections starts with HTTP (i.e., when user type "archive.org" in browser and get redirect to HTTPS) and you'll get empty string with this error in Tor log

Nov 12 18:46:07 [removed] Tor[15935]: Saying "HTTP/1.0 405 Method Not Allowed\r\n\r\n"

See
https://trac.torproject.org/projects/tor/ticket/27821

Last edited 5 months ago by o9491020 (previous) (diff)

comment:4 Changed 3 months ago by eighthave

polipo needs to be put back into Orbot until someone figures out how to make apps work with HTTP CONNECT rather than the full HTTP proxy that polipo provides. HTTP CONNECT creates a TCP tunnel over HTTP, so it works quite differently. curl provides --proxytunnel to use HTTP CONNECT, for example.

I propose putting polipo back in where it was, then setting up tor's built-in HTTP CONNECT proxy on a new port.

Note: See TracTickets for help on using tickets.