Project

General

Profile

Actions

Bug #11109

closed

WebGUI RADIUS authentication doesn't work if WAN is down

Added by Viktor Gurov about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Authentication
Target version:
Start date:
11/27/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

The GUI login screen works as intended, then if you use a local (not RADIUS) credential with no WAN IP configured it will not fall back. Instead it will show this error:

Fatal error: Error converting Address in /usr/local/share/pear/Auth/RADIUS.php on line 218 PHP ERROR: Type: 1, File: /usr/local/share/pear/Auth/RADIUS.php, Line: 218, Message: Error converting Address

Related issues

Related to Bug #12730: RADIUS accounting does not work if WAN is downResolved

Actions
Actions #2

Updated by Max Leighton about 4 years ago

I am able to reproduce this in

2.5.0-DEVELOPMENT (amd64)
built on Fri Nov 27 07:03:36 EST 2020
FreeBSD 12.2-STABLE

[27-Nov-2020 13:17:10 America/Chicago] PHP Fatal error: Error converting Address in /usr/local/share/pear/Auth/RADIUS.php on line 218

In my case, just downing the interface wasn't enough, I had to have the IPv4 configuration type set to None.

Actions #3

Updated by Jim Pingle about 4 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0
Actions #4

Updated by Renato Botelho about 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #5

Updated by Viktor Gurov about 4 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Danilo Zrenjanin about 4 years ago

  • Status changed from Feedback to Resolved

Tested on :

2.5.0-DEVELOPMENT (amd64)
built on Mon Nov 30 07:00:43 EST 2020
FreeBSD 12.2-STABLE

It works fine now. Ticket resolved.

Actions #7

Updated by Viktor Gurov almost 3 years ago

  • Related to Bug #12730: RADIUS accounting does not work if WAN is down added
Actions

Also available in: Atom PDF