guardianproject / guardianproject/haven
Onion service should listen on port 80 instead of 8888
- Dominant language
- Java
- Stars
- 6.8k
- Forks
- 752
- PR merge metrics
- No merged PRs in 30d
Description
I'm having trouble connecting to the PhoneyPot onion service from OnionBrowser in iOS. When I load `http://[myaddress].onion:8888/` I get the error message:
> Cannot Open Page
> An error occured: The requested URL was not found on this server. (Error "NSURLErrorDomain: -1100")
I think that this is due to an OnionBrowser bug where it's parsing the URL incorrectly, and isn't actually trying to connect to port 8888. I should open an OnionBrowser bug to address this.
However, there's no need to listen on a port other than 80 anyway. PhoneyPot can still listen on 127.0.0.1:8888 on the device, and the onion service can just forward port 80 to port 8888. (This is how OnionShare works as well, the actual web service is on some high port, but the onion service forwards port 80.) It's just a matter of configuring the hidden service.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the hidden-service configuration and the current 8888 listener or forwarding setup. Change the onion service to expose port 80 while forwarding to the local service on 127.0.0.1:8888, then verify that the service works without specifying port 8888.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100