From: Alan T. DeKok Date: Tue, 5 May 2020 12:54:21 +0000 (-0400) Subject: update to use the new v4 virtual servers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dd8210d40cd6b2c9f3f6012db986aec258eea38;p=thirdparty%2Ffreeradius-server.git update to use the new v4 virtual servers --- diff --git a/raddb/sites-available/arp b/raddb/sites-available/arp index b89709a3b18..c5a1ef30800 100644 --- a/raddb/sites-available/arp +++ b/raddb/sites-available/arp @@ -33,29 +33,43 @@ # server arp { # - # ### listen { ... } + # namespace:: # - # Please see `listen` for more. + # In v4, all "server" sections MUST start with a "namespace" + # parameter. This tells the server which protocol is being used. # - listen { - # - # type:: ARP is type arp. - # - type = arp + # All of the "listen" sections in this virtual server will + # only accept packets for that protocol. + # + namespace = arp + # + # ### The listen section + # + # The `listen` sections in v4 are very different from the + # `listen sections in v3. The changes were necessary in + # order to make FreeRADIUS more flexible, and to make the + # configuration simpler and more consistent. + # + listen { # # interface:: The only configuration possible for ARP # is the name of the interface. # - interface = en1 + interface = en0 } - # - # ### arp { ... } - # - # If you need to know the interface, use `%{listen:interface}` - # - arp { - ok - } +# +# ### Process an ARP request +# +recv Request { + ok +} + +# +# ### Process an ARP reply before sending it +# +send Reply { + ok +} }