https://github.com/soylent/proxxy
https and socks5 proxy server
https://github.com/soylent/proxxy
https-proxy proxy socks socks5
Last synced: 9 months ago
JSON representation
https and socks5 proxy server
- Host: GitHub
- URL: https://github.com/soylent/proxxy
- Owner: soylent
- License: mit
- Created: 2020-05-15T01:02:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-22T02:38:30.000Z (about 4 years ago)
- Last Synced: 2025-03-03T08:18:17.064Z (10 months ago)
- Topics: https-proxy, proxy, socks, socks5
- Language: Ruby
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# proxxy
HTTPS & SOCKS5 Proxy
## Installation
gem install proxxy
## Usage
By default, proxxy starts an HTTPS proxy server on port 3128.
proxxy
Send a request through the proxy server. Note the `-p` (proxy tunnel) flag.
curl -px https://127.0.0.1:3128 https://www.google.com
You can start several proxy servers.
proxxy https://0.0.0.0:3128 socks5://127.0.0.1:1080
For more details please run:
proxxy --help
## Logging
Example output:
2020-12-23T20:39:59.300-07:00 127.0.0.1 43878 www.google.com 80 socks5 success 78
2020-12-23T20:42:07.560-07:00 127.0.0.1 43900 www.google.com 443 https success 844
Log messages are printed to stdout in DSV format. Values are separated by space,
and each row contains:
1. Timestamp in ISO 8601
1. Client address
1. Client port
1. Server address
1. Server port
1. Proxy type: https or socks5
1. Status: success or failure
1. Comment: number of proxied bytes if success or error message if failure
The `--quiet` option disables logging.
## FAQ
* Errno::EADDRNOTAVAIL (Cannot assign requested address - bind(2) for "::1" port 3000)
Make sure that IPv6 is enabled. To check if it's disabled, run:
sudo sysctl -a | grep disable_ipv6
## Development
Pull requests are welcome!
To run tests, install `cutest` and execute:
cutest test/proxxy.rb
To run benchmark:
./benchmark