Changeset 317 in code for trunk/doc/soju.1.scd


Ignore:
Timestamp:
Jun 4, 2020, 6:16:23 PM (5 years ago)
Author:
contact
Message:

Allow multiple listeners, default to ircs

Users can now specify multiple "listen" directives in their
configuration file. If -listen is specified on the CLI, it's added to
the list of listeners.

Listeners are now parsed as URLs. If the scheme is missing "ircs" is
assumed. URLs allow to enable/disable TLS on a per-listener basis and
will be used for Unix sockets too.

The default listening address is changed from irc+insecure://:6667 to
ircs://:6697. This avoids setting up an insecure listener opened to
everybody.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/soju.1.scd

    r307 r317  
    5757        passwords).
    5858
    59 *-listen* <address>
    60         Listening address (default: ":6667").
     59*-listen* <uri>
     60        Listening URI (default: ":6697").
    6161
    6262# CONFIG FILE
     
    6464The config file has one directive per line.
    6565
    66 *listen* <address>
    67         Listening address (default: ":6667").
     66*listen* <uri>
     67        Listening URI (default: ":6697").
     68
     69        The following URIs are supported:
     70
     71        - _[ircs://][host][:port]_ listens with TLS over TCP (default port if
     72          omitted: 6697)
     73        - _irc+insecure://[host][:port]_ listens with plain-text over TCP (default
     74          port if omitted: 6667)
     75
     76        If the scheme is omitted, "ircs" is assumed. If multiple *listen*
     77        directives are specified, soju will listen on each of them.
    6878
    6979*hostname* <name>
     
    98108
    99109        _addr_ supports several connection types:
     110
    100111        - _[ircs://]host[:port]_ connects with TLS over TCP
    101112        - _irc+insecure://host[:port]_ connects with plain-text TCP
Note: See TracChangeset for help on using the changeset viewer.