socks

Version, currently 0.24 versions

github.com/kostya/socks

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

11 stars
0 dependents
License: MIT

Nothing has been indexed for 0.2 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  socks:
    github: kostya/socks
    version: ~> 0.2

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.2. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

# Socks

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

## Installation


Add this to your application's `shard.yml`:

```yaml
dependencies:
  socks:
    github: kostya/socks
```

## Usage

```crystal
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