{
#  listen: Make the server listen on a particular IP address, and send
#  replies out from that address. This directive is most useful for
#  hosts with multiple IP addresses on one interface.
#
#  If you want the server to listen on additional addresses, or on
#  additionnal ports, you can use multiple "listen" sections.
#
#  Each section make the server listen for only one type of packet,
#  therefore authentication and accounting have to be configured in
#  different sections.
#
#  The server ignore all "listen" section if you are using '-i' and '-p'
#  on the command line.
}
# auth 
listen \{
    type = auth
{
        #  ipaddr/ipv4addr/ipv6addr - IP address on which to listen.
        #  Out of several options the first one will be used.
        #
        #  Allowed values are:
        #       IPv4 address (e.g. 1.2.3.4, for ipv4addr/ipaddr)
        #       IPv6 address (e.g. 2001:db8::1, for ipv6addr/ipaddr)
        #       hostname     (radius.example.com,
        #                       A record for ipv4addr,
        #                       AAAA record for ipv6addr,
        #                       A or AAAA record for ipaddr)
        #       wildcard     (*)
        #
        # ipv4addr = *
        # ipv6addr = *
}
    ipaddr = *
    port = 0
#   interface = eth0
#   clients = per_socket_clients
{
        #
        #  Connection limiting for sockets with "proto = tcp".
        #
        #  This section is ignored for other kinds of sockets.
        #
}        limit \{
{              
	      #
              #  Limit the number of simultaneous TCP connections to the socket
              #
              #  The default is 16.
              #  Setting this to 0 means "no limit"
}              max_connections = 16
{
              #  The per-socket "max_requests" option does not exist.

              #
              #  The lifetime, in seconds, of a TCP connection.  After
              #  this lifetime, the connection will be closed.
              #
              #  Setting this to 0 means "forever".
}              lifetime = 0
{
              #
              #  The idle timeout, in seconds, of a TCP connection.
              #  If no packets have been received over the connection for
              #  this time, the connection will be closed.
              #
              #  Setting this to 0 means "no timeout".
              #
              #  We STRONGLY RECOMMEND that you set an idle timeout.
              #
}              idle_timeout = 30
        \}

\}

#
#  This second "listen" section is for listening on the accounting
#  port, too.
#
listen \{
    type = acct
    ipaddr = *
    port = 0
\}





