RADIUS attribute: Message-Authenticator
I'm working on migrating my home OpenSUSE machine I'm using for freeradius server to authenticate admin and VPN users on my FG40F(7.2.8) from Leap 15.3 to 15.5(on a new machine). Obviously 15.5's repo has a newer version of freeradius-server image.
Then when I simply copied "clients.conf" and "users" file to the new machine and pointed the RADIUS config at the 40F to the new machine, the RADIUS auth request was simply dropped without showing much reason in debug output other than "missing mandatory attribute".
After some research and investigation, I figured out I had to set "require_message_authenticator = no" in the client config for the 40F at the server, which was not required with the older version of freeradius, in order to let the server accept those requests from the 40F.
So I found a way around but now wondering why 40F wouldn't send the Message-Authenticator attribute with the request.
Even with 7.4.4, the admin guide says it doesn't send the attribute.
https://docs.fortinet.com/document/fortigate/7.4.4/administration-guide/952303/radius-avps-and-vsas
While Fortiswitch 7.2.8 admin guide says it DOES send the attribute, AVP Type=80.
https://docs.fortinet.com/document/fortiswitch/7.2.8/administration-guide/137894/appendix-b-supported-attributes-for-radius-coa-and-rsso
Does anyone know the reason why this part is different between FortiOS and FortiSwitchOS?
The comment in the client.conf file shows below:
# Old-style clients do not send a Message-Authenticator
# in an Access-Request. RFC 5080 suggests that all clients
# SHOULD include it in an Access-Request. The configuration
# item below allows the server to require it. If a client
# is required to include a Message-Authenticator and it does
# not, then the packet will be silently discarded.
Thanks,
Toshi
