Project

General

Profile

Actions

Bug #12347

closed

IPsec widget treats phase 1 in "connecting" state as connected

Added by Steve Wheeler 8 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Dashboard
Target version:
Start date:
Due date:
% Done:

100%

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

Description

The IPSec widget will show tunnels connected at P1 when they are still in the connecting state and in fact fail to connect.

In the attached images the remote host, 172.16.16.222, does not exist.

See: https://redmine.pfsense.org/issues/12189#note-1

Tested:

2.6.0-DEVELOPMENT (amd64)
built on Wed Sep 08 01:12:10 EDT 2021
FreeBSD 12.2-STABLE

21.09-BETA (amd64)
built on Wed Sep 08 01:15:22 EDT 2021
FreeBSD 12.2-STABLE

Files

Screenshot from 2021-09-07 18-04-04.png (18 KB) Screenshot from 2021-09-07 18-04-04.png Steve Wheeler, 09/08/2021 07:31 AM
Screenshot from 2021-09-08 13-32-36.png (11.6 KB) Screenshot from 2021-09-08 13-32-36.png Steve Wheeler, 09/08/2021 07:32 AM
Screenshot from 2021-09-08 13-34-25.png (48.9 KB) Screenshot from 2021-09-08 13-34-25.png Steve Wheeler, 09/08/2021 07:34 AM
p1.png (25.8 KB) p1.png Alhusein Zawi, 10/29/2021 10:18 PM
dash.png (10 KB) dash.png Alhusein Zawi, 10/29/2021 10:19 PM
Screenshot from 2021-11-01 12-29-47.png (19.7 KB) Screenshot from 2021-11-01 12-29-47.png Steve Wheeler, 11/01/2021 07:30 AM
Actions #1

Updated by Jim Pingle 8 months ago

  • Subject changed from IPSec Widget incorrectly shows P1 connected to IPsec widget treats Phase 1 in "connecting" state as connected

That's expected at the moment. There isn't going to be fine-grained info on the widget like that. If it showed disconnected that would be worse as the user could try to initiate it again which is bad. If the totals didn't line up, it would be confusing. There isn't enough space to include a "connecting..." state in the totals either.

Could maybe do a separate icon in the widget at least, though.

Actions #2

Updated by Jim Pingle 7 months ago

  • Status changed from New to In Progress
  • Assignee set to Jim Pingle
Actions #3

Updated by Jim Pingle 7 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

Fix committed, will be in images soon.

Actions #4

Updated by Jim Pingle 7 months ago

  • Subject changed from IPsec widget treats Phase 1 in "connecting" state as connected to IPsec widget treats phase 1 in "connecting" state as connected

Updating subject for release notes.

Actions #5

Updated by Alhusein Zawi 7 months ago

widget shows P1 "disconnected" while it is in connecting state.

Actions #6

Updated by Jim Pingle 7 months ago

  • Status changed from Resolved to Feedback

It should show a yellow spinner while it is in the 'connecting' state, not the disconnected icon. Can you check it again?

The easiest way to see it is to build a tunnel to an IP address that isn't live / doesn't respond.

Actions #7

Updated by Steve Wheeler 7 months ago

This looks good.

Tested:

2.6.0-DEVELOPMENT (amd64)
built on Mon Nov 01 05:23:42 UTC 2021
FreeBSD 12.3-PRERELEASE

Actions #8

Updated by Viktor Gurov 7 months ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF