https://github.com/honwhy/pac-proxy-java
Implementation of http proxy with configuration of pac
https://github.com/honwhy/pac-proxy-java
Last synced: 10 months ago
JSON representation
Implementation of http proxy with configuration of pac
- Host: GitHub
- URL: https://github.com/honwhy/pac-proxy-java
- Owner: honwhy
- Created: 2023-06-10T16:15:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-10T16:21:10.000Z (about 3 years ago)
- Last Synced: 2025-06-13T23:34:23.738Z (about 1 year ago)
- Language: Java
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pac-proxy-java
Implementation of http proxy with configuration of pac, in order to forward http request to next proxy server determined by pac, build on LittleProxy and proxy-vole project.
# example
## star launcher of LittleProxy
```
$ git clone git://github.com/adamfisk/LittleProxy.git
```
run **org.littleshoot.proxy.Launcher**, default port is 8080
- try one level of proxy
```bash
curl -x 127.0.0.1:8080 http://linuxtect.com
```
## start pac-proxy-java
```
$ git clone git://github.com/honwhy/pac-proxy-java.git
```
run **com.thh3.App**, default port is 1080
- try two level of proxy
```bash
curl -x 127.0.0.1:1080 http://linuxtect.com
```
- explain,
```md
curl -> http proxy(1080) -> http proxy(8080) -> linuxtect.com
```
Acknowledgments
---------------
[proxy-vole](https://github.com/MarkusBernhardt/proxy-vole)
[LittleProxy](https://github.com/adamfisk/LittleProxy)