1 |
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 |
2 |
--- e-smith-radiusd-2.4.0/root/etc/e-smith/templates/etc/raddb/radiusd.conf/05init 2005-06-11 18:15:18.000000000 +0200 |
3 |
+++ 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 |
4 |
@@ -164,37 +164,30 @@ |
5 |
} |
6 |
max_requests = 1024 |
7 |
{ |
8 |
-# bind_address: Make the server listen on a particular IP address, and |
9 |
-# send replies out from that address. This directive is most useful |
10 |
-# for machines with multiple IP addresses on one interface. |
11 |
-# |
12 |
-# It can either contain "*", or an IP address, or a fully qualified |
13 |
-# Internet domain name. The default is "*" |
14 |
-# |
15 |
-# As of 1.0, you can also use the "listen" directive. See below for |
16 |
-# more information. |
17 |
-} |
18 |
-bind_address = * |
19 |
-{ |
20 |
-# port: Allows you to bind FreeRADIUS to a specific port. |
21 |
-# |
22 |
-# The default port that most NAS boxes use is 1645, which is historical. |
23 |
-# RFC 2138 defines 1812 to be the new port. Many new servers and |
24 |
-# NAS boxes use 1812, which can create interoperability problems. |
25 |
-# |
26 |
-# The port is defined here to be 0 so that the server will pick up |
27 |
-# the machine's local configuration for the radius port, as defined |
28 |
-# in /etc/services. |
29 |
-# |
30 |
-# If you want to use the default RADIUS port as defined on your server, |
31 |
-# (usually through 'grep radius /etc/services') set this to 0 (zero). |
32 |
-# |
33 |
-# A port given on the command-line via '-p' over-rides this one. |
34 |
-# |
35 |
-# As of 1.0, you can also use the "listen" directive. See below for |
36 |
-# more information. |
37 |
-} |
38 |
-port = 0 |
39 |
+# listen: Make the server listen on a particular IP address, and send |
40 |
+# replies out from that address. This directive is most useful for |
41 |
+# hosts with multiple IP addresses on one interface. |
42 |
+# |
43 |
+# If you want the server to listen on additional addresses, or on |
44 |
+# additionnal ports, you can use multiple "listen" sections. |
45 |
+# |
46 |
+# Each section make the server listen for only one type of packet, |
47 |
+# therefore authentication and accounting have to be configured in |
48 |
+# different sections. |
49 |
+# |
50 |
+# The server ignore all "listen" section if you are using '-i' and '-p' |
51 |
+# on the command line. |
52 |
+} |
53 |
+listen \{ |
54 |
+ type = auth |
55 |
+ ipaddr = * |
56 |
+ port = 0 |
57 |
+\} |
58 |
+listen \{ |
59 |
+ type = acct |
60 |
+ ipaddr = * |
61 |
+ port = 0 |
62 |
+\} |
63 |
{ |
64 |
# hostname_lookups: Log the names of clients or just their IP addresses |
65 |
# e.g., www.freeradius.org (on) or 206.47.27.232 (off). |