2 ######################################################################
4 # As of version 2.0.0, the server also supports the VMPS
9 ######################################################################
13 # VMPS sockets only support IPv4 addresses.
16 # Port on which to listen.
19 # 1589 is the default VMPS port.
22 # Type of packets to listen for. Here, it is VMPS.
25 # Some systems support binding to an interface, in addition
26 # to the IP address. This feature isn't strictly necessary,
27 # but for sites with many IP addresses on one interface,
28 # it's useful to say "listen on all addresses for
31 # If your system does not support this feature, you will
32 # get an error if you try to use it.
37 # If you have switches that are allowed to send VMPS, but NOT
38 # RADIUS packets, then list them here as "client" sections.
40 # Note that for compatibility with RADIUS, you still have to
41 # list a "secret" for each client, though that secret will not
42 # be used for anything.
45 # And the REAL contents. This section is just like the
46 # "post-auth" section of radiusd.conf. In fact, it calls the
47 # "post-auth" component of the modules that are listed here.
48 # But it's called "vmps" to highlight that it's for VMPS.
52 # Some requests may not have a MAC address. Try to
53 # create one using other attributes.
55 if (VMPS-Ethernet-Frame =~ /0x.{12}(..)(..)(..)(..)(..)(..).*/) {
57 VMPS-Mac = "%{1}:%{2}:%{3}:%{4}:%{5}:%{6}"
62 VMPS-Mac = "%{VMPS-Cookie}"
67 # required VMPS reply attributes
69 VMPS-Packet-Type = VMPS-Join-Response
70 VMPS-Cookie = "%{VMPS-Mac}"
72 VMPS-VLAN-Name = "please_use_real_vlan_here"
75 # If you have VLAN's in a database, you can select
76 # the VLAN name based on the MAC address.
78 #VMPS-VLAN-Name = "%{sql:select ... where mac='%{VMPS-Mac}'}"
82 # Proxying of VMPS requests is NOT supported.