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

    UPNP broken on 21.05?

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    21 Posts 6 Posters 2.0k 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
      behemyth
      last edited by behemyth

      Prior to upgrading I never had any issues, but ever since this upgrade my logs are filled with the following:

      Jun 15 16:31:36 miniupnpd 98249 Listening for NAT-PMP/PCP traffic on port 5351
      Jun 15 16:32:30 miniupnpd 98249 could not find redirect rule to delete eport=3074
      Jun 15 16:33:41 miniupnpd 98249 ioctl(dev, DIOCGETADDRS, ...): Device busy
      Jun 15 16:33:41 miniupnpd 98249 ioctl(dev, DIOCGETADDRS, ...): Device busy
      Jun 15 16:33:47 miniupnpd 98249 ioctl(dev, DIOCGETADDRS, ...): Device busy
      Jun 15 16:33:47 miniupnpd 98249 ioctl(dev, DIOCGETADDRS, ...): Device busy
      Jun 15 16:33:48 miniupnpd 98249 ioctl(dev, DIOCGETADDRS, ...): Device busy

      The error about port 3074 is of my xboxes. If I want an open NAT, I have to flip the port every time I turn my xbox on. Otherwise it stays moderate. This was working fine before the upgrade.

      I also see this constantly:

      Jun 15 16:31:36 miniupnpd 98249 setsockopt(udp, IPV6_RECVPKTINFO): Invalid argument

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @behemyth
        last edited by

        on a 3100?
        https://redmine.pfsense.org/issues/11995

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        B 1 Reply Last reply Reply Quote 0
        • B
          behemyth @SteveITS
          last edited by

          @steveits Yep, that would be my problem. Is there an ETA for when this will get fixed? I have to imagine this is a huge problem for a lot of people. I work in Networking so I can build port-forwards, but I have to imagine there are a lot of people that don't know how, or don't want to.

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

            Yup, I'm seeing the same thing. Disappointing after spending 400 bucks on the appliance only to no longer be able use this basic feature...... :(

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

              I merged together two threads about this since it's the same issue for both.

              We are aware and have been actively working on solving this and other SG-3100 issues.

              For those who are affected, was this working on 21.02.2?

              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!

              B 1 Reply Last reply Reply Quote 0
              • B
                behemyth @jimp
                last edited by

                @jimp Yes. I had UPnP sessions on 21.02.2.

                When I upgraded to 21.05 it stopped working.

                1 Reply Last reply Reply Quote 0
                • B
                  behemyth @bcodd
                  last edited by

                  @bcodd Just make manual port forwards. It's pretty simple using the GUI. I manually port forwarded my Xbox and its been working fine.

                  You'd be pretty surprised how much stuff doesn't need UPnP. I disabled the service and now all my iphones currectly use wifi calling too.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdm900 @behemyth
                    last edited by

                    I think this is causing my SG1000 router to hang...

                    https://forum.netgate.com/topic/164877/router-hanging-after-21-05-upgrade

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

                      It looks like this may be from a change in the FreeBSD kernel between versions that required a new build of miniupnpd, but the version number of miniupnpd didn't increase so it didn't get reinstalled.

                      You should be able to fix this with:

                      killall -9 miniupnpd
                      pkg upgrade -fy miniupnpd
                      

                      And then click Save on the miniupnpd settings. Or run the pkg command and reboot.

                      See also: https://redmine.pfsense.org/issues/11995#note-4

                      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!

                      S 1 Reply Last reply Reply Quote 3
                      • S
                        sdm900 @jimp
                        last edited by

                        @jimp Appears to be working :) I have now got rules being created.

                        It'll be interesting to see if my router hangs in a few days time.

                        Thanks.

                        S 1 Reply Last reply Reply Quote 1
                        • S
                          sdm900 @sdm900
                          last edited by

                          there still appears to be a problem.

                          miniupnpd is still using a LOT of cpu time - doing AFAIK nothing.

                          I restart it and everything goes back to normal.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            behemyth @sdm900
                            last edited by

                            @sdm900 Are you running 21.05 or 21.09?

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sdm900 @behemyth
                              last edited by

                              @behemyth

                              Version 21.05-RELEASE (arm)
                              built on Tue Jun 01 16:52:45 EDT 2021
                              FreeBSD 12.2-STABLE

                              The system is on the latest version.
                              Version information updated at Fri Jul 9 10:34:51 AWST 2021

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

                                I can't reproduce any problem like that here, where I could easily reproduce the error before.

                                If you haven't yet, after you have updated miniupnpd manually as described above, reboot the router to ensure the correct copy is the only one being used.

                                It's also possible there is a lot of local traffic hitting UPnP/NAT-PMP and it's just busy at the time you noticed it.

                                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
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.