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
  • over 3 years ago
  • March 26, 2018
License

MIT License

Links
Synced at

Fri, 22 Nov 2024 12:22:39 GMT

Languages