Project

General

Profile

Actions

Bug #15755

closed

Mobile IPsec sends incorrect DNS attribute IDs

Added by Steve Wheeler 3 months ago. Updated 2 months 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 #2

Updated by Anonymous 3 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Jim Pingle 3 months ago

  • Subject changed from Mobile IPSec using incorrect DNS attribute IDs to Mobile IPsec sends incorrect DNS attribute IDs
Actions #4

Updated by Jim Pingle 3 months ago

  • Status changed from Feedback to Closed
  • Assignee set to Steve Wheeler

Looks good on a current snapshot, the config has the right values and the client appears to be receiving and processing the settings.

Actions #5

Updated by Jim Pingle 2 months ago

  • Plus Target Version changed from 24.08 to 24.11
Actions

Also available in: Atom PDF