Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julian-klode/bridgeproxy
Decrypting Bridge to remote HTTPS proxy
https://github.com/julian-klode/bridgeproxy
go golang http https proxy tls
Last synced: about 2 hours ago
JSON representation
Decrypting Bridge to remote HTTPS proxy
- Host: GitHub
- URL: https://github.com/julian-klode/bridgeproxy
- Owner: julian-klode
- License: apache-2.0
- Created: 2017-01-09T22:09:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-09T18:19:36.000Z (over 5 years ago)
- Last Synced: 2024-06-20T10:37:17.605Z (5 months ago)
- Topics: go, golang, http, https, proxy, tls
- Language: Go
- Size: 32.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bridgeproxy - Decrypting bridge to remote HTTPS proxy
Represent a remote HTTPS proxy as a local HTTP proxy, while connecting to
the remote HTTPS proxy via recursive bridge HTTP proxies.[![GoDoc](https://godoc.org/github.com/julian-klode/bridgeproxy?status.svg)](https://godoc.org/github.com/julian-klode/bridgeproxy) [![Go Report Card](https://goreportcard.com/badge/github.com/julian-klode/bridgeproxy)](https://goreportcard.com/report/github.com/julian-klode/bridgeproxy)
## Documentation
See http://godoc.org/github.com/julian-klode/bridgeproxy for documentation.## Example use
For example, the following connects to second-proxy by first connecting
to first-proxy. The second proxy is tls encrypted.```go
package mainimport (
"crypto/tls"
"github.com/julian-klode/bridgeproxy"
)func main() {
bridgeproxy.Serve(
"localhost:9091",
[]bridgeproxy.Peer{
{
HostName: "first-proxy.example.com",
Port: 3128,
},
{
TLSConfig: &tls.Config{InsecureSkipVerify: true},
HostName: "second-proxy.example.com",
Port: 443,
},
})
}
```