https://github.com/dimchansky/gproxy
A proxy server that routes all HTTP traffic through Google Data Compression proxy server using SSL connection
https://github.com/dimchansky/gproxy
Last synced: 3 months ago
JSON representation
A proxy server that routes all HTTP traffic through Google Data Compression proxy server using SSL connection
- Host: GitHub
- URL: https://github.com/dimchansky/gproxy
- Owner: dimchansky
- Created: 2016-04-17T22:14:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T12:22:34.000Z (over 8 years ago)
- Last Synced: 2025-08-16T20:46:07.393Z (5 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gproxy
## Description
```
┌──────────────Local machine──────────────┐
│ ┌──────────────Browser───────────────┐ │
│ │....................................│ │
│ │.┌──────────────┐..┌──────────────┐.│ │
│ │.│ HTTP traffic │..│HTTPS traffic │.│ │
│ │.└───────▲──────┘..└───────▲──────┘.│ │
│ │.........│.................║........│ │
│ └─────────│─────────────────║────────┘ │
│ │ ║ │
│ plain HTTP HTTP │
│ │ over SSL │
│ ┌─────────│─────gproxy──────║─────────┐ │
│ │.........│.................║.........│ │
│ │.┌───────▼──────┐..┌───────▼──────┐..│ │
│ │.│ HTTPS client │..│ DNS resolver ◀────────────┐
│ │.└───────▲──────┘..└───────▲──────┘..│ │ │
│ │.........║.................║.........│ │ │
│ │.........║.......┌─────────▼───────┐.│ │ │
│ │.........║.......│ SSL connection │.│ │ │
│ │.........║.......│ hijacker │.│ │ │
│ │.........║.......└─────────▲───────┘.│ │ TCP
│ │.........║.................║.........│ │ connection
│ └─────────║─────────────────║─────────┘ │ │
└───────────║─────────────────║───────────┘ │
║ ║ │
HTTP over HTTP over │
SSL SSL │
║ ║ │
┌ ─ ─ ─ ─ ─ ─ ║ ─ ─ ─ ─ ─ ─ ─ ─ ║ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ ─ ─ ─ ─ ┐
║ ║ │
│ ┌───────▼──────┐ ║ ┌───────▼──────┐ │
│ Google proxy │ ║ │ Google DNS │
│ └───────▲──────┘ ║ └──────────────┘ │
│ ║
│ │ ║ │
plain HTTP ║
│ │ ║ │
│ ║
│ ┌───────▼──────┐ ┌───────▼──────┐ │
│ HTTP server │ │ HTTPS server │
│ └──────────────┘ └──────────────┘ │
│ ___ _ _ _____ _____ ____ _ _ _____ _____ │
|_ _| \ | |_ _| ____| _ \| \ | | ____|_ _|
│ | || \| | | | | _| | |_) | \| | _| | | │
| || |\ | | | | |___| _ <| |\ | |___ | |
│ |___|_| \_| |_| |_____|_| \_\_| \_|_____| |_| │
─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
```