Project

General

Profile

Actions

Bug #11891

closed
OY JP

strongSwan configuration contains incorrect structure for mobile pool DNS records

Bug #11891: strongSwan configuration contains incorrect structure for mobile pool DNS records

Added by Oleksandr Yermolenko over 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
IPsec
Target version:
Start date:
05/05/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
2.5.1
Affected Architecture:
amd64

Description

Hello,

according to https://wiki.strongswan.org/projects/strongswan/wiki/Fromipsecconf:
old style configuration

rightdns=<ip>[,…]     

should be transformed to the next records:
connections.<conn>.pools=<poolname>
pools.<poolname>.dns=<ip>[,…]

but 2.5.1 version config generated in the following way:

pools {
}
mobile-pool {
        dns = 10.71.1.11,10.70.3.11
        28679 = "20" 
}

and connection

con-mobile-defaults {
...
        pools = radius-pool, radius
...


Related issues 1 (0 open1 closed)

Related to Regression #11447: EAP-RADIUS Mobile IPsec clients with RADIUS-assigned addresses do not get additional configuration attributesClosedJim Pingle02/18/2021

Actions

JP Updated by Jim Pingle over 5 years ago Actions #1

  • Status changed from New to In Progress
  • Assignee set to Jim Pingle
  • Target version set to 2.6.0

"radius" is a special internal pool in strongSwan, which expects settings to be returned from RADIUS and not defined in the configuration.

Though "radius-pool" should be defined to include the settings from "mobile-pool" as a template which would bring in the DNS settings from there, and that seems to not be making it into the config in certain cases.

JP Updated by Jim Pingle over 5 years ago Actions #2

  • Status changed from In Progress to Feedback

JP Updated by Jim Pingle over 5 years ago Actions #3

  • Plus Target Version set to 21.05

JP Updated by Jim Pingle over 5 years ago Actions #4

Already in 21.05 branch.

JP Updated by Jim Pingle over 5 years ago Actions #5

  • Subject changed from swanctl.conf/mobile-pool: incorrect config structure for DNS records to strongSwan configuration contains incorrect structure for mobile pool DNS records

Updating subject for release notes.

JP Updated by Jim Pingle over 5 years ago Actions #6

  • Plus Target Version changed from 21.05 to 21.09

Reverted RADIUS-specific parts of the change here for now, it was causing the configuration to fail. Can try again before the next release.

JP Updated by Jim Pingle over 5 years ago Actions #7

  • Status changed from Feedback to New

VG Updated by Viktor Gurov about 5 years ago Actions #8

Jim Pingle wrote in #note-6:

Reverted RADIUS-specific parts of the change here for now, it was causing the configuration to fail. Can try again before the next release.

should be fixed in #11447#note-14

JP Updated by Jim Pingle about 5 years ago Actions #9

  • Related to Regression #11447: EAP-RADIUS Mobile IPsec clients with RADIUS-assigned addresses do not get additional configuration attributes added

JP Updated by Jim Pingle about 5 years ago Actions #10

  • Status changed from New to Pull Request Review

JP Updated by Jim Pingle about 5 years ago Actions #11

  • Status changed from Pull Request Review to Feedback

Referenced PR was merged a few weeks ago.

JP Updated by Jim Pingle almost 5 years ago Actions #12

  • Plus Target Version changed from 21.09 to 22.01

JP Updated by Jim Pingle over 4 years ago Actions #13

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom