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

    ICMP has ports?

    General pfSense Questions
    3
    7
    1.5k
    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.
    • H
      Harvy66
      last edited by

      I thought it kind of strange that a port is show for the source

      icmp  I 192.168.1.2:0        173.194.46.98:48337  0:0  8616m    10 2019K  118M
      icmp  O 192.168.1.2:48337    173.194.46.98:0      0:0  8616m    10 2019K  118M

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Hmmm where do you see that at?  From my understanding port 0 is packets without a L4 header..  Could be just fragmented traffic, could be attack, etc.  Is that total traffic 118M?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • H
          Harvy66
          last edited by

          It's from PFTop. It's a Google IP address that I ping 24/7.

          Here's a screenshot. You'll see that the longest state is apinger hitting my gateway, even that has a "port".

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            I think that just be quirk/method for that info to be shown.. If you do a packet capture and look at the capture (even when loaded wireshark) there are no ports in the capture

            packetcaptureicmp.png
            packetcaptureicmp.png_thumb

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • H
              Harvy66
              last edited by

              I figured it was a "quirk", I was quite sure ICMP had no notion of any kind of "ports". At least some people may be aware of it if they were not already.

              Thanks for validating that I'm not going crazy  :-)

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                maybe someone that is really familiar with the ins and outs of pf firewall can validate it.. But yeah just looks like how pf handles showing the info.. but odd is where it comes up with those high source ports?  36724 in your example.

                I know there can be some odd stuff done with port 0 in an attack sort of thing.  But have never looked/noticed that before myself.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • C
                  cmb
                  last edited by

                  ICMP doesn't have ports, but it does have an ID. That's what that is.

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