Project

General

Profile

Actions

Bug #7255

closed
SM RB

Firewall alias FQDN field rejects IDNs (Internationalized domain names)

Bug #7255: Firewall alias FQDN field rejects IDNs (Internationalized domain names)

Added by Sean McBride over 9 years ago. Updated over 6 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.

JP Updated by Jim Pingle about 7 years ago Actions #1

  • Category changed from Web Interface to Rules / NAT

JP Updated by Jim Pingle about 7 years ago Actions #2

  • Category changed from Rules / NAT to Aliases / Tables

VG Updated by Viktor Gurov over 6 years ago Actions #3

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

JP Updated by Jim Pingle over 6 years ago Actions #5

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

RB Updated by Renato Botelho over 6 years ago Actions #6

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

PR has been merged. Thanks!

VG Updated by Viktor Gurov over 6 years ago Actions #7

  • 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