Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arstgit/procurator
Socks5 server and client, utilizing epoll only.
https://github.com/arstgit/procurator
proxy
Last synced: about 10 hours ago
JSON representation
Socks5 server and client, utilizing epoll only.
- Host: GitHub
- URL: https://github.com/arstgit/procurator
- Owner: arstgit
- License: gpl-2.0
- Created: 2019-05-21T12:43:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T04:28:42.000Z (over 1 year ago)
- Last Synced: 2024-11-08T05:02:55.334Z (8 days ago)
- Topics: proxy
- Language: C
- Homepage:
- Size: 547 KB
- Stars: 20
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# procurator
[![Test Status](https://github.com/derekchuank/procurator/workflows/Test/badge.svg)](https://github.com/derekchuank/procurator/actions)
Socks5 proxy client and server. UDP relay support. More aggressive packet sending strategy, using `librdp`.
## Prerequisites
Environment:
- Linux.Libraries:
- libssl-dev.
- librdp. https://github.com/derekchuank/librdp. Needed only after version v1.0.0. In fact, after that, the connections between procurator-local and procurator-server switched from TCP to UDP.## Compile & Install
```
$ autoreconf
$ mkdir build && cd build
$ configure ..
$ make
```## Usage
On your local machine, run:
```
$ procurator-local --remote-host 127.0.0.1 \
--remote-port 8080 \
--remote-udp-port 8081 \
--local-port 1080 \
--local-udp-port 1081 \
--password foobar \
--udp-target-host 8.8.8.8 \
--udp-target-port 53
```- `--udp-target-host` and `--udp-target-port` aren't required, if you are not planning to establish a direct(no socks5 involved) udp port relay, usually for DNS forwarding.
On remote machine, run:
```
$ procurator-server --remote-port 8080 --remote-udp-port 8081 --password foobar
```## Test
```
$ make clean && make test
```