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

latency of connection monitoring

Scheduled Pinned Locked Moved General pfSense Questions
25 Posts 4 Posters 3.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.
  • N
    Nthly
    last edited by Dec 16, 2018, 7:16 AM

    Does anyone know how to monitor an interface connection latency? is it possible?

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Dec 16, 2018, 7:57 AM

      Your wan connection measures the latency to your gateway out of the box, or any other monitor IP you might want to use..

      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
      • N
        Nthly
        last edited by Dec 16, 2018, 8:01 AM

        Thank you, it is for my em2. I do not know where the Xbox is connecting but i have latency issues with it despite an open NAT. Only the box on that Ethernet card.
        So I wanted to find out what IPs is the game using and what is my real latency for it....

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz Dec 16, 2018, 8:08 AM Dec 16, 2018, 8:06 AM

          Latency to where your game is going to be is going to be different than what the latency to your gateway is.

          Latency on your lan, ie from your xbox to pfsense should be in less than 1 ms.. Is a lan - if your wifi it could be a bit higher - problem with wifi is it normally has a lot of jitter, etc.

          Shouldn't your game your playing tell you what it is showing for latency?

          Ping pfsense from some device on your network. What does it answer back with for time?

          PING 192.168.3.253 (192.168.3.253) 56(84) bytes of data.
          64 bytes from 192.168.3.253: icmp_seq=1 ttl=64 time=0.433 ms
          64 bytes from 192.168.3.253: icmp_seq=2 ttl=64 time=0.419 ms
          64 bytes from 192.168.3.253: icmp_seq=3 ttl=64 time=0.409 ms
          64 bytes from 192.168.3.253: icmp_seq=4 ttl=64 time=0.455 ms
          64 bytes from 192.168.3.253: icmp_seq=5 ttl=64 time=0.406 ms
          64 bytes from 192.168.3.253: icmp_seq=6 ttl=64 time=0.403 ms
          ^C
          --- 192.168.3.253 ping statistics ---
          6 packets transmitted, 6 received, 0% packet loss, time 5225ms
          rtt min/avg/max/mdev = 0.403/0.420/0.455/0.032 ms
          

          So latency to pfsense is less than .5 ms...

          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
          • N
            Nthly
            last edited by Dec 16, 2018, 8:10 AM

            Yrs the game tells me, however only if i pull up a menu while in multiplayer... it's BO4. I suspect, however there to be quite a bit of variation and i would be interested in finding out exactly when i suffer form it more.
            The box tells me it's 25/30ms. but at times i catch it with over 400ms latency, Are bursts of it.

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Dec 16, 2018, 8:18 AM

              What does the quality graph show you for latency to your gateway - does it fluctuate a lot?

              If you saturate your line that latency can for sure go up.. Is your xbox wireless.. LIke I said jitter on wireless can be high..

              Once the packet leaves pfsense - how long it takes to get to answer depends on a whole lot of shit... The only thing you can do to control latency locally is going is to make sure your local network is not the problem..

              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
              • N
                Nthly
                last edited by Nthly Dec 16, 2018, 8:27 AM Dec 16, 2018, 8:20 AM

                here is the graph. I do not use wireless. I prefer wired.

                PING 172.16.1.1 (172.16.1.1): 56 data bytes
                64 bytes from 172.16.1.1: icmp_seq=0 ttl=64 time=0.047 ms
                64 bytes from 172.16.1.1: icmp_seq=1 ttl=64 time=0.025 ms
                64 bytes from 172.16.1.1: icmp_seq=2 ttl=64 time=0.031 ms
                64 bytes from 172.16.1.1: icmp_seq=3 ttl=64 time=0.022 ms
                64 bytes from 172.16.1.1: icmp_seq=4 ttl=64 time=0.021 ms
                64 bytes from 172.16.1.1: icmp_seq=5 ttl=64 time=0.022 ms
                64 bytes from 172.16.1.1: icmp_seq=6 ttl=64 time=0.028 ms
                64 bytes from 172.16.1.1: icmp_seq=7 ttl=64 time=0.026 ms
                64 bytes from 172.16.1.1: icmp_seq=8 ttl=64 time=0.022 ms
                64 bytes from 172.16.1.1: icmp_seq=9 ttl=64 time=0.019 ms

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz Dec 16, 2018, 8:36 AM Dec 16, 2018, 8:30 AM

                  .02 to .04 ms??

                  WTF dude are you running? Never seen even lan ping times that low..

                  0.00003 seconds... Come on...

                  Are you pinging the boxes own IP? That is not really a test of network latency..
                  That is pfsense pinging itself.. Sure ok if that was high then something major wrong.. But that doesn't tell you how long it takes to get from pfsense to where your going and back ;)

                  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

                  H 1 Reply Last reply Dec 16, 2018, 8:28 PM Reply Quote 0
                  • N
                    Nthly
                    last edited by Nthly Dec 16, 2018, 8:37 AM Dec 16, 2018, 8:35 AM

                    yes. what should i ping? The problem is i do nto know which is the server i am connecting too...
                    That is why i wanted a monitoring tool so that i can check what the box connects to.
                    LOL, my bad, i am a bit unprepared. . .

                    1 Reply Last reply Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator
                      last edited by johnpoz Dec 16, 2018, 8:37 AM Dec 16, 2018, 8:36 AM

                      Ping the IP of the game server, ping pfsense IP from a device ON your network.. Not pfsense pinging itself ;)

                      Ping your isp gateway from device on your network... That would show you if pfsense slowing you down..

                      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
                      • N
                        Nthly
                        last edited by Dec 16, 2018, 8:38 AM

                        PING google.com (172.217.0.14): 56 data bytes
                        64 bytes from 172.217.0.14: icmp_seq=0 ttl=56 time=12.121 ms
                        64 bytes from 172.217.0.14: icmp_seq=1 ttl=56 time=13.553 ms
                        64 bytes from 172.217.0.14: icmp_seq=2 ttl=56 time=11.940 ms
                        64 bytes from 172.217.0.14: icmp_seq=3 ttl=56 time=12.815 ms
                        64 bytes from 172.217.0.14: icmp_seq=4 ttl=56 time=11.876 ms
                        64 bytes from 172.217.0.14: icmp_seq=5 ttl=56 time=11.871 ms
                        64 bytes from 172.217.0.14: icmp_seq=6 ttl=56 time=11.564 ms
                        64 bytes from 172.217.0.14: icmp_seq=7 ttl=56 time=14.100 ms
                        64 bytes from 172.217.0.14: icmp_seq=8 ttl=56 time=13.572 ms
                        64 bytes from 172.217.0.14: icmp_seq=9 ttl=56 time=12.026 ms

                        1 Reply Last reply Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator
                          last edited by johnpoz Dec 16, 2018, 8:41 AM Dec 16, 2018, 8:39 AM

                          Yeah that looks pretty typical.. and not bad..

                          That is some IP on the internet - is that your game server your playing on... That is pretty good to be honest..

                          That is a google IP ;)

                          Here is that IP from me

                          PING 172.217.0.14 (172.217.0.14) 56(84) bytes of data.
                          64 bytes from 172.217.0.14: icmp_seq=1 ttl=53 time=13.4 ms
                          64 bytes from 172.217.0.14: icmp_seq=2 ttl=53 time=12.0 ms
                          64 bytes from 172.217.0.14: icmp_seq=3 ttl=53 time=13.0 ms
                          64 bytes from 172.217.0.14: icmp_seq=4 ttl=53 time=11.5 ms
                          64 bytes from 172.217.0.14: icmp_seq=5 ttl=53 time=12.5 ms
                          64 bytes from 172.217.0.14: icmp_seq=6 ttl=53 time=12.9 ms
                          64 bytes from 172.217.0.14: icmp_seq=7 ttl=53 time=11.4 ms
                          64 bytes from 172.217.0.14: icmp_seq=8 ttl=53 time=10.6 ms
                          64 bytes from 172.217.0.14: icmp_seq=9 ttl=53 time=15.0 ms
                          64 bytes from 172.217.0.14: icmp_seq=10 ttl=53 time=13.7 ms
                          64 bytes from 172.217.0.14: icmp_seq=11 ttl=53 time=12.0 ms
                          64 bytes from 172.217.0.14: icmp_seq=12 ttl=53 time=11.4 ms
                          ^C
                          --- 172.217.0.14 ping statistics ---
                          12 packets transmitted, 12 received, 0% packet loss, time 11016ms
                          rtt min/avg/max/mdev = 10.667/12.495/15.031/1.167 ms
                          

                          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
                          • N
                            Nthly
                            last edited by Dec 16, 2018, 8:42 AM

                            no, i pinged google. I do not know the address of the server i play on, how can i find that out?

                            1 Reply Last reply Reply Quote 0
                            • J
                              johnpoz LAYER 8 Global Moderator
                              last edited by Dec 16, 2018, 8:42 AM

                              look in the game.. What is the FQDN of it - how do you connect to it? Look in pfsense for the connection to the port you use int he state table, etc.

                              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
                              • N
                                Nthly
                                last edited by Nthly Dec 16, 2018, 8:51 AM Dec 16, 2018, 8:46 AM

                                the xbox does not tell me where i am connected to unfortunately, i have to use PfSense for it, and i am not sure i know how....
                                Everything in Xbox is handled behind the hood. I just launch the game and the multplayer part is activated by default. I select matchmaking and the box handles the deal... but i fear that at times i may be connected quite far away, and that impacts a bit how the game plays.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by Dec 16, 2018, 8:51 AM

                                  So do you know what port(s) the game uses? Pretty sure you could look it up for firewall for the game... Then look in your state table for destination IPs going to those port(s)

                                  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
                                  • N
                                    Nthly
                                    last edited by Dec 16, 2018, 8:52 AM

                                    Sure,
                                    TCP: 53, 80, 3074
                                    UDP: 53, 88, 500, 3074, 3075, 3544, 4500

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      johnpoz LAYER 8 Global Moderator
                                      last edited by Dec 16, 2018, 8:55 AM

                                      Yeah some of those are BS.. 53 and 88..

                                      But ok look for some sates in your state table for say 3074 while playing the game..

                                      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
                                      • N
                                        Nthly
                                        last edited by Nthly Dec 16, 2018, 9:07 AM Dec 16, 2018, 9:01 AM

                                        Here are some,

                                        185.34.107.128:3074 outgoing
                                        184.155.109.165:3074 incoming
                                        99.45.180.232:3074 incoming

                                        Plus these
                                        172.16.1.10:3074 -> 13.89.46.200:3544
                                        13.89.46.201:3544 -> 172.16.1.10:3074

                                        Quite a few states have around 10 packets or just over it. some states have kbps.

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by Dec 16, 2018, 9:52 AM

                                          Great then ping those - what is the latency..

                                          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

                                          N 1 Reply Last reply Dec 17, 2018, 2:59 AM Reply Quote 0
                                          1 out of 25
                                          • First post
                                            1/25
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received