Project

General

Profile

Actions

Bug #10926

closed

Secondary RADIUS Server is never used

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

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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

Actions #2

Updated by Jim Pingle about 4 years ago

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

Updated by Renato Botelho about 4 years 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!

Actions #4

Updated by Danilo Zrenjanin about 4 years 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

Actions

Also available in: Atom PDF