Use existing temporary variable conn.
[radsecproxy.git] / radsecproxy.conf-example
index c7d7270..6d24ba8 100644 (file)
@@ -17,9 +17,9 @@
 #SourceTCP             *:33000
 #SourceTLS             *:33001
 #SourceDTLS            *:33001
-# Optional log level. 3 is default, 1 is less, 4 is more
+# Optional log level. 3 is default, 1 is less, 5 is more
 #LogLevel              3
-# Optional LogDestinatinon, else stderr used for logging
+# Optional LogDestination, else stderr used for logging
 # Logging to file
 #LogDestination                file:///tmp/rp.log
 # Or logging with Syslog. LOG_DAEMON used if facility not specified
@@ -28,7 +28,9 @@
 #LogDestination         x-syslog:///
 #LogDestination         x-syslog:///log_local2
 
-# There is an option for doing some simple loop prevention
+# There is an option for doing some simple loop prevention.  Note that
+# the LoopPrevention directive can be used in server blocks too,
+# overriding what's set here in the basic settings.
 #LoopPrevention                on
 # Add TTL attribute with value 20 if not present (prevents endless loops)
 #addTTL 20
@@ -83,10 +85,15 @@ tls default {
 
 # Configure a rewrite block if you want to add/remove/modify attributes
 # rewrite example {
+#       # Remove NAS-Port.
 #      removeAttribute 5
+#       # Remove vendor attribute 100.
 #      removeVendorAttribute 99:100
-#      addAttribute 4:11
-#       addVendorAttribute 99:100:200
+#       # Called-Station-Id = "123456"
+#      addAttribute 30:123456
+#       # Vendor-99-Attr-101 = 0x0f
+#       addVendorAttribute 99:101:%0f
+#       # Change users @local to @example.com.
 #      modifyAttribute 1:/^(.*)@local$/\1@example.com/
 # }
 
@@ -127,6 +134,8 @@ server 127.0.0.1 {
 #      rewriteIn example
 #      Can also do rewriting of outgoing messages
 #      rewriteOut example      
+#       Might override loop prevention here too:
+#       LoopPrevention off
 }
 realm  eduroam.cc {
        server  127.0.0.1