A proxy server that only accepts CONNECT and whitelisted hosts defined in Constants.
This project requires JavaSE-11 so gradle wrapper could work properly.
Gradle wrapper is bundled with the source code.
Unzip the project and go to the project root where gradlew is located and run following commands:
- ./gradlew clean build
- ./gradlew run
- Logging.
- Unit tests. Unit tests for server code need to be added. I haven't been able to find some time to write tests for the server code due to my upcoming releases.
- Thread handling/pooling for tunneling.
- Proxy other types of requests.