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

    An earnest appeal - please do fix APINGER in 2.2

    2.2 Snapshot Feedback and Problems - RETIRED
    29
    95
    29.7k
    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.
    • A
      athurdent
      last edited by

      Maybe this is something to consider: I never had any problems with my setup running NanoBSD for the last year. I switched to a full install recently (CF died, bought an SSD) and now I am seeing Packetloss steadily increasing for my HENet tunnel. 120% packetloss ATM, uptime of the firewall is 4 days. I am pinging the same IPv6 Host  via Smokeping from a Linux host behind the pfSense GW and the graphs look a little different. This is on 2.1.4, not on 2.2.

      Screenshot_1.png
      Screenshot_1.png_thumb
      status_rrd_graph_img.png
      status_rrd_graph_img.png_thumb
      tunnel-endpoint_last_864000.png
      tunnel-endpoint_last_864000.png_thumb

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

        I have this problem too.  Apinger reports that my WAN connection keeps going up and down several times every hour.  It started a few months ago.  I have not switched ISPs or anything.  I installed the latest snapshot (built on Mon Jul 28 12:22:20 CDT 2014) and still have the problem.

        I do not use multiple WANs.  Just one.

        1 Reply Last reply Reply Quote 0
        • R
          ridnhard19
          last edited by

          I had this same issue as well and ended up coding in the local/private cable modems IP address into the config (192.168.100.1) and that was the workaround I used. Doesnt do anything for monitoring the connection but it's not always bouncing the connection up and down.

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

            When you say "the config," do you mean the "Monitor IP"?  My config was monitoring the default gateway IP, which is on the cable modem and I still had the problem.

            1 Reply Last reply Reply Quote 0
            • G
              georgeman
              last edited by

              I don't think this is related to the main issue described here, but I have observed a similar behavior under high network load and while using the traffic shaper, because the ping probes are put on the default queue instead of the one specified by the floating rule on WAN that is supposed to handle the situation. Probably this happens because apinger starts before the firewall itself, since killing the related states makes them go into the correct queue immediately

              If it ain't broke, you haven't tampered enough with it

              1 Reply Last reply Reply Quote 0
              • N
                naras
                last edited by

                Issue still exsits in recent bulids in my testing enviroments.

                1 Reply Last reply Reply Quote 0
                • ?
                  Guest
                  last edited by

                  …and frequently results in tunnels (IPsec or openVPN) going down for no obvious reasons, except for apinger freakin' out.

                  I increased the times for apinger alarm significantly, that helps at least a little...

                  1 Reply Last reply Reply Quote 0
                  • S
                    Supermule Banned
                    last edited by

                    I dont have these problems at all running 40+ pfsenses….

                    I use traceroute to monitor the wanted IP upstream to decide if the GW is down.

                    All are stable currently running 0% packetloss..... No change from 2.0.X

                    I dont like the idea of monitoring other external hosts not in your upstream environment. That way you dont get a real picture of your GW status.

                    Capture.PNG
                    Capture.PNG_thumb

                    1 Reply Last reply Reply Quote 0
                    • Raul RamosR
                      Raul Ramos
                      last edited by

                      @Supermule:

                      I dont have these problems at all running 40+ pfsenses….

                      What's your config for WAN interfaces? I see allot of people write that have problems but doesn't put configs to help troubleshoot the problem.

                      Some times i have the problem in my multi-wan interface (PPPoE only config user and pass and a ppp (LTE) WAN only config default number). Don't see the problem when i disconnect my ppp.

                      pfSense:
                      ASRock -> Wolfdale1333-D667 (2GB TeamElite Ram)
                      Marvell 88SA8040 Sata to CF(Sandisk 4GB) Controller
                      NIC's: RTL8100E (Internal ) and Intel® PRO/1000 PT Dual (Intel 82571GB)

                      1 Reply Last reply Reply Quote 0
                      • S
                        Supermule Banned
                        last edited by

                        More or less the same for all 40+….

                        Capture.PNG
                        Capture.PNG_thumb

                        1 Reply Last reply Reply Quote 0
                        • N
                          naras
                          last edited by

                          @Supermule:

                          I use traceroute to monitor the wanted IP upstream to decide if the GW is down.

                          All are stable currently running 0% packetloss….. No change from 2.0.X

                          I dont like the idea of monitoring other external hosts not in your upstream environment. That way you dont get a real picture of your GW status.

                          Could you please tell us how to use traceroute to monitor the wanted IP upstream to decide if the GW is down?

                          Multi-wan with static IPs and different gateways within each wan subnets are stable at least in my tests,  but I use pppoe connections and we get the same gateway IP allmost all the times, so we have to set at least one monitor IP outside the wan subnet,  and this line with outside  monitor ip allways gets offline as the apinger reported, but the connection  functional as normal.

                          If there is another to monitor the gatwway, that really helps.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Supermule Banned
                            last edited by

                            http://ping.eu/traceroute/

                            Use the first one thats not in your WAN subnet.

                            1 Reply Last reply Reply Quote 0
                            • N
                              naras
                              last edited by

                              @Supermule:

                              http://ping.eu/traceroute/

                              Use the first one thats not in your WAN subnet.

                              It's not within pfsense, and not done  automaticly either?

                              1 Reply Last reply Reply Quote 0
                              • S
                                Supermule Banned
                                last edited by

                                I understand why you are confused…

                                I use traceroute to monitor the wanted IP upstream to decide if the GW is down.

                                I use traceroute to locate the IP to monitor and then use the built in GW monitor tool in PFSense.

                                Works fine here.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  naras
                                  last edited by

                                  @Supermule:

                                  I understand why you are confused…

                                  I use traceroute to monitor the wanted IP upstream to decide if the GW is down.

                                  I use traceroute to locate the IP to monitor and then use the built in GW monitor tool in PFSense.

                                  Works fine here.

                                  OK, I did that several months ago,  and with no use.
                                  The next hop routers are always outside my wan subnet:(

                                  Thanks anyway.

                                  1 Reply Last reply Reply Quote 0
                                  • dennypageD
                                    dennypage
                                    last edited by

                                    I've been running into quite a few problems with apinger in the 2.1 series with a simple single wan configuration.

                                    https://redmine.pfsense.org/issues/3692

                                    I was thinking that I would try to debug it and went looking for the source code to apinger but wasn't able to find it in the 2.1.5 main or packages. Can someone send me a pointer to it?

                                    Thanks

                                    1 Reply Last reply Reply Quote 0
                                    • bmeeksB
                                      bmeeks
                                      last edited by

                                      @dennypage:

                                      I've been running into quite a few problems with apinger in the 2.1 series with a simple single wan configuration.

                                      https://redmine.pfsense.org/issues/3692

                                      I was thinking that I would try to debug it and went looking for the source code to apinger but wasn't able to find it in the 2.1.5 main or packages. Can someone send me a pointer to it?

                                      Thanks

                                      The source code is in the pfsense-tools repo.  You must complete a couple of electronic documents in order to access it.  Access is controlled via SSH public keys.  It is based off the FreeBSD port here: http://www.freshports.org/net/apinger/

                                      Information on what is required to get access is posted in a Sticky Thread at the top of the Development sub-forum here: https://forum.pfsense.org/index.php?topic=76132.0.

                                      Bill

                                      1 Reply Last reply Reply Quote 0
                                      • dennypageD
                                        dennypage
                                        last edited by

                                        @bmeeks:

                                        The source code is in the pfsense-tools repo.  You must complete a couple of electronic documents in order to access it.  Access is controlled via SSH public keys.  It is based off the FreeBSD port here: http://www.freshports.org/net/apinger/

                                        Information on what is required to get access is posted in a Sticky Thread at the top of the Development sub-forum here: https://forum.pfsense.org/index.php?topic=76132.0.

                                        Thanks. I downloaded what I thought was the packages distribution from

                                        https://github.com/pfsense/pfsense-packages/releases/tag/RELENG_2_1_5

                                        but apinger wasn't in there. Is there a different repo?

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

                                          the packages repo is only for optional addons. (stuff that is not included in a base-install from CD)

                                          i believe bmeeks said in which repo you can find apinger, and how to access it

                                          1 Reply Last reply Reply Quote 0
                                          • bmeeksB
                                            bmeeks
                                            last edited by

                                            @heper:

                                            the packages repo is only for optional addons. (stuff that is not included in a base-install from CD)

                                            i believe bmeeks said in which repo you can find apinger, and how to access it

                                            Correct. It's in the pfsense-tools repo which is NOT hosted on Github directly.  It's hosted on a server operated by the pfSense team and you must follow the instructions in the link I posted above to gain access to the repo.

                                            Bill

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