X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=radsecproxy.conf-example;h=6d24ba839570623d301f027fd0a4a8e0f56945e5;hb=e6b234bb547479f8862badeee58d1b1415a2439d;hp=5fcc4a65ebe689396ec12f2d1c12e83ea7188461;hpb=355e140b8839fff12f6636b634402c72124a367e;p=radsecproxy.git diff --git a/radsecproxy.conf-example b/radsecproxy.conf-example index 5fcc4a6..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,10 +85,16 @@ 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 -# modifyAttribute 1:/^(.*)@local$/$1@example.com/ +# # 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/ # } client 2001:db8::1 { @@ -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