UPnP - Service stops itself?



  • Hello-

    I'm running 1.0.1 from the ISO release, with miniupnpd (20070208) and squid (2.6.5_1-p15).  I've set up upnp on my LAN interface, and it shows up on my XP machines, but after I close an application (typically after several hours) that uses it, the service disables itself.  I have to go back into the Services menu and start it again.  I'm trying to get some useful log info, but I don't have any yet, I need to find how to access more log data than I can get therough the web interface.  Anyone else with this problem?



  • Upnp has had many many fixes since 1.0.1.  Please try a recent snapshot:

    http://snapshots.pfsense.com/FreeBSD6/RELENG_1/updates/



  • What do you see on the system log page when miniupnpd stops? I'm not sure if 1.0.1 has the log filtering on the webgui -> status -> system log page, if it does filter by miniupnpd and see if you see any error messages.

    You are running the latest miniupnpd version, however I would upgrade to the latest snapshot as it contains numerous fixes in general, which might be causing your issue.

    I have not had miniupnpd disable itself and I run it all the time.



  • There's nothing useful in the logs yet, I don't see anything prior to my last reboot, and it hasn't happened yet this evening.  It'll probably be tomorrow that the problem comes back, I'll have to look then.  For now, this is all that's there:
    Feb 13 16:34:37 php: miniupnpd: Starting service on interface: lan
    Feb 13 16:34:37 miniupnpd[661]: listening on 192.168.0.1:2189
    Feb 13 16:34:37 miniupnpd[661]: received signal 15, good-bye
    Feb 13 16:34:50 php: miniupnpd: Starting service on interface: lan
    Feb 13 16:34:50 miniupnpd[1019]: listening on 192.168.0.1:2189
    Feb 13 16:34:50 miniupnpd[1019]: received signal 15, good-bye
    Feb 13 16:40:53 miniupnpd[1690]: listening on 192.168.0.1:2189

    I feel really stupid for having to ask this, but I've only been using pfSense for 3 days now…  How do I install the snapshots?  (You have no idea how much I didn't want to ask this!)



  • Visit Diagnostics, Firmware, Enable Firmware Update, Browse, Find the downloaded .tgz file from the updates/ area and upload it.

    Sit back and everything else is automatic.



  • @sullrich:

    Visit Diagnostics, Firmware, Enable Firmware Update, Browse, Find the downloaded .tgz file from the updates/ area and upload it.

    Sit back and everything else is automatic.

    I would recommend you uninstall the miniupnpd package before you do this since its included in the base pfSense now. Otherwise you'll have to manually remove the second menu item for it.



  • See, now I knew I was missing something that was designed to be REALLY EASY!  Thanks, I'll give it a try in a couple of minutes.  Thanks again for that!  ;D



  • Oops, a little too quick on that one, I hadn't seen your post about removing the old package first.  No problem though, I deleted the package and re-uploaded the snapshot.  Everything's fine now.  :)

    As a side note, I also removed and re-installed the squid package… After my first firmware attempt, I looked at the Services status, and there were about 15 or so instances of squid, and two of upnp.  I removed both and reinstalled the snapshot.  One of each on my list now.



  • Glad you got the update installed successfully. Let me know if you still have issues with miniupnpd. The error message from the log when it happens, and what you did or program you were using to make that error occur is what I need. Otherwise I'm shooting in the dark on where problem is.


Log in to reply