Project

General

Profile

Bug #7255

Firewall alias FQDN field rejects IDNs (Internationalized domain names)

Added by Sean McBride over 3 years ago. Updated 14 days ago.

Status:
Resolved
Priority:
Normal
Category:
Aliases / Tables
Target version:
Start date:
02/12/2017
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.3.3
Affected Architecture:
All

Description

When creating a firewall alias and entering "www.bücher.ch" as the FQDN, pfsense gives an error stating:

"www.bücher.ch is not a valid host address, FQDN or alias."

This message is incorrect. www.bücher.ch is a valid FQDN.

Happily, entering the punycode representation (www.xn--bcher-kva.ch) results in everything working fine (alias can be created, rules using the alias work, ex: I can block that site).

I suggest that pfsense should accept Unicode characters in the FQDN textfield and internally convert them to punycode to pass down to pf or whatever other lower layers need it.

Associated revisions

Revision ea12b607 (diff)
Added by Viktor Gurov 21 days ago

Alias IDN hostnames support. Issue #7255

History

#1 Updated by Jim Pingle 10 months ago

  • Category changed from Web Interface to Rules / NAT

#2 Updated by Jim Pingle 10 months ago

  • Category changed from Rules / NAT to Aliases / Tables

#3 Updated by Viktor Gurov 3 months ago

You can use URL/URL Table alias for IDN hostnames:
https://redmine.pfsense.org/issues/10321

#5 Updated by Jim Pingle 21 days ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0

#6 Updated by Renato Botelho 15 days ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#7 Updated by Viktor Gurov 14 days ago

  • Status changed from Feedback to Resolved

editing, resolving, import/export - all works as expected

pfSense 2.5.0.a.20200518.1031

Also available in: Atom PDF