socks

Socks5 server in Crystal. Simple implementation without auth, bind, associate and ipv6.

Socks

Socks5 server in Crystal. Simple implementation without auth, bind, associate and ipv6.

Installation

Add this to your application's shard.yml:

dependencies:
  socks:
    github: kostya/socks

Usage

require "socks"
Socks::Server.new("127.0.0.1", 8888).run

Run test http-server:

crystal examples/socks-server.cr -- 9000
crystal examples/test-server.cr -- 9001

Run queries:

curl --socks5 127.0.0.1:9000 127.0.0.1:9001/bytes?n=100
Repository

socks

Owner
Statistic
  • 9
  • 2
  • 0
  • 0
  • 0
  • about 3 years ago
  • March 26, 2018
License

MIT License

Links
Synced at

Tue, 30 Apr 2024 23:08:24 GMT

Languages