X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=radsecproxy.conf-example;h=6d24ba839570623d301f027fd0a4a8e0f56945e5;hb=b8260ee68d9bc60f3204f860cc6919964a6e9464;hp=1e874e9521340ce0a7b25baced171bf826e41b7e;hpb=18d161d633c8a3f1772eb6f39cdcf9353ddee540;p=radsecproxy.git diff --git a/radsecproxy.conf-example b/radsecproxy.conf-example index 1e874e9..6d24ba8 100644 --- a/radsecproxy.conf-example +++ b/radsecproxy.conf-example @@ -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,9 +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 attribute%20value +# # 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/ # } @@ -126,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