Project

General

Profile

Actions

Bug #7255

closed

Firewall alias FQDN field rejects IDNs (Internationalized domain names)

Added by Sean McBride almost 8 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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.

Actions #1

Updated by Jim Pingle over 5 years ago

  • Category changed from Web Interface to Rules / NAT
Actions #2

Updated by Jim Pingle over 5 years ago

  • Category changed from Rules / NAT to Aliases / Tables
Actions #3

Updated by Viktor Gurov over 4 years ago

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

Actions #5

Updated by Jim Pingle over 4 years ago

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

Updated by Renato Botelho over 4 years 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!

Actions #7

Updated by Viktor Gurov over 4 years ago

  • Status changed from Feedback to Resolved

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

pfSense 2.5.0.a.20200518.1031

Actions

Also available in: Atom PDF