Project

General

Profile

Bug #10926

Secondary RADIUS Server is never used

Added by Viktor Gurov about 1 month ago. Updated about 17 hours ago.

Status:
Resolved
Priority:
Normal
Category:
PPPoE Server
Target version:
Start date:
09/22/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

Secondary/Backup RADIUS server is never used,
There is no $pppoecfg['radius']['server2'] in the code,
Only primary server https://github.com/pfsense/pfsense/blob/c42511674b3b43623877c834dd89b90260dcb681/src/etc/inc/vpn.inc#L188-L197:

if (isset ($pppoecfg['radius']['server']['enable'])) {
                $radiusport = "";
                $radiusacctport = "";
                if (isset($pppoecfg['radius']['server']['port'])) {
                    $radiusport = $pppoecfg['radius']['server']['port'];
                }
                if (isset($pppoecfg['radius']['server']['acctport'])) {
                    $radiusacctport = $pppoecfg['radius']['server']['acctport'];
                }
                $mpdconf .=<<<EOD

Associated revisions

Revision 80fcbd31 (diff)
Added by Viktor Gurov about 1 month ago

PPPoE Server secondary RADIUS server fixes. Issue #10926

History

#2 Updated by Jim Pingle about 1 month ago

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

#3 Updated by Renato Botelho about 1 month ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#4 Updated by Danilo Zrenjanin about 17 hours ago

  • Status changed from Feedback to Resolved

Tested on:

2.5.0-DEVELOPMENT (amd64)
built on Sat Oct 24 01:00:29 EDT 2020
FreeBSD 12.2-STABLE

it looks good. In the output of the /var/etc/pppoe1-vpn/mpd.conf I can see second radius:

set radius server 192.168.33.33 "test" 1812
set radius server 192.168.44.33 "test" 1812

Also available in: Atom PDF