Ticket #1264 (reopened defect)

Opened 5 months ago

Last modified 5 months ago

UPnP broken again (at least in DIR-300)

Reported by: mrc_torres Assigned to: somebody
Priority: critical Milestone:
Component: component1 Version:
Keywords: UPnP Cc:

Description

In a DIR-300 rev.A the UPnP daemon consumes 100% of router CPU and crash. See more cases and solutions in this ticket still open: http://svn.dd-wrt.com:8000/dd-wrt/ticket/1218. Thank´s.

Attachments

UPnPTest01.jpg (48.3 kB) - added by mrc_torres on 10/15/2009 12:53:26 AM.
UPnPTest02.jpg (31.6 kB) - added by mrc_torres on 10/15/2009 12:54:38 AM.
UpnpWithClearPortChecked.jpg (46.1 kB) - added by mrc_torres on 10/15/2009 12:58:04 AM.

Change History

10/12/2009 07:24:41 PM changed by mixmasta

Ok seriously, if upnp is really broken, again, I got the ask wtf is going on? Stop adding support for all these obscure routers and fix this correctly once and for all. This is something that more and more software depends on working correctly, and quite frankly thge upnp server should be enabled by default in dd-wrt.

10/13/2009 09:25:21 PM changed by BrainSlayer

  • status changed from new to closed.
  • resolution set to invalid.

the upnp will be off per default since upnp is always a security problem. since upnp is still working in my network and nobody provides more info than just cpu load which can be caused by a buggy upnp client application (which has been seen not the first time) i have to close it again. there are upnp test tools. run them and then report again if you find problems.

10/14/2009 04:31:19 AM changed by Wagnard

I do not have the 100% cpu bug problem. But I know that the upnp in the router is not always responding to upnp command. Its not the upnp application as it can have problem with emule / utorrent and even windows upnp gui.

THe UPNP daemon on the router work 75% of the time correctly. Its just that sometime when a program try to open ports, for a unknown reason it will take a LOT of time(1 min) to do so or will fail. After a bit of wait, things go back to normal. I haven't found a way to reproduce this and I don't think I will find one as it seem to be completely random.

But the only thing I know is this is NOT HAPPENING with this: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=247141&sid=43b9f44fe68db790db7e1b030e1cc82d

its a way to use miniupnpd on dd-wrt And I have 0 failure since I use this.

10/14/2009 04:34:30 AM changed by Wagnard

  • status changed from closed to reopened.
  • resolution deleted.

I have reopen ticket only to bring attention to the comment. Feel free to re-close it after reading but please aknowledge the problem. Its not the first time we see those kind of tickets around. And don't put this on a security problem for not supporting it. UPNP is a feature and if you cant get it right, then dont get it in.

10/14/2009 02:09:40 PM changed by olmari

I also suggest DD-WRT to switch into Miniupnpd alltogether, it takes less space than other solutions, but also offers NAT-PMP functionality too... And afaik way more bugfree than this the one used in DD-WRT now...

10/15/2009 12:53:26 AM changed by mrc_torres

  • attachment UPnPTest01.jpg added.

10/15/2009 12:54:38 AM changed by mrc_torres

  • attachment UPnPTest02.jpg added.

10/15/2009 12:55:03 AM changed by mrc_torres

Ok BrainSlayer?, I agree when you say that UPnP is in some cases a security hole, but by the quantity of tickets and messages in the forum with problems in implementation used in the DD-WRT I still think are not just problems in client applications.

You must use Linux, ok? May not be a problem for who uses Windows-based systems?

I use machines with Windows XP, Vista and 7 and in all and common applications such as Messenger, Emule, Skype, etc. UPnP doesn't work.

Already reset the router and tried with all standard configurations, but it doesn't work.

I used two UPnP testing programs that I met and attach copies of screens. Has some other test for Windows that you suggest? Any command that returns some debug information for you look?

I have success sometimes when i ckeck "Clear port forwards at startup".

I use, support and I indicate DD-WRT, and that I want to help, as well as to avoid that problems as those end up making the people to discredit in this great project.

Sorry my bad English…

10/15/2009 12:58:04 AM changed by mrc_torres

  • attachment UpnpWithClearPortChecked.jpg added.

10/15/2009 01:30:37 AM changed by Wagnard

Those program you used, work on windows for me. It will fail like you when the UPNP daemon on the router stop responding "or" because extremely slow for no reason.

After a couple sec/minutes all goes back to normal. The service does not require to be reboot.

anyway don't know why they don't use miniupnp.... it work flawlessly here. But i guess they don't know how to implant it and only know to take linksys code.... Just hope im wrong.

10/18/2009 03:01:10 PM changed by mrc_torres

Once again an ignored problem...