Skip to content
/ pacroxy Public

pacproxy is a proxy that parses pac file and turn the rules into a an http proxy

License

Notifications You must be signed in to change notification settings

darren/pacroxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pacroxy

pacproxy is a proxy that parses pac file and start a simple http proxy which will forward http requests to proxies in pac

Install

Download prebuilt binaries from releases

To build from source ensure that Go(>=1.11.5) environment has been properly setup.

go get -u -v github.com/darren/pacroxy

Usage

# Load pac from local file
pacroxy -p wpad.dat -l 127.0.0.1:9999

# Load pac from remote file
pacroxy -p http://wpad.local/wpad.dat -l 127.0.0.1:9999

# To test
curl -x 127.0.0.1:9999 https://example.com

Note

  1. This is a simple tool still in development, use at your own risk.
  2. For https request only https://example.com/ will be passed to FindProxyForURL, ie: no query path is passed

About

pacproxy is a proxy that parses pac file and turn the rules into a an http proxy

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages