]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
preliminary updates for VMPS
authorAlan T. DeKok <aland@freeradius.org>
Fri, 4 May 2018 18:23:57 +0000 (14:23 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 4 May 2018 18:23:57 +0000 (14:23 -0400)
raddb/sites-available/vmps

index 87daf348dee44eaf05444aed66f883aec9e5ae98..588be1bdd5d759b400aa591f868b7b0a4bfb8bb8 100644 (file)
@@ -9,6 +9,15 @@
 ######################################################################
 
 server vmps {
+       #
+       #  In v4, all "server" sections MUST start with a "namespace"
+       #  parameter.  This tells the server which protocol is being used.
+       #
+       #  All of the subsequent "listen" sections in this server will
+       #  only accept packets for that protocol.
+       #
+       namespace = vmps
+
        listen {
                transport = udp
 
@@ -22,8 +31,9 @@ server vmps {
                        #       1589 is the default VMPS port.
                        port = 1589
 
-                       #  Type of packets to listen for.  Here, it is VMPS.
-                       type = vmps
+                       #  Type of VMPS packets to listen for.
+                       type = VMPS-Join-Request
+                       type = VMPS-Reconfirm-Request
 
                        #  Some systems support binding to an interface, in addition
                        #  to the IP address.  This feature isn't strictly necessary,
@@ -36,8 +46,6 @@ server vmps {
                        #
                        #       interface = eth0
                }
-
-               type = VMPS-Join-Request
        }
 
        #  If you have switches that are allowed to send VMPS, but NOT
@@ -47,7 +55,6 @@ server vmps {
        #  list a "secret" for each client, though that secret will not
        #  be used for anything.
 
-
        #
        #  This section is called when it receives a VMPS-Join-Request.
        #
@@ -97,5 +104,10 @@ server vmps {
             ok
        }
 
-       # Proxying of VMPS requests is NOT supported.
+       #
+       #  This section is called when not responding to packets.
+       #
+       send Do-Not-Respond {
+            ok
+       }
 }