No Description

Marek Küthe eeba1bc4d1 fixes a few bugs and improve style 1 year ago
bin d5fa978974 fix bug 1 year ago
lib eeba1bc4d1 fixes a few bugs and improve style 1 year ago
.gitignore f3ac46dba2 Initial commit 1 year ago
.rubocop.yml 6b6be2d8b6 improve style and add guard clause 1 year ago
LICENSE f3ac46dba2 Initial commit 1 year ago
README.md 3c0eba531b initial commit 1 year ago
echo-server.gemspec eeba1bc4d1 fixes a few bugs and improve style 1 year ago

README.md

echo-server

This is a simple TCP/TLS echo server written in Ruby.

Dependencies

This echo server requires version 1.3.0 of eventmachine, which can be obtained from GitHub. Unfortunately it is not currently published on RubyGems.

Usage

$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