Marek Küthe eeba1bc4d1 fixes a few bugs and improve style | 1 year ago | |
---|---|---|
bin | 1 year ago | |
lib | 1 year ago | |
.gitignore | 1 year ago | |
.rubocop.yml | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
echo-server.gemspec | 1 year ago |
This is a simple TCP/TLS echo server written in Ruby.
This echo server requires version 1.3.0 of eventmachine, which can be obtained from GitHub. Unfortunately it is not currently published on RubyGems.
$echo-server --help
Usage: echo-server [options]
--help Prints this help
-t, --timeout TIMEOUT Sets the in seconds timeout after the TCP connection is terminated. (Default is 60)
--tls TLS_VERSION Sets the SSL versions supported by the server. (Default is TLSv1_2 and TLSv1_3)
--ciphers CIPHERS Sets the ciphers supported by the server.
--curves CURVES Sets the ecdh curves supported by the server.
--priv PRIVATE_KEY_FILE Sets the path to the server's private key.
--cert CERT_CHAIN Sets the path to the server's public certificate.
-h, --host HOST Sets the host on which the server binds. (By default ::)
-p, --port PORT Sets the port on which the server binds. (By default 7, RFC862)
--fatal Log Fatal and Unknown Events
--error Log Error, Fatal and Unknown Events
--warn Log Warn, Error, Fatal and Unknown Events
--info Log Info, Warn, Error, Fatal and Unknown Events
--debug Log Debug, Info, Warn, Error, Fatal and Unknown Events