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

    Bogons MD5 mismatch

    General pfSense Questions
    9
    18
    4.6k
    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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Looks like it was ok then got updated again and it broke. I fixed it once againโ€ฆ

      mirrors # md5 bogon-bn-nonagg.txt
      MD5 (bogon-bn-nonagg.txt) = 56e6e1dc1a64807eba49f98167fb0112
      mirrors # cat bogon-bn-nonagg.txt.md5
      MD5 (bogon-bn-nonagg.txt) = 56e6e1dc1a64807eba49f98167fb0112

      Problem seems to be the upstream copy has rfc1918 nets in it, and we don't want that. I thought we stripped them out automatically when updating that list but I'm not seeing that happen, it's just pulling it down as-is.

      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
      • D
        dhatz
        last edited by

        Running the script manually I get an error:

        /etc/rc.update_bogons.sh: 28: Syntax error: "fi" unexpected (expecting "then")

        Seems to be missing a then at the end of line 25

        Add: Using 2.1-DEVEL 2-May-2012

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Fixed that, too

          https://github.com/bsdperimeter/pfsense/commit/331103ae15e535f6e35145c310063298903b71c9

          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
          • N
            Nachtfalke
            last edited by

            Hi,

            I am running pfsense 2.0.1
            Does this patch only apply if I gitsync or use the System Patches package ?

            Thanks

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              That code only affected 2.1/master.

              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
              • N
                Nachtfalke
                last edited by

                @jimp:

                That code only affected 2.1/master.

                But I have the same problem on 2.0.1 ? So does this mean there is nothing I can do now ?! I am not sure if I understand you correct.

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  The code I fixed in the commit right before your post was only ever on 2.1. The code itself is fine in 2.0.x. There is nothing to patch there.

                  If it's saying the bogon md5 doesn't match again I'll have to fix it on the server

                  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
                  • N
                    Nachtfalke
                    last edited by

                    Hi,

                    2.0.1-RELEASE (i386) built on Mon Dec 12 18:24:17 EST 2011

                    May 11 00:38:28 	root: rc.update_bogons.sh is sleeping for 13413
                    May 11 00:38:28 	root: rc.update_bogons.sh is starting up.
                    May 11 00:38:28 	root: rc.update_bogons.sh is ending the update cycle.
                    May 11 00:38:28 	root: Could not download http://files.pfsense.org/mirrors/bogon-bn-nonagg.txt.md5 (md5 mismatch)
                    May 11 00:38:27 	root: rc.update_bogons.sh is beginning the update cycle.
                    May 10 23:46:28 	root: rc.update_bogons.sh is sleeping for 3081
                    May 10 23:46:28 	root: rc.update_bogons.sh is starting up.
                    May 10 23:46:28 	root: rc.update_bogons.sh is ending the update cycle.
                    May 10 23:46:28 	root: Could not download http://files.pfsense.org/mirrors/bogon-bn-nonagg.txt.md5 (md5 mismatch)
                    May 10 23:46:27 	root: rc.update_bogons.sh is beginning the update cycle.
                    
                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      I checked the file again this morning and it did match for me.

                      May 11 14:51:08 	root: rc.update_bogons.sh is starting up.
                      May 11 14:51:08 	root: rc.update_bogons.sh is beginning the update cycle.
                      May 11 14:51:08 	root: Bogons file downloaded: no changes.
                      May 11 14:51:08 	root: rc.update_bogons.sh is ending the update cycle.
                      

                      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
                      • F
                        feadin
                        last edited by

                        Works fine for me too, md5 is fixed now.

                        1 Reply Last reply Reply Quote 0
                        • I
                          iyanchevgtbuglaria.com
                          last edited by

                          Hi
                          it started to give the same error, on my server:

                          Jun 13 09:38:59 root: rc.update_bogons.sh is sleeping for 22889
                          Jun 13 09:38:59 root: rc.update_bogons.sh is starting up.
                          Jun 13 09:38:59 root: rc.update_bogons.sh is ending the update cycle.
                          Jun 13 09:38:59 root: Could not download http://files.pfsense.org/mirrors/bogon-bn-nonagg.txt.md5 (md5 mismatch)

                          I'm running the latest version of pfsense!

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

                            Hello,

                            I got this in syslog:

                            Jun 27 07:28:19 	root: rc.update_bogons.sh is sleeping for 33512
                            Jun 27 07:28:19 	root: rc.update_bogons.sh is starting up.
                            Jun 27 07:28:19 	root: rc.update_bogons.sh is ending the update cycle.
                            Jun 27 07:28:19 	root: Could not download http://files.pfsense.org/mirrors/bogon-bn-nonagg.txt.md5 (md5 mismatch)
                            Jun 27 07:28:18 	root: rc.update_bogons.sh is beginning the update cycle.
                            Jun 26 18:54:29 	root: rc.update_bogons.sh is sleeping for 44603
                            Jun 26 18:54:29 	root: rc.update_bogons.sh is starting up.
                            Jun 26 18:54:29 	root: rc.update_bogons.sh is ending the update cycle.
                            Jun 26 18:54:29 	root: Could not download http://files.pfsense.org/mirrors/bogon-bn-nonagg.txt.md5 (md5 mismatch)
                            Jun 26 18:54:29 	root: rc.update_bogons.sh is beginning the update cycle.
                            

                            2.0.1-RELEASE (i386)
                            built on Mon Dec 12 18:24:17 EST 2011
                            FreeBSD 8.1-RELEASE-p6

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