Crash report after update from 2.5.0-20200519 to 2.5.0-20200520
this morning I had a crash after updating from pfSense 2.5.0 version 20200519 to the latest version dated 20200520.
I am using RADIUS authentication with FreeRADIUS package on the pfSense machine. After a while I could log on to the machine and got the following crash report:
Crash report begins. Anonymous machine information:
FreeBSD 12.1-STABLE f1de4082be8(devel-12) pfSense
Crash report details:
[21-May-2020 08:05:09 Europe/Berlin] PHP Fatal error: Error converting Address in /usr/local/share/pear/Auth/RADIUS.php on line 218
No FreeBSD crash data found.
Uploaded the related PHP errors log file:
How did you specify the address for the RADIUS server?
I don't think anything changed in the code there... But if it's a hostname and suddenly it only resolved to an AAAA record I could see it having a problem with that (the PEAR module for RADIUS doesn't support IPv6).
The RADIUS server is FreeRADIUS running as pfSense package on the pfSense machine. It is specified as "localhost" in "System/User Manager/Authentication Servers". The RADIUS NAS IP Attribute is set to the IP of the WAN1 interface. I used this configuration since at least 3 months without problems.
Before reporting the crash today i checked this twice: rebooted 2 times without being able to log on and without any router operation. Then after some time i could log on and got the crash report.
Some minutes ago i rebooted the pfSense machine and the error is gone: normal boot, no messages or crashes - very strange.
Change it to
localhostcan be IPv6 or IPv4, and the RADIUS client only supports IPv4.
Thanks a lot, i'll change it.
After the address change there were no further problems and updating to version 2.5.0-20200522 worked seamlessly.