Go to file
2022-03-21 17:21:50 +01:00
src Adding config file locations and yaml support 2022-03-21 11:12:59 +01:00
.gitignore Finishing basic implementation 2022-03-20 23:23:08 +01:00
Cargo.lock Adding config file locations and yaml support 2022-03-21 11:12:59 +01:00
Cargo.toml Change opt level to be fast 2022-03-21 17:21:50 +01:00
README.md Adding config file locations and yaml support 2022-03-21 11:12:59 +01:00

Rustocat

Rustocat is a simple socat alternative with way less features, but it has a config file.

Config File

Configs can be either yaml or json and can be located in /etc/rustocat.{yaml|json} or ind the current working directory as config.{yaml|json}.

tcp:
  - source: 0.0.0.0:2222
    target: 127.0.0.1:22

Currently only TCP is supported, UDP/Unix Socket support might be added later.