Project

General

Profile

Actions

Bug #15755

closed

Mobile IPsec sends incorrect DNS attribute IDs

Added by Steve Wheeler about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
IPsec
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.11
Release Notes:
Default
Affected Version:
2.7.x
Affected Architecture:
All

Description

The IPsec Mobile additional configuration attributes for DNS domain and Split DNS to pass to clients are generated with the wrong IDs:

        if (!empty($a_client['dns_domain'])) {
            $ssconf['charon']['plugins']['attr'][] = "# Search domain and default domain";
            $ssconf['charon']['plugins']['attr']['27674'] = "\"{$a_client['dns_domain']}\"";
            if (empty($a_client['dns_split'])) {
                $ssconf['charon']['plugins']['attr']['27675'] = "\"{$a_client['dns_domain']}\"";
            }
        }

Those values should be 28674 and 28675 respectively.

Actions

Also available in: Atom PDF