Project

General

Profile

Actions

Bug #13226

open

Captive Portal doesn't disconnect established OpenVPN link

Added by Danilo Zrenjanin about 1 month ago. Updated 28 days ago.

Status:
Confirmed
Priority:
Normal
Category:
Captive Portal
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Plus-Next
Release Notes:
Default
Affected Version:
2.7.x
Affected Architecture:

Description

Steps to reproduce:

1. Connect to the network through the CP portal.
2. Establish OpenVPN forcing all traffic through it.
3. Under Status/Captive Portal disconnect your client.
4. Test the connectivity. Your Internet access still works.

Tested on the:

2.7.0-DEVELOPMENT (amd64)
built on Fri May 27 06:19:08 UTC 2022
FreeBSD 12.3-STABLE

Actions #1

Updated by Viktor Gurov about 1 month ago

It looks like pfSense_kill_states() and pfSense_kill_srcstates() does not work properly:
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/captiveportal.inc#L886-L888

Needs more testing.

Actions #2

Updated by Viktor Gurov about 1 month ago

  • Status changed from New to Confirmed

Able to reproduce.

It looks like pfSense_kill_status() and pfSense_kill_src states() are successfully kill TCP and ICMP sessions, but not UDP.

This may also be an issue prior to pfSense 22.05/2.7 (ipfw captive portal).

Actions #3

Updated by Viktor Gurov 28 days ago

  • Assignee set to Reid Linnemann
Actions

Also available in: Atom PDF