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

UPnP support

Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
363 Posts 28 Posters 438.5k 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.
  • N
    nsumner
    last edited by Aug 18, 2006, 1:22 PM

    I just re-downloaded the miniupnpd and updated all the other file (the only one that seems update was pfsense-utils.inc. UPNP now appears to be 100% broken… Using Utorrent the port is not forwarding and nothing is showing up in the system logs. As well when I run upnptest.exe I get nothing in the logs etc.

    1 Reply Last reply Reply Quote 0
    • D
      databeestje
      last edited by Aug 18, 2006, 1:50 PM

      reboot

      1 Reply Last reply Reply Quote 0
      • N
        nsumner
        last edited by Aug 18, 2006, 1:53 PM

        Give me some credit. I did. I also tried disabling a re-enabling UPNP both before and after I reboot.

        1 Reply Last reply Reply Quote 0
        • D
          databeestje
          last edited by Aug 18, 2006, 2:12 PM

          I can't smell that from here :-)

          Anyhoo. I have updated all the files directly from my testbox where everything appears to work.

          so that is pfsense-utils.inc, system.inc, rc.bootup and miniupnpd.

          Perhaps the patches from RC2e affected this.

          Also check with ps auxw|grep mini if it is actually running.
          If the miniupnpd binary is not executable it will not start.

          1 Reply Last reply Reply Quote 0
          • Z
            ZPrime
            last edited by Aug 18, 2006, 3:29 PM

            I have an original Xbox i could probably send to you, but it's useless without an Xbox Live account (which you'd have to pay for).  The 360, on the other hand, comes with basic Live functionality "for free" which would allow you to test fully.  It even has a nice "live connectivity test" that will show you what it thinks about your router - if it can't establish UPnP port mappings properly the page will never show "open" for the router (and the Xbox will never be able to properly host a session).

            Dead Rising is nearly worth the cost of a 360 by itself though.  :D  That + Project Gotham 3 + Halo 3 (coming eventually) are enough to push any moderate gamer into buying one.  ;D

            I'll get you a packet capture as soon as I can, and I'll update to the latest "release" first.  What files have you changed since yesterday?  I just installed yesterday and I don't see any point to overwriting everything if there are only 2 files I need.

            Also, as a good-faith gesture, I'm going to send you $50 paypal now since we do have something working.  Just want to insure you (and the rest of the site) that I'm not a deadbeat when it comes to bounties.

            1 Reply Last reply Reply Quote 0
            • D
              databeestje
              last edited by Aug 18, 2006, 6:37 PM

              I can confirm that Utorrent and MSN do not like to talk too upnpd.

              The author of that program is 2 weeks on vacation. So I'm not sure I can fix that quickly.

              I am still wondering why something like azureus "just works" and other programs have issues.

              I have just done a bid on a xbox with a couple of games for 75 euro closeby. That would help me at least.
              And I have not played Halo 2 either :-)

              1 Reply Last reply Reply Quote 0
              • D
                databeestje
                last edited by Aug 18, 2006, 8:02 PM

                Poking at it some more found some issues. I now got utorrent opening a port and MSN attempting to open a port.

                However MSN is trying to be witty and adds a port mapping, then it tries to see if that worked, then tries to map the port again and then removes the port mapping. Very weird.

                It's a start though!

                Thank you for donating, this will give me resolve to finish this at least and not run away at the halfway point because it is upnp after all.

                1 Reply Last reply Reply Quote 0
                • S
                  sullrich
                  last edited by Aug 18, 2006, 8:07 PM

                  @databeestje:

                  Thank you for donating, this will give me resolve to finish this at least and not run away at the halfway point because it is upnp after all.

                  Seems to be coming along nicely, great work Seth!

                  1 Reply Last reply Reply Quote 0
                  • N
                    nsumner
                    last edited by Aug 19, 2006, 8:06 PM

                    UTorrent as you note now works. It actually worked before and then got broken somewhere along the way (when you updated to fix the serial number issue it seems). As well I noticed the little UPNP test program that I generall use now reports a complete success! Actually right now trying 3 different programs they all either work or report UPNP is working properly.

                    1 Reply Last reply Reply Quote 0
                    • R
                      rsw686
                      last edited by Aug 19, 2006, 11:56 PM Aug 19, 2006, 10:04 PM

                      @databeestje:

                      replace /etc/inc/system.inc with http://iserv.nl/files/pfsense/system.inc
                      replace /etc/inc/filter.inc with http://iserv.nl/files/pfsense/filter.inc
                      replace /usr/local/www/interfaces_lan.php with http://iserv.nl/files/pfsense/interfaces_lan.txt
                      replace /usr/local/www/interfaces_opt.php with http://iserv.nl/files/pfsense/interfaces_opt.txt
                      execute this command, fetch -o /usr/local/sbin/miniupnpd http://iserv.nl/files/pfsense/miniupnpd
                      execute this command, chmod +x /usr/local/sbin/miniupnpd

                      enable it on the lan interface.

                      Check the sytem logs.

                      –-

                      to make it startup on reboot

                      replace /etc/inc/pfsense-utils.inc with http://iserv.nl/files/pfsense/pfsense-utils.inc
                      replace /etc/inc/system.inc with http://iserv.nl/files/pfsense/system.inc
                      fetch -o /usr/local/sbin/miniupnpd http://iserv.nl/files/pfsense/miniupnpd
                      chmod +x /usr/local/sbin/miniupnpd


                      replace /etc/rc.bootup with http://iserv.nl/files/pfsense/rc.bootup.txt

                      This works for me.

                      Are these the instructions for installing this on the embedded platofrm? If not how do I go about doing it? I would like to test this out.

                      Perferably it would be nice if this was included in the base as packages since packages arn't supported on the embedded platform, which I know has been stated throughout this thread. I know that probably wouldn't happen for the 1.0 release as features aren't being added, but for the next release this would be a great addition.

                      Alot of the home network appliances that are coming out require upnp, and almost every off the shelf home router supports this. However stability and other functionality isn't there on these home routers. Also the nat reflection for upnp would be an added bouns.

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by Aug 19, 2006, 10:08 PM

                        Works on embedded or full installation.

                        /etc/rc.conf_mount_rw will force the CF RW so you can make these changes.  Or use the edit file feature from diagnostics (and command prompt).

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by Aug 20, 2006, 12:43 AM

                          I have taken Seths great work and created a package under System -> Packages.  If you are on a Full Installation then please try it out.  Embedded users we will get to you in a bit, please hold the comments to yourself.  Thanks!

                          1 Reply Last reply Reply Quote 0
                          • R
                            rsw686
                            last edited by Aug 20, 2006, 1:09 AM

                            @sullrich:

                            I have taken Seths great work and created a package under System -> Packages.  If you are on a Full Installation then please try it out.  Embedded users we will get to you in a bit, please hold the comments to yourself.  Thanks!

                            Thanks, I'll be waiting for it. Might just throw a hard drive in the ip330 so I can use the packages. I really appreciate all the work everybody has put into pfsense as a whole.

                            1 Reply Last reply Reply Quote 0
                            • C
                              czappi
                              last edited by Aug 20, 2006, 4:53 PM

                              Hi

                              I have install the Package on the RC2f  it works fine  :) , but i become follow message in my logfile.

                              greatly work.

                              Logfile.

                              Aug 20 18:12:02 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:12:17 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:13:26 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:14:02 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:14:02 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:14:02 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:14:03 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:14:03 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:14:03 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:14:03 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:14:03 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:14:03 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:14:03 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:14:03 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:15:12 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:15:55 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:15:55 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:15:55 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:15:55 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:15:55 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:15:55 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:15:55 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:15:55 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:15:55 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:15:55 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:15:55 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:07 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:16:07 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:37 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:16:53 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:17:01 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:41 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:41 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:47 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:47 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:47 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:17:47 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:47 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:47 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:17:47 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:47 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:17:47 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:17:57 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:17:59 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:12 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:12 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:12 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:12 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:12 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:12 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:12 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:12 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:12 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:12 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:13 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:18 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:18 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:34 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:36 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:36 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:36 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:36 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:36 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:36 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:36 miniupnpd[679]: HTTP REQUEST : SUBSCRIBE /event/WANIPConnection (HTTP/1.1)
                              Aug 20 18:19:36 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:36 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE
                              Aug 20 18:19:36 miniupnpd[679]: Unsupported HTTP Command SUBSCRIBE

                              1 Reply Last reply Reply Quote 0
                              • D
                                databeestje
                                last edited by Aug 20, 2006, 6:20 PM

                                What program is this?

                                1 Reply Last reply Reply Quote 0
                                • C
                                  czappi
                                  last edited by Aug 20, 2006, 6:37 PM

                                  EMULE with UPNP Support eMule-0.47a-Sion-v1.3-bin
                                  When i start the software miniupnpd open the ports, but i see the message come continue any minute

                                  Aug 20 20:32:18 last message repeated 2418160 times
                                  Aug 20 20:22:18 last message repeated 450066 times
                                  Aug 20 20:20:17 miniupnpd[678]: Unsupported HTTP Command SUBSCRIBE
                                  Aug 20 20:19:37 miniupnpd[678]: Unsupported HTTP Command SUBSCRIBE

                                  If i quit the emule the port dont close.

                                  upnp status.

                                  Port  Protocol  Internal IP  Description
                                  tcp 4662 label "eMule (TCP Port) [TCP: 4662]" 192.168.0.196 4662
                                  udp rfa label "eMule (UDP Port) [UDP: 4672]" 192.168.0.196 4672
                                  udp 2160 label "eMule (SVR Port) [UDP: 2160]" 192.168.0.196 2160

                                  Azureus works fine.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Superman
                                    last edited by Aug 20, 2006, 9:26 PM

                                    I'm able to install the package, but it doesn't seem to work at all. Starting the service on the Service Status page doesn't seem to work either.

                                    I'm on RC2e. I tried updating the RC2f on Scott's site, but I it totally destroyed my previous install so I had to reinstall from the RC2 iso. So I'm a little reluctant to try going to "f" again and causing the same problem…

                                    Anyone else have it working with RC2e, or will it only work on RC2f??

                                    TIA

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by Aug 20, 2006, 11:27 PM

                                      You have to configure it first.  Select the interface that it will run on in the settings.

                                      If F screwed up your install you may want to figure out what the problem is because you will get bit later by RC3.

                                      Please start a new thread with your RC2F issues.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Superman
                                        last edited by Aug 21, 2006, 1:40 AM

                                        Please start a new thread with your RC2F issues.

                                        Actually I think it was because of the manual changes I had made to test miniupnpd initially…before it was a package. Because this time after my fresh install from RC2 with all the updates sequentially, it updated fine...

                                        Now on the the miniupnpd issues. I install the package, and no errors are noted but it just doesn't work. There's no new options on any interfaces, and on the services status page miniupnpd shows as stopped, but it will not start...

                                        Do I need to reboot first? Nothing is mentioned during the install, so I assume no...

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Superman
                                          last edited by Aug 21, 2006, 1:45 AM

                                          Okay, sorry, maybe I spoke too soon. I reloaded the main page, then found the minupnpd addition under diagnostics…now I think it's working...

                                          Thanks!!

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