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

    Any ICMP syntax error bug

    2.3.3 Development Snapshots
    3
    4
    1.3k
    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
      jp141
      last edited by

      Using 2.3.3.a.20170112.0746 I think I have found a bug:

      While adding an ICMP rule to an interface I get this error only if I select ICMP Subtypes any, if I manually select the ICMP Subtypes its fine:

      There were error(s) loading the rules: /tmp/rules.debug:257: syntax error - The line in question reads [257]: pass  in  quick  on $WLANG inet proto icmp  from 192.168.14.0/24 to 192.168.14.1 icmp-type any tracker 1484561787 keep state  label "USER_RULE: Allow Gateway Ping"

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        That is a problem. It was fixed for 2.4-BETA a few days ago. The fix needs to be back-ported to 2.3.3-DEVELOPMENT.
        You can find the matching place in /etc/inc/filter.inc from this commit and make the same change in you 2.3.3 code:
        https://github.com/pfsense/pfsense/commit/007cfb6ab6d7733c7a98d8fc5baae59028753107

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • J
          jp141
          last edited by

          Brilliant thanks, its not a big issue for me just though I would let you guys know.

          1 Reply Last reply Reply Quote 0
          • rbgargaR
            rbgarga Developer Netgate Administrator
            last edited by

            Merged to RELENG_2_3. Thanks!

            Renato Botelho

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.