Project

General

Profile

Actions

Bug #16197

open

underscore (_) is not permitted in Identifier (Pre-Shared key)

Added by Qian Yan 7 days ago. Updated about 9 hours ago.

Status:
Confirmed
Priority:
Low
Assignee:
-
Category:
IPsec
Target version:
Start date:
Due date:
% Done:

0%

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

Description

When I put underscore(_) in the identifier, for example "San_Zhang", it will report error when click save.

The following input errors were detected:
The identifier contains invalid characters.

I know this character is not allowed in DNS hostname, but it is allowed in e-mail address or account name.


Files

Pfsense_identifier_edit_v2.7.2.png (25.2 KB) Pfsense_identifier_edit_v2.7.2.png capture of PSK identifier edit. Qian Yan, 05/22/2025 02:40 AM
Actions #1

Updated by Qian Yan 7 days ago

underscore(_) should be allowed in the account name or the name part (prefix) of the e-mail address, not the domain suffix.

examples of valid:

San_Zhang

examples of invalid:

San.Zhang@example_host.com

Found this doc, but I am not sure if it is right one for this issue.
[[https://www.rfc-editor.org/rfc/rfc4282]]

BTW,
please help to change Priority of this bug to low, I forgot to change it when I submited it.

Actions #2

Updated by Bryan Allen 4 days ago

  • Status changed from New to Confirmed
  • Priority changed from Normal to Low
  • Target version set to 2.8.0
  • Affected Version changed from 2.7.2 to 2.8.0

Confirmed this on:

2.8.0-RELEASE (amd64)
built on Wed May 21 23:12:00 UTC 2025
FreeBSD 15.0-CURRENT

&

24.11-RELEASE (amd64)
built on Sat Jan 11 10:11:00 CST 2025
FreeBSD 15.0-CURRENT

as well. same error comes up as attached above.

Actions #3

Updated by Bryan Allen 4 days ago

  • Affected Version changed from 2.8.0 to All
Actions #4

Updated by Jim Pingle about 9 hours ago

  • Target version changed from 2.8.0 to 2.9.0
  • Plus Target Version set to 25.07
Actions

Also available in: Atom PDF