• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Firewall Rules "Please Match Requested Format" in IP fields in Chrome

Scheduled Pinned Locked Moved General pfSense Questions
19 Posts 12 Posters 6.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jimp Rebel Alliance Developer Netgate
    last edited by Sep 1, 2016, 4:56 PM

    Yes, the same bug made it into Chrome 53, so more people are likely to hit it as that rolls out.

    Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

    Need help fast? Netgate Global Support!

    Do not Chat/PM for help!

    1 Reply Last reply Reply Quote 0
    • L
      luckman212 LAYER 8
      last edited by Sep 1, 2016, 6:12 PM

      What are the exact steps to repro it? I couldn't make it happen on my box with Chrome 53 (Mac)

      1 Reply Last reply Reply Quote 0
      • N
        nandattebayu
        last edited by Sep 9, 2016, 2:25 AM

        hi. i still have the same problem  in google chrome browser but when i try firefox/IE  it works fine.  ;D

        1 Reply Last reply Reply Quote 0
        • C
          capone
          last edited by Sep 11, 2016, 7:43 PM

          I can confirm, I am getting the same error in Chrome. I am running version: Version 53.0.2785.101 m (64-bit) and its currently "Up to date".

          I am not getting the "Please match Requested Format" in Firefox version: 45.3.0.

          I copied a rule, and was modifying it… when I changed the destination to "Network" and I put in the IP format... after hitting save.. I got the error...

          So, I launched FF, and copy and pasted from Chrome and FF...then save the rule...and it went through fine.

          1 Reply Last reply Reply Quote 0
          • A
            Admonstrator
            last edited by Sep 14, 2016, 9:43 AM Sep 14, 2016, 9:40 AM

            Hi there,

            same problem here but I found a way to fix this within Chrome: If the error appears just click on the element β†’ Inspect element
            You will find something like this:

            Just remove the plus sign (+) within the "pattern" value and everything is working fine.

            Best regards,
            Admon

            Edit: I'm using Chrome 53.0.2785.113 m (64-bit)

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Sep 14, 2016, 12:01 PM

              Do not do that. It may bypass the warning but it is also not correct. Use the System Patches package to apply https://patch-diff.githubusercontent.com/raw/pfsense/pfsense/pull/3127.patch, or at least make the change that is done in the patch.

              Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • B
                bctrainers
                last edited by Sep 19, 2016, 6:32 PM

                @jimp:

                Do not do that. It may bypass the warning but it is also not correct. Use the System Patches package to apply https://patch-diff.githubusercontent.com/raw/pfsense/pfsense/pull/3127.patch, or at least make the change that is done in the patch.

                Installed that package, pulled the patch file from the link given, this is the result for me…

                Patch can NOT be applied cleanly (detail)
                Patch can NOT be reverted cleanly (detail)

                Patch Test Output apply
                /usr/bin/patch --directory=/ -t -p1 -i /var/patches/57e02d540bb47.patch --check --forward --ignore-whitespace
                
                Hmm...  Looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |From 8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6 Mon Sep 17 00:00:00 2001
                |From: PiBa-NL 
                |Date: Fri, 2 Sep 2016 00:59:52 +0200
                |Subject: [PATCH] Input boxes with setPattern validation should not contain
                | escape characters as they are already properly considered 'lists of
                | characters' even when not escaped.
                |
                |---
                | src/usr/local/www/firewall_nat_1to1_edit.php               | 4 ++--
                | src/usr/local/www/firewall_nat_out_edit.php                | 4 ++--
                | src/usr/local/www/firewall_rules_edit.php                  | 2 +-
                | src/usr/local/www/services_igmpproxy_edit.php              | 2 +-
                | src/usr/local/www/services_router_advertisements.php       | 2 +-
                | src/usr/local/www/services_unbound_domainoverride_edit.php | 2 +-
                | 6 files changed, 8 insertions(+), 8 deletions(-)
                |
                |diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php
                |index 7efb07e..7fd19f4 100644
                |--- a/src/usr/local/www/firewall_nat_1to1_edit.php
                |+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 439.
                Hunk #2 ignored at 466.
                2 out of 2 hunks ignored while patching src/usr/local/www/firewall_nat_1to1_edit.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php
                |index 0b4bbae..6c845e5 100644
                |--- a/src/usr/local/www/firewall_nat_out_edit.php
                |+++ b/src/usr/local/www/firewall_nat_out_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 484.
                Hunk #2 ignored at 508.
                2 out of 2 hunks ignored while patching src/usr/local/www/firewall_nat_out_edit.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
                |index 84562df9..43f2e5d 100644
                |--- a/src/usr/local/www/firewall_rules_edit.php
                |+++ b/src/usr/local/www/firewall_rules_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 1323.
                1 out of 1 hunks ignored while patching src/usr/local/www/firewall_rules_edit.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/services_igmpproxy_edit.php b/src/usr/local/www/services_igmpproxy_edit.php
                |index c862424..bc76256 100644
                |--- a/src/usr/local/www/services_igmpproxy_edit.php
                |+++ b/src/usr/local/www/services_igmpproxy_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 224.
                1 out of 1 hunks ignored while patching src/usr/local/www/services_igmpproxy_edit.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/services_router_advertisements.php b/src/usr/local/www/services_router_advertisements.php
                |index e2df3e4..bd47b13 100644
                |--- a/src/usr/local/www/services_router_advertisements.php
                |+++ b/src/usr/local/www/services_router_advertisements.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 436.
                1 out of 1 hunks ignored while patching src/usr/local/www/services_router_advertisements.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/services_unbound_domainoverride_edit.php b/src/usr/local/www/services_unbound_domainoverride_edit.php
                |index 55274d4..ed3c631 100644
                |--- a/src/usr/local/www/services_unbound_domainoverride_edit.php
                |+++ b/src/usr/local/www/services_unbound_domainoverride_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 133.
                1 out of 1 hunks ignored while patching src/usr/local/www/services_unbound_domainoverride_edit.php
                done
                
                Patch Test Output revert
                /usr/bin/patch --directory=/ -f -p1 -i /var/patches/57e02d540bb47.patch --check --reverse --ignore-whitespace
                
                Hmm...  Looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |From 8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6 Mon Sep 17 00:00:00 2001
                |From: PiBa-NL 
                |Date: Fri, 2 Sep 2016 00:59:52 +0200
                |Subject: [PATCH] Input boxes with setPattern validation should not contain
                | escape characters as they are already properly considered 'lists of
                | characters' even when not escaped.
                |
                |---
                | src/usr/local/www/firewall_nat_1to1_edit.php               | 4 ++--
                | src/usr/local/www/firewall_nat_out_edit.php                | 4 ++--
                | src/usr/local/www/firewall_rules_edit.php                  | 2 +-
                | src/usr/local/www/services_igmpproxy_edit.php              | 2 +-
                | src/usr/local/www/services_router_advertisements.php       | 2 +-
                | src/usr/local/www/services_unbound_domainoverride_edit.php | 2 +-
                | 6 files changed, 8 insertions(+), 8 deletions(-)
                |
                |diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php
                |index 7efb07e..7fd19f4 100644
                |--- a/src/usr/local/www/firewall_nat_1to1_edit.php
                |+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 439.
                Hunk #2 ignored at 466.
                2 out of 2 hunks ignored while patching src/usr/local/www/firewall_nat_1to1_edit.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php
                |index 0b4bbae..6c845e5 100644
                |--- a/src/usr/local/www/firewall_nat_out_edit.php
                |+++ b/src/usr/local/www/firewall_nat_out_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 484.
                Hunk #2 ignored at 508.
                2 out of 2 hunks ignored while patching src/usr/local/www/firewall_nat_out_edit.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
                |index 84562df9..43f2e5d 100644
                |--- a/src/usr/local/www/firewall_rules_edit.php
                |+++ b/src/usr/local/www/firewall_rules_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 1323.
                1 out of 1 hunks ignored while patching src/usr/local/www/firewall_rules_edit.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/services_igmpproxy_edit.php b/src/usr/local/www/services_igmpproxy_edit.php
                |index c862424..bc76256 100644
                |--- a/src/usr/local/www/services_igmpproxy_edit.php
                |+++ b/src/usr/local/www/services_igmpproxy_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 224.
                1 out of 1 hunks ignored while patching src/usr/local/www/services_igmpproxy_edit.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/services_router_advertisements.php b/src/usr/local/www/services_router_advertisements.php
                |index e2df3e4..bd47b13 100644
                |--- a/src/usr/local/www/services_router_advertisements.php
                |+++ b/src/usr/local/www/services_router_advertisements.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 436.
                1 out of 1 hunks ignored while patching src/usr/local/www/services_router_advertisements.php
                Hmm...  The next patch looks like a unified diff to me...
                The text leading up to this was:
                --------------------------
                |diff --git a/src/usr/local/www/services_unbound_domainoverride_edit.php b/src/usr/local/www/services_unbound_domainoverride_edit.php
                |index 55274d4..ed3c631 100644
                |--- a/src/usr/local/www/services_unbound_domainoverride_edit.php
                |+++ b/src/usr/local/www/services_unbound_domainoverride_edit.php
                --------------------------
                No file to patch.  Skipping...
                Hunk #1 ignored at 133.
                1 out of 1 hunks ignored while patching src/usr/local/www/services_unbound_domainoverride_edit.php
                done
                
                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Sep 19, 2016, 6:33 PM

                  Set path strip to 2.

                  Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • L
                    lobotiger
                    last edited by Sep 20, 2016, 2:08 PM

                    Is this something that's going to be fixed in a future update to the main code?

                    LoboTiger

                    1 Reply Last reply Reply Quote 0
                    • J
                      jimp Rebel Alliance Developer Netgate
                      last edited by Sep 20, 2016, 2:15 PM

                      The fix is already in the repository, it will be included in the next release (whichever version that may be).

                      Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • B
                        bctrainers
                        last edited by Sep 21, 2016, 2:11 AM

                        @jimp:

                        Set path strip to 2.

                        Thanks, worked nicely on apply, but the removal-test of the patch does throw a warning; Patch can NOT be reverted cleanly (detail). :)

                        1 Reply Last reply Reply Quote 0
                        • J
                          jimp Rebel Alliance Developer Netgate
                          last edited by Sep 21, 2016, 2:12 AM

                          It can't be reverted cleanly because it isn't applied yet.

                          Once it's applied then you can expect it to show that it will revert cleanly.

                          Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • S
                            seed
                            last edited by Sep 22, 2016, 7:21 AM

                            I can't add a port to a network, it doesn't persist:

                            ![Screen Shot 2016-09-22 at 12.17.26 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-09-22 at 12.17.26 AM.png_thumb)
                            ![Screen Shot 2016-09-22 at 12.17.26 AM.png](/public/imported_attachments/1/Screen Shot 2016-09-22 at 12.17.26 AM.png)
                            ![Screen Shot 2016-09-22 at 12.17.14 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-09-22 at 12.17.14 AM.png_thumb)
                            ![Screen Shot 2016-09-22 at 12.17.14 AM.png](/public/imported_attachments/1/Screen Shot 2016-09-22 at 12.17.14 AM.png)

                            1 Reply Last reply Reply Quote 0
                            • DerelictD
                              Derelict LAYER 8 Netgate
                              last edited by Sep 22, 2016, 7:42 AM

                              Put it in the from port field, not the to field. By design.

                              Chattanooga, Tennessee, USA
                              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                              Do Not Chat For Help! NO_WAN_EGRESS(TM)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                This community forum collects and processes your personal information.
                                consent.not_received