# $Id: tits.conf,v 1.7 2003/12/11 11:57:27 steve Exp $ # Each `service' is defined using the service keyword. The `name' # parameter is optional and will be printed when clients connect. service "Bart's Console" { # A service can have one or more clients. These clients will receive # all output from the `server' and can optionally send character *to* # the server. # # In order to enable telnet(1) (or any other network-based) access, # at least one `listener' client must be declared to manage setting # up the connections. # # Any number of listeners can be specified, although each must bind # to a unique address/port pair. client "listener" { # A listener needs to know what address to listen on. This can # be a wildcard ("any" | "all" | "*.*"), an IPv4/v6 address or # domain name which resolves to the address of a local # interface. # # The port number specifies the TCP port number on which to # listen. address "oor-wullie.mctavish.co.uk"; port 4002; # You can restrict the number of network clients which can # connect to this listener at any one time. Any connections # over this limit will see a `service full' message before # being disconnected. maxclients 4; # It may be desirable to filter incoming connections using # the hosts_access(5) database; aka TCP Wrappers. # Enable the feature on a per address/port basis using # the following boolean. # If you specified the `port' as a symbolic service name from # /etc/services, this will be used as the `daemon' part of # the `daemon,client' pair documented in hosts_access(5). # If you specified the `port' as an integer, the default # daemon of `tits' will be used. tcpwrappers no; # Allow connections to this listener using the telnet protocol protocol "telnet" { # You can specify that clients can only establish # `readonly' telnet sessions via this listener. These # clients will be able to see all server output, but # will not be able to pass input *to* the server. readonly yes; # `allowbreak' defaults to `no' anyway if `readonly' # is set. This permits/denies telnet clients to send # serial line BREAKs to the server. allowbreak no; } } client "listener" { address localhost; port 4002; # By default, this will set `readonly' to `no' and `allowbreak' # to `yes'. protocol "telnet"; } client "listener" { # This listener provides "raw" access to the server, which # basically provides an 8-bit clean binary interface to the # service. This can be used to upload files using xmodem, # for example. port 5002; protocol "raw" { suppressbanner yes; } } # The `logger' client writes all server output to the specified # log file. client "logger" { file "/var/log/barts-console.log"; trunc yes; mode 0644; } # The server itself. At this time, only "tty" is supported. server "tty" { device "/dev/tty01"; ispeed 9600; ospeed 9600; clocal yes; # You can also specify the following: # crtscts on; # xonxoff on; # closeidle on; } }