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

"check_reload_status: syncing firewall" every 5 minutes in log

Scheduled Pinned Locked Moved General pfSense Questions
23 Posts 4 Posters 16.3k 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.
  • P
    Pontiac_CZ
    last edited by Jun 1, 2011, 5:47 AM

    This looks like a Microsoft support answer  ;) - but no offense, I understand it is quite complicated inside. It seems to me like there is some sort of a scheduled task reloading the firewall rules every five minutes that I accidentally set up and now don't know how.
    OK, I'll have to accept this behaviour or reinstall. Maybe I can put an article into Redmineโ€ฆ

    1 Reply Last reply Reply Quote 0
    • W
      wk
      last edited by Jun 1, 2011, 7:47 AM

      I have turned packet filtering off, but my log also shows this every 5 minutes.

      cu
      Walter

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Jun 1, 2011, 1:51 PM

        It's the most accurate answer anyone can give with the minimal information provided. GIGO. :-)

        If you have captive portal enabled, it may be related to something there.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • P
          Pontiac_CZ
          last edited by Jun 2, 2011, 5:44 AM

          Yes, I have the Captive portal enabled - this and DHCP server are the only services I work with. No VPNs, no packages.

          What about you, wk? Do you use CP as well?

          1 Reply Last reply Reply Quote 0
          • W
            wk
            last edited by Jun 3, 2011, 8:21 AM

            Yes.
            I only use CP. No other services, no other packages.

            cu
            Walter

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Jun 3, 2011, 11:45 AM

              Vouchers or no vouchers?

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • P
                Pontiac_CZ
                last edited by Jun 3, 2011, 11:53 AM Jun 3, 2011, 11:51 AM

                I do use vouchers. The rules still keep reloading every 5 minutes, days and nights, no matter if a voucher is active or not. (actually I mentioned this in my first post, but let's have it confirmed)
                wk?

                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Jun 3, 2011, 11:58 AM

                  Check the output of these two commands:

                  $ ps uxawww | grep minicron
                  $ cat /etc/crontab
                  

                  See what entries you have that might be executing every 5 minutes. (Though it could easily not be a cron jobโ€ฆ)

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • P
                    Pontiac_CZ
                    last edited by Jun 3, 2011, 12:06 PM

                    The first one:

                    
                    $ ps uxawww | grep minicron
                    root   27262  0.0  0.2  3316  1036  ??  Is   19May11   0:00.97 /usr/local/bin/minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
                    root   27584  0.0  0.2  3316  1036  ??  Is   19May11   0:00.07 /usr/local/bin/minicron 3600 /var/run/expire_accounts.pid /etc/rc.expireaccounts
                    root   27746  0.0  0.2  3316  1036  ??  Is   19May11   0:00.00 /usr/local/bin/minicron 86400 /var/run/update_alias_url_data.pid /etc/rc.update_alias_url_data
                    root   37975  0.0  0.3  3656  1476  ??  S     2:04PM   0:00.00 sh -c ps uxawww | grep minicron
                    root   38435  0.0  0.3  3524  1268  ??  S     2:04PM   0:00.00 grep minicron
                    root   58830  0.0  0.2  3316  1040  ??  Is   19May11   0:04.06 /usr/local/bin/minicron 60 /var/run/cp_prunedb.pid /etc/rc.prunecaptiveportal
                    root   59217  0.0  0.2  3316  1040  ??  Is   19May11   0:00.82 /usr/local/bin/minicron 300 /var/run/vouchercron.pid /etc/rc.savevoucher
                    
                    

                    and the other:

                    
                    $ cat /etc/crontab
                    SHELL=/bin/sh
                    PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
                    HOME=/var/log
                    #minute hour    mday    month   wday    who      command
                    #
                    #
                    # pfSense specific crontab entries
                    # Created: May 19, 2011, 7:50 am
                    #
                    
                    0	*	*	*	*	root	/usr/bin/nice -n20 newsyslog
                    1,31	0-5	*	*	*	root	/usr/bin/nice -n20 adjkerntz -a
                    1	3	1	*	*	root	/usr/bin/nice -n20 /etc/rc.update_bogons.sh
                    */60	*	*	*	*	root	/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 sshlockout
                    1	1	*	*	*	root	/usr/bin/nice -n20 /etc/rc.dyndns.update
                    */60	*	*	*	*	root	/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 virusprot
                    30	12	*	*	*	root	/usr/bin/nice -n20 /etc/rc.update_urltables
                    #
                    # If possible do not add items to this file manually.
                    # If you do so, this file must be terminated with a blank line (e.g. new line)
                    #
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • J
                      jimp Rebel Alliance Developer Netgate
                      last edited by Jun 3, 2011, 12:16 PM

                      If you run /etc/rc.savevoucher by hand, does it make that message appear in the logs? That appears to be the only thing running every five minutes.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • P
                        Pontiac_CZ
                        last edited by Jun 3, 2011, 12:54 PM

                        Ok, I sent the "/etc/rc.savevoucher" command to the pfSense box through "Execute Shell Command" field - but since then the system's been unresponsive (five minutes). Are you sure that was a good idea?  :)
                        I am awaiting a desperate call from my employer any minuteโ€ฆ

                        1 Reply Last reply Reply Quote 0
                        • W
                          wk
                          last edited by Jun 3, 2011, 1:00 PM

                          I'm using vouchers too.

                          I executed the command via ssh and it worked as jimp said.
                          The message appeares in the log.

                          cu
                          Walter

                          1 Reply Last reply Reply Quote 0
                          • W
                            wallabybob
                            last edited by Jun 3, 2011, 1:10 PM

                            I'm running captive portal and vouchers and I see those messages in the system log:

                            clog /var/log/system.log | grep syncing | more

                            May 28 18:38:38 pfsense2 check_reload_status: syncing firewall
                            May 28 18:43:42 pfsense2 check_reload_status: syncing firewall
                            May 28 18:48:45 pfsense2 check_reload_status: syncing firewall
                            May 28 18:53:48 pfsense2 check_reload_status: syncing firewall
                            May 28 18:58:51 pfsense2 check_reload_status: syncing firewall
                            May 28 19:03:55 pfsense2 check_reload_status: syncing firewall
                            May 28 19:08:59 pfsense2 check_reload_status: syncing firewall
                            May 28 19:14:02 pfsense2 check_reload_status: syncing firewall
                            May 28 19:19:06 pfsense2 check_reload_status: syncing firewall
                            May 28 19:24:09 pfsense2 check_reload_status: syncing firewall
                            May 28 19:29:13 pfsense2 check_reload_status: syncing firewall
                            May 28 19:34:15 pfsense2 check_reload_status: syncing firewall
                            May 28 19:39:19 pfsense2 check_reload_status: syncing firewall
                            May 28 19:44:22 pfsense2 check_reload_status: syncing firewall
                            May 28 19:49:25 pfsense2 check_reload_status: syncing firewall
                            May 28 19:54:28 pfsense2 check_reload_status: syncing firewall
                            May 28 19:59:32 pfsense2 check_reload_status: syncing firewall
                            May 28 20:04:35 pfsense2 check_reload_status: syncing firewall
                            May 28 20:09:38 pfsense2 check_reload_status: syncing firewall
                            May 28 20:14:42 pfsense2 check_reload_status: syncing firewall
                            May 28 20:19:46 pfsense2 check_reload_status: syncing firewall
                            May 28 20:24:49 pfsense2 check_reload_status: syncing firewall
                            May 28 20:29:52 pfsense2 check_reload_status: syncing firewall
                            May 28 20:34:55 pfsense2 check_reload_status: syncing firewall
                            May 28 20:39:58 pfsense2 check_reload_status: syncing firewall
                            May 28 20:45:01 pfsense2 check_reload_status: syncing firewall
                            May 28 20:50:04 pfsense2 check_reload_status: syncing firewall
                            May 28 20:55:08 pfsense2 check_reload_status: syncing firewall
                            May 28 21:00:11 pfsense2 check_reload_status: syncing firewall
                            . . .

                            On my other pfSense system where I'm not running captive portal:

                            clog /var/log/system.log | grep syncing | more

                            uname -a

                            FreeBSD pfsense.example.org 8.1-RELEASE-p3 FreeBSD 8.1-RELEASE-p3 #1: Sat May 21 21:30:20 EDT 2011     sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense.8  i386

                            uptime

                            11:09PM  up 8 days, 14:54, 2 users, load averages: 0.15, 0.10, 0.07

                            I'm running the same pfSense build on both systems.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jimp Rebel Alliance Developer Netgate
                              last edited by Jun 3, 2011, 1:11 PM

                              So mystery solved. It's the voucher saving process every five minutes causing the log message.

                              It's also writing out the config every five minutes in that case, too, so I imagine that your backup history under Diagnostics > Backup/Restore is quite useless.

                              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              1 Reply Last reply Reply Quote 0
                              • W
                                wk
                                last edited by Jun 3, 2011, 1:38 PM

                                Jimp,

                                you are right. The Config History also tells every 5 minutes: (system): made unknown change

                                Thanks for helping.

                                cu
                                Walter

                                1 Reply Last reply Reply Quote 0
                                • P
                                  Pontiac_CZ
                                  last edited by Jun 3, 2011, 1:48 PM

                                  Well, does that mean something for devs? Do you consider that bug? May we look forward to this to be fixed in the post-RC version?  :)

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by Jun 3, 2011, 1:55 PM

                                    If you enable the voucher save feature, it will always happen. You can change how often this happens in the voucher config options.

                                    Without saving the vouchers periodically, a sudden reboot would lose voucher usage data.

                                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      wk
                                      last edited by Jun 3, 2011, 2:01 PM

                                      jimp,

                                      the text in the gui tells: 'No save is done if no new vouchers have been activated.'

                                      There are no new vouchers or active vouchers.

                                      cu
                                      Walter

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by Jun 3, 2011, 2:07 PM

                                        I don't see any checks to prevent that write in the backend code. The function called writes the db out whenever it's called. Perhaps that was intended to be added later.

                                        https://github.com/bsdperimeter/pfsense/blob/master/etc/inc/voucher.inc#L622

                                        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          Pontiac_CZ
                                          last edited by Jun 7, 2011, 9:32 AM

                                          Maybe. But right now we consider this a little bug, right? So I created a new issue in Redmine. Thank you guys for your cooperation.  :)

                                          1 Reply Last reply Reply Quote 0
                                          22 out of 23
                                          • First post
                                            22/23
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received