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

    How to troubleshoot - lost packets.

    Scheduled Pinned Locked Moved General pfSense Questions
    25 Posts 8 Posters 2.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.
    • B
      bobbenheim
      last edited by

      Can you try This and see if it makes a difference, it had apparently fixed it for others with a similar problem as yours.

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

        Pretty sure aliases default update every 300 seconds, 5 minutes.. Not 15 - so some edit would of had to have been done if your saying that is running every 15 minutes.

        Where are you seeing that filterdns would run every 15 minutes exactly?

        Example - here is mine, shows it would run every 300 seconds (5 minutes)

        [2.4.5-RELEASE][admin@sg4860.local.lan]/: ps x | grep filterdns
        10747  -  Is       0:00.00 /usr/local/sbin/filterdns -p /var/run/filterdns.pid -i 300 -c /var/etc/filterdns.conf -d 1
        

        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.8, 24.11

        G 1 Reply Last reply Reply Quote 0
        • G
          geyser @johnpoz
          last edited by

          Another update :-(

          I removed ALL aliases and all rules that used them.

          Top of the hour came around, same issue. CPU spike and packet loss.

          However, there is no longer any entry under the system logs > DNS resolver

          Which I guess is to be expected, because I removed all aliases.

          Apparently my issue was not related to the aliases.

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

            @geyser said in How to troubleshoot - lost packets.:

            there is no longer any entry under the system logs > DNS resolver

            What was this entry exactly?

            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.8, 24.11

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

              Well, @johnpoz is correct. The filterdns cron task should normally run every 5 minutes and not every 15 minutes.

              Also, the amount of alias "work" you mentioned should be trivial. The other folks having issues had very large alias lists.

              1 Reply Last reply Reply Quote 0
              • G
                geyser @johnpoz
                last edited by

                @johnpoz The system log was showing stuff like this:

                Apr 8 22:30:54 filterdns Adding Action: pf table: sample_network host: 123.145.151.118
                Apr 8 22:30:54 filterdns Adding Action: pf table: sample_network host: 123.145.151.117
                Apr 8 22:30:54 filterdns Adding Action: pf table: sample_network host: 123.145.151.116
                Apr 8 22:30:54 filterdns Adding Action: pf table: sample_network host: 123.145.151.115
                Apr 8 22:30:54 filterdns Adding Action: pf table: sample_network host: 123.145.151.114
                Apr 8 22:30:54 filterdns Adding Action: pf table: sample_network host: dyn.example.com
                Apr 8 22:30:54 filterdns merge_config: configuration reload

                I was attracted to it, because it runs every 15 minutes. After removing the aliases these entries are gone but the problem persists.

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

                  There is nothing in your system log?

                  So your sure its pfsense - and could not be infrastructure going to pfsense.. Can you plug something directly into pfsense port, and get a running ping going?

                  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.8, 24.11

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    geyser @johnpoz
                    last edited by

                    @johnpoz Nope, nothing with any frequency.

                    Under general there are normal looking entries, like dyndns triggering etc. Nothing with any 15 minute frequency.

                    Under gateways, no entry for days.

                    Routing, nothing at all.

                    Nothing under any system logs tabs contain anything that occurs every 15 minutes that I can find.

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

                      When in doubt... roll back.

                      I could not easily find a previous version of pfSense, seems they don't like to allow those.

                      I got out my old APU box (vs the APU2) which is running build 2.3.5-RELEASE-p2 and it works perfectly. No packet-loss or issues at all.

                      1 Reply Last reply Reply Quote 0
                      • jnorellJ
                        jnorell
                        last edited by

                        I don't know if it helps, but we have the same symptoms here, showing up recently, and I updated to 2.4.5 not too long ago (updated packages more recently). The system setup is surely very different, but it seems it only happens for us when pfblockerNG-devel is enabled; I can in fact reproduce it at will by doing a Status > Filter Reload. With pfblockerNG-devel disabled, the manual filter reload does not have issue and the every-15-minute issue is gone as well.

                        Perhaps it's reproducible for someone else who can track the issue down as well.

                        1 Reply Last reply Reply Quote 0
                        • 1
                          1-21Giggawatts
                          last edited by 1-21Giggawatts

                          I am having exactly the same symptoms - I was not sure what was going - whether it was my machine or my network or the firewall. I used ping plotter to determine it was the pfsense firewall - including its LAN interface which was dropping packets for a few seconds on regular(ish) intervals. Been causing havoc while I work from home, voip calls dropping - vpn disconnecting.

                          I removed all unneeded packages from my install running version 2.4.5- other than snort security 3.2.9.11 and nmap security 1.4.4_1. Still happening. I disabled snort on my internal interface - still happens. Checked all of the system logs but nothing correlates with the drops. I replaced the cabling - although i could not see any crc or interface errors on my switchports. Nothing has fixed it yet.

                          Would LOVE for this to be rectified - as i am considering moving to another device if I cant get this fixed :-(

                          1 Reply Last reply Reply Quote 0
                          • 1
                            1-21Giggawatts
                            last edited by

                            Im wondering if this is a driver issue - im very new to linux im afraid is there anyway I can tell which drivers i have installed?

                            JKnottJ 1 Reply Last reply Reply Quote 0
                            • JKnottJ
                              JKnott @1-21Giggawatts
                              last edited by

                              @1-21Giggawatyts

                              PfSense runs on FreeBSD, not Linux.

                              PfSense running on Qotom mini PC
                              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                              UniFi AC-Lite access point

                              I haven't lost my mind. It's around here...somewhere...

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

                                I had a exact same issue where i had packet loss every 15 minute. I solved it by stopping to use Firewall Schedule.

                                What gave it away was this in the config history
                                (system): Removed 15 minute filter reload for Time Based Rules

                                So I removed the Firewall schedule from the firewall rule and everything is back to normal again.

                                1 Reply Last reply Reply Quote 0
                                • 1
                                  1-21Giggawatts @JKnott
                                  last edited by

                                  @JKnott I had a look but I have no firewall schedules defined. Im at risk of hijackingnthis thread so rather than take over from the OP's questions and answers i will start another thread - i just wanted to say I am also having very similar issues.

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

                                    Thought I would post an update. It has been months since I started this thread, with our friend COVID in town and everyone online, bringing the Internet down makes me very unpopular.

                                    Back on April 10, I rolled back to my old hardware. It was running v2.3.5-RELEASE-p2. From April 10 until today (June 28) it has worked perfectly. Never a glitch.

                                    Today the family went out, so I took the opportunity to try switching hardware again.

                                    I made a fresh backup of my v2.3.5-RELEASE-p2 that was running.

                                    I see there has been a new release of PFSense, so I downloaded v2.4.5-RELEASE-p1 and installed it on my new box.

                                    Restored the backup and everything is running perfectly. No packet loss every 15 minutes.

                                    I looked at the release notes for 2.4.5-p1 and don't see anything that jumps out at me.

                                    Guess I will never know what the true cause of the problem was, but glad to have my new hardward back in place without any packet loss as my old hardware could was limiting my connection speeds.

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