User-Agent filtering configuration behaviour

Hi,

I have configured some policies in order to have a different authentication behaviour between webUI authentication (password + TOTP) and 2FA from radius (only TOTP) and it works well.

For the WebUI, I filter with a User-Agent condition, I add “Mozilla” in User-Agent (whatever the browser used to access the WebUI, it’s always “Mozilla” that appear in audit logs).
The strange behaviour is that if I come back to my authentication policy configuration, the “Mozilla” disappear. As I didn’t change the policy, the filter works but don’t appear anymore in the configuration page…
If I modify the configuration, I have to add “Mozilla” again in the User-Agent list.

Am I doing something the wrong way with this configuration? Or is it a bug?

I will probably so the opposite configuration, filtering on freeradius instead of Mozilla to avoid a future issue on configuration change.

I’m in 3.13 version

Hi, thanks for reporting this. It seems to be a bug for custom user agents.
I’ve created an issue for it on github

It will be fixed in the upcoming patch release 3.13.1

1 Like