]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5617] Updated doc and example
authorFrancis Dupont <fdupont@isc.org>
Wed, 16 May 2018 13:51:36 +0000 (15:51 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 16 May 2018 13:51:36 +0000 (15:51 +0200)
doc/examples/kea4/hooks-radius.json
doc/guide/hooks-radius.xml

index 9d2afc30df757469819a95d1ec7004d9cd76a685..0f52d4e77f5e03133e38860e494852b5f51e6492 100644 (file)
          "library": "/usr/local/lib/hooks/libdhcp_radius.so",
 
          "parameters": {
-             // Do not use RFC 4361
-             "extract-duid": false,
+             // If do not use RFC 4361
+             // "extract-duid": false,
+
+             // If have conflicting subnets
+             // "reselect-subnet-pool": true,
 
              // Strip the 0 type added by flex-id
              "client-id-pop0": true,
index d8f190649e9af6c3ade3013f12acb28f1df5325e..a2a68c2a5cc127c003ff332b6bad62cb8c998de5 100644 (file)
@@ -301,7 +301,7 @@ Please make sure that your compilation has the following:
   <listitem>radius listed in tier 2 packages</listitem>
   <listitem>FreeRadius client directories printed and pointing to the right
   directories</listitem>
-  <listitem>Boost ersion is at least 1.65.1. The versions available
+  <listitem>Boost version is at least 1.65.1. The versions available
   in CentOS 7 (1.48 and and 1.53) are too old.</listitem>
 </itemizedlist>
 
@@ -322,7 +322,7 @@ Please make sure that your compilation has the following:
 
     <para>
       The RADIUS Hook is a library that has to be loaded by either DHCPv4 or
-      DHCPv6 Kea servers. Compared to other avaiable hook libraries, this one
+      DHCPv6 Kea servers. Compared to other available hook libraries, this one
       takes many parameters to actually run. For example, this configuration
       could be used:
 
@@ -403,12 +403,12 @@ Please make sure that your compilation has the following:
 
       <listitem><simpara><command>identifier-type4</command> (default client-id)
       specifies the identifier type to build the User-Name attribute. It should
-      be the same than host identifier and when the flex-id hook librairy is
+      be the same than host identifier and when the flex-id hook library is
       used the replace-client-id must be set to true and client-id will be used
       with client-id-pop0. </simpara></listitem>
 
       <listitem><simpara><command>identifier-type6</command> (default duid)
-      pecifies the identifier type to build the User-Name attribute. It should
+      specifies the identifier type to build the User-Name attribute. It should
       be the same than host identifier and when the flex-id hook librairy is
       used the replace-client-id must be set to true and duid will be used with
       client-id-pop0. </simpara></listitem>
@@ -416,6 +416,15 @@ Please make sure that your compilation has the following:
       <listitem><simpara><command>realm</command> (default "") is the default
       realm. </simpara></listitem>
 
+      <listitem><simpara><command>reselect-subnet-address</command> (default
+      false) uses the Kea reserved address / RADIUS Framed-IP-Address or
+      Framed-IPv6-Address to re-select subnets where the address is not in
+      the subnet range. </simpara></listitem>
+
+      <listitem><simpara><command>reselect-subnet-pool</command> (default
+      false) uses the Kea client-class / RADIUS Frame-Pool to re-select
+      subnets where no available pool can be found. </simpara></listitem>
+
       <listitem><simpara><command>retries</command> (default 3) is the number of
       retries before trying the next server. Note it is not supported for
       asynchronous communication. </simpara></listitem>
@@ -430,6 +439,13 @@ Please make sure that your compilation has the following:
 
     </para>
 
+    <para> When <command>reselect-subnet-pool</command> or
+    <command>reselect-subnet-address</command> is set to true at the
+    reception of RADIUS Access-Accept the selected subnet is checked
+    against the client-class name or the reserved address and if it does
+    not matched another subnet is selected among matching subnets.
+    </para>
+
     <para>
       Two services are supported:
       <itemizedlist>