From: Alan T. DeKok Date: Thu, 11 Feb 2010 11:44:24 +0000 (+0100) Subject: Added sample CoA server X-Git-Tag: release_2_1_9~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecc5aa5a3cbecd4bf2f53de2168be585798847e6;p=thirdparty%2Ffreeradius-server.git Added sample CoA server --- diff --git a/raddb/sites-available/coa b/raddb/sites-available/coa new file mode 100644 index 00000000000..8aaa492c3d3 --- /dev/null +++ b/raddb/sites-available/coa @@ -0,0 +1,43 @@ +# -*- text -*- +###################################################################### +# +# Sample virtual server for receiving a CoA or Disconnect-Request packet. +# + +# Listen on the CoA port. +# +# This uses the normal set of clients, with the same secret as for +# authentication and accounting. +# +listen { + type = coa + ipaddr = * + port = 3799 + server = coa +} + +server coa { + # When a packet is received, it is processed through the + # recv-coa section. This applies to *both* CoA-Request and + # Disconnect-Request packets. + recv-coa { + # CoA && Disconnect packets can be proxied in the same + # way as authentication or accounting packets. + # Just set Proxy-To-Realm, or Home-Server-Pool, and the + # packets will be proxied. + + # Insert your own policies here. + ok + } + + # When a packet is sent, it is processed through the + # recv-coa section. This applies to *both* CoA-Request and + # Disconnect-Request packets. + send-coa { + # Sample module. + ok + } + + # You can use pre-proxy and post-proxy sections here, too. + # They will be processed for sending && receiving proxy packets. +}