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

    HEADS UP: Updated OpenVPN Client Export package 1.2.5 for Heartbleed fix

    OpenVPN
    9
    24
    8.2k
    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

      There are other threads discussing that, this is just for the client export.

      In short: There is also OpenSSL 1.0.1 under /usr/local/ and that is used for OpenVPN and others and that is vulnerable. It's not the end of the world unless you have things configured insecurely to begin with.

      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
      • K
        kejianshi
        last edited by

        Ah - So it is the end of the world after all.
        Thanks.

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

          Tried to install the 1.2.5 package

          pbi_add: Invalid file for usercheck!
          of zip-3.0-amd64.pbi p7zip-9.20.1-amd64 failed!

          Installation aborted.Removing package…

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            Must be just an issue with the 64-bit version.
            OpenVPN Client Export 1.2.5 has installed fine on my 32-bit pfSense 2.1.2-RELEASE

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              I guess it wasn't the end of the world…  :o

              I just hope someone didn't save 2+ years of the entire world's web traffic on a fat HDD to play back at their whim...

              Noooooooooo biggie...Ā  Ā  :-\

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

                @Jbmeth007:

                Tried to install the 1.2.5 package

                pbi_add: Invalid file for usercheck!
                of zip-3.0-amd64.pbi p7zip-9.20.1-amd64 failed!

                Installation aborted.Removing package…

                We're aware of that and working on a fix, I'll bump the version again once it's confirmed. It happened to one of mine on a 32-bit install also. Not certain why it's inconsistent but we have a potential fix in the works.

                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
                • V
                  vitek
                  last edited by

                  Is there a way to filter so no older versions of the clients are able to connect to the server?

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

                    Not that I'm aware of, at least not easily.

                    You might have one of the openvpn scripts that runs on connect dump all of $_ENV somewhere to see if the client version is passed to the server. If so a check could be coded in.

                    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
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      OK I'm not sure why/how but that usercheck error isn't actually from the PBI installing wrong or a problem with the PBI, it's something about the local filesystem still having some files left over from p7zip somehow.

                      This cleared it up for me (from the shell):

                      fetch https://files.pfsense.org/packages/8/All/p7zip-9.20.1-i386.pbi
                      rm -rf /var/db/pbi/installed/p7zip-9.20.1-i386/
                      pbi_add -f --no-checksig p7zip-9.20.1-i386.pbi
                      

                      If you're on amd64:

                      fetch https://files.pfsense.org/packages/amd64/8/All/p7zip-9.20.1-amd64.pbi
                      rm -rf /var/db/pbi/installed/p7zip-9.20.1-amd64/
                      pbi_add -f --no-checksig p7zip-9.20.1-amd64.pbi
                      

                      And then I could reinstall the package from the GUI OK.

                      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
                      • J
                        Jbmeth007
                        last edited by

                        Interesting, i see the theory in this.

                        I'll try when i am local and let you know the outcome.

                        1 Reply Last reply Reply Quote 0
                        • P
                          pdrass
                          last edited by

                          This isn't working for me.Ā  I've tried your solution but it's just not working.Ā  From the command line is says success but from the GUI this is the result:


                          :1
                          Beginning package installation for OpenVPN Client Export Utility .
                          Downloading package configuration file… done.
                          Saving updated package information... done.
                          Downloading OpenVPN Client Export Utility and its dependencies...
                          Checking for package installation...
                          Downloading https://files.pfsense.org/packages/8/All/zip-3.0-i386.pbi ...Ā  [ repository]
                          (extracting)

                          Downloading https://files.pfsense.org/packages/8/All/p7zip-9.20.1-i386.pbi …  [ repository]
                          (extracting)
                          Loading package configuration… done.
                          Configuring package components...
                          Additional files... openvpn-client-export.tgz failed.
                          Removing package...
                          Starting package deletion for zip-3.0-i386...done.
                          Starting package deletion for p7zip-9.20.1-i386...done.
                          Removing OpenVPN Client Export Utility components...
                          Tabs items... done.
                          Loading package instructions...
                          Deinstall commands... done.
                          Removing package instructions...done.
                          Auxiliary files... done.
                          Package XML... done.
                          Configuration... done.
                          done.
                          Failed to install package.

                          Installation halted.


                          :2

                          Shell:

                          I have to first use this command:Ā  /etc/rc.conf_mount_rw

                          • Puts it into read / write otherwise I get a "read only" error.

                          /etc/rc.conf_mount_rw

                          fetch https://files.pfsense.org/packages/8/All/p7zip-9.20.1-i386.pbi
                          p7zip-9.20.1-i386.pbiĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  100% ofĀ  965 kBĀ  436 kBps

                          rm -rf /var/db/pbi/installed/p7zip-9.20.1-i386/

                          pbi_add -f –no-checksig p7zip-9.20.1-i386.pbi
                          Verifying Checksum...OK
                          Extracting to: /usr/pbi/p7zip-i386
                          Installed: p7zip-9.20.1


                          :3

                          I then go back to the GUI:

                          System > Packages > OpenVPN Client Export Utility > + > Confirm >

                          Scroll back up to ":1" in this post.

                          …Failed to install package.

                          Installation halted.


                          Sigh…no OpenVPNĀ  :(

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

                            You're getting a different error than others.

                            Additional files... openvpn-client-export.tgz failed.
                            

                            In that step, it's trying to fetch https://files.pfsense.org/packages/openvpn-client-export/openvpn-client-export.tgz

                            The file is there and downloads OK for me. If it doesn't for you, there could be something else blocking it (proxy, IDS/IPS, etc). It is a compressed file that contains windows executables and some IDS signatures would match that.

                            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
                              pdrass
                              last edited by

                              I saw your same answer on another post and I just can't believe that.Ā  So, what I did was MANUALLY make the calls and this is where I'm at - the packages are fetched.Ā  I suspect it's having a difficult time actually extracting the packages where they go.


                              [2.1.2-RELEASE][root@pfs1.somedomain.local]/root(5): mount -o rw /dev/ufs/pfsense0

                              [2.1.2-RELEASE][root@pfs1.somedomain.local]/root(7): cd tmp

                              [2.1.2-RELEASE][root@pfs1.somedomain.local]/root/tmp(8): ls
                              apkg_iperf-2.0.5-i386.pbiĀ  apkg_zip-3.0-i386.pbi
                              apkg_p7zip-9.20.1-i386.pbi

                              [2.1.2-RELEASE][root@pfs1.somedomain.local]/root/tmp(9): fetch https://files.pfsense.org/packages/openvpn-client-export/openvpn-client-export.tgz
                              openvpn-client-export.tgzĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  100% of 3778 kBĀ  438 kBps

                              [2.1.2-RELEASE][root@pfs1.somedomain.local]/root/tmp(10): ls
                              apkg_iperf-2.0.5-i386.pbiĀ  apkg_zip-3.0-i386.pbi
                              apkg_p7zip-9.20.1-i386.pbi openvpn-client-export.tgz


                              So, now that we've established no proxies or antivirus scanners upstream are blocking anything what now?

                              Can I install it manually?

                              • By the way, I'm on the embedded 32 bit version on an ALIX board with 3 ports wan,lan, opt.Ā  Not sure it matters BUT I saw a post that one user posted saying not all packages on the web ui can be installed on embedded boxes:

                              https://forum.pfsense.org/index.php?topic=12995.0

                              Is that possibly my problem?Ā  Do I need to trick the system into thinking it's not the embedded version then flip it back after the install?

                              • Note:Ā  32 bit ALIX board install here
                                ** Note:Ā  I imported the config from a PC, I'm going to setup a brand new ALIX, same everything but a fresh install, re-setup manually with NO import.Ā  I think the import dirtied up the config even though other packages like iperf seem to install, openvpn-export-utility doesn't seem to be installing, probably because it does more complex things than iperf eh?

                              I'll update the post with my results.

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

                                @pdrass:

                                • By the way, I'm on the embedded 32 bit version on an ALIX board with 3 ports wan,lan, opt.Ā  Not sure it matters BUT I saw a post that one user posted saying not all packages on the web ui can be installed on embedded boxes:

                                https://forum.pfsense.org/index.php?topic=12995.0

                                Is that possibly my problem?Ā  Do I need to trick the system into thinking it's not the embedded version then flip it back after the install?

                                Can'tĀ  be. The OpenVPN Client Export package installs perfectly on NanoBSD boxes. I have several of them.
                                Do you have enough free disk space?

                                1 Reply Last reply Reply Quote 0
                                • P
                                  phil.davis
                                  last edited by

                                  • By the way, I'm on the embedded 32 bit version on an ALIX board with 3 ports wan,lan, opt.Ā  Not sure it matters BUT I saw a post that one user posted saying not all packages on the web ui can be installed on embedded boxes:

                                  https://forum.pfsense.org/index.php?topic=12995.0

                                  Is that possibly my problem?Ā  Do I need to trick the system into thinking it's not the embedded version then flip it back after the install?

                                  OpenVPN Client Export Utility is a properly supported package on nanoBSD "embedded". There should be no need to trick the system into anything here. In fact, the available packages list on nanoBSD webGUI already has the unsupported packages filtered out.

                                  Sorry, I have no clue what is the cause of your problem - I have installed this package on at least 4 32 bit Alix system running 2.1.2 with no trouble.

                                  As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                                  If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

                                    Is the file correct?

                                    SHA256 (openvpn-client-export.tgz) = 288fe93bf33c596019b1dddf5400e49a8018457328ad0530df3a2a924a52fda1

                                    If so, then it may be a disk space issue or similar. I have yet to see it fail on any other installation.

                                    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
                                      pdrass
                                      last edited by

                                      FYI - my problem was fixed by doing a clean install.Ā  I would think the backup and restore function in PFSense would be hardware agnostic but there must be something in there that's hardware specific thus taking the settings from a full intel pc to an alix board something was lost in translation.Ā  Whatever it was broke the package installation for openvpn.

                                      Weird, good thing I had a spare system on me ;-)

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        breusshe
                                        last edited by

                                        @jimp:

                                        If you're on amd64:

                                        fetch https://files.pfsense.org/packages/8/All/p7zip-9.20.1-amd64.pbi
                                        rm -rf /var/db/pbi/installed/p7zip-9.20.1-amd64/
                                        pbi_add -f --no-checksig p7zip-9.20.1-amd64.pbi
                                        

                                        Need to update the amd64 instructions because the fetch path was not correct:

                                        fetch https://files.pfsense.org/packages/amd64/8/All/p7zip-9.20.1-amd64.pbi
                                        rm -rf /var/db/pbi/installed/p7zip-9.20.1-amd64/
                                        pbi_add -f --no-checksig p7zip-9.20.1-amd64.pbi
                                        

                                        I've used the above steps on my amd64 setup and they work once the URL path in the fetch command is corrected.

                                        –
                                        Brett Ussher

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

                                          Thanks. I fixed my earlier post.

                                          The URLs were right on the doc wiki though:
                                          https://doc.pfsense.org/index.php/Pbi_add:_Invalid_file_for_usercheck

                                          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
                                          • J
                                            Jamerson
                                            last edited by

                                            I've updated my current version, now it shows 1.2.8 !
                                            but the post is about 1.2.5 is between the time been a new release?

                                            thank you

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