Project

General

Profile

Actions

Bug #11539

open

Mobile IPsec "split_include" value of 0.0.0.0/0 causes some clients to fail

Added by Jim Pingle 8 months ago. Updated 2 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
IPsec
Target version:
Start date:
02/25/2021
Due date:
% Done:

0%

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

Description

Currently for mobile IPsec the code sets up subnet and split_include entries for IPv4/IPv6 pools based on the GUI setting for networks to send to clients.

When split_include has a value of 0.0.0.0/0, some clients will fail to connect. A forum user reported this for the built-in Android IKEv2 client but there may be others.

So we either need to figure out some better logic about what to put in each of subnet and split_include separately or at the very least, do not add 0.0.0.0/0 or ::/0 to split_include.

Also warrants some more research in strongSwan to ensure both of those fields are being used appropriately.


Files

11539-split-fix.diff (1.18 KB) 11539-split-fix.diff Jim Pingle, 03/04/2021 02:57 PM
Actions #1

Updated by Jim Pingle 8 months ago

I can't find a client that can reproduce this so I can't confirm a fix. Attached is a patch which will omit 0.0.0.0/0 and ::/0 from the split_include line, or omit the line entirely if that is the only value.

Needs some testing before committing.

Actions #2

Updated by Jim Pingle 8 months ago

  • Status changed from New to Feedback
Actions #3

Updated by Jim Pingle 6 months ago

  • Plus Target Version set to 21.05
Actions #4

Updated by Jim Pingle 6 months ago

  • Plus Target Version changed from 21.05 to 21.09

Nothing committed here yet and only one data point on if it's beneficial. Bumping this one up for the moment. I'd like to find a way to reproduce this and check that it doesn't break existing setups first.

Actions #5

Updated by Jim Pingle 2 months ago

  • Plus Target Version changed from 21.09 to 22.01

There are other changes in 21.09 which may fix this, but leaving it open and moving target for now in case it needs additional work. Can remove target and close it if it works OK on 21.09.

Actions

Also available in: Atom PDF