diff -Nur e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init e-smith-radiusd-2.4.0-listen/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init --- e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init 2005-06-11 18:15:18.000000000 +0200 +++ e-smith-radiusd-2.4.0-listen/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init 2013-02-21 21:29:45.153905253 +0100 @@ -164,37 +164,30 @@ } max_requests = 1024 { -# bind_address: Make the server listen on a particular IP address, and -# send replies out from that address. This directive is most useful -# for machines with multiple IP addresses on one interface. -# -# It can either contain "*", or an IP address, or a fully qualified -# Internet domain name. The default is "*" -# -# As of 1.0, you can also use the "listen" directive. See below for -# more information. -} -bind_address = * -{ -# port: Allows you to bind FreeRADIUS to a specific port. -# -# The default port that most NAS boxes use is 1645, which is historical. -# RFC 2138 defines 1812 to be the new port. Many new servers and -# NAS boxes use 1812, which can create interoperability problems. -# -# The port is defined here to be 0 so that the server will pick up -# the machine's local configuration for the radius port, as defined -# in /etc/services. -# -# If you want to use the default RADIUS port as defined on your server, -# (usually through 'grep radius /etc/services') set this to 0 (zero). -# -# A port given on the command-line via '-p' over-rides this one. -# -# As of 1.0, you can also use the "listen" directive. See below for -# more information. -} -port = 0 +# 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. +} +listen \{ + type = auth + ipaddr = * + port = 0 +\} +listen \{ + type = acct + ipaddr = * + port = 0 +\} { # hostname_lookups: Log the names of clients or just their IP addresses # e.g., www.freeradius.org (on) or 206.47.27.232 (off).