Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/class_bootstrap.php(430) : eval()'d code on line 123
[uPnP] Problem with uPnP, adding forward: router stops forwarding - Page 4
Page 4 of 4 FirstFirst ... 234
Results 46 to 60 of 60

Thread: [uPnP] Problem with uPnP, adding forward: router stops forwarding

  1. #46
    I think I was wrong. I've acquired new information, and I believe the strace logs I've placed previously were not the results of the crashing, just of the harmless resetting. However, it does crash as well.

    Code:
    ...
    ) = -1 ETIMEDOUT (Connection timed out)
    close(9)                                = 0
    setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 700000}}, NULL) = 0
    getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 700000}}) = 0
    rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 16) = 0
    sigreturn()                             = ? (mask now [RT_37 RT_38 RT_39 RT_41 RT_45 RT_50 RT_61])
    read(6, "SUBSCRIBE /uuid:0011d81b-f83e-00"..., 399) = 354
    time(NULL)                              = 1115528116
    read(5, "\312\3\0\0", 11)               = 4
    read(5, "\312\3\0\0", 11)               = 4
    time(NULL)                              = 1115528116
    write(6, "HTTP/1.1 200 OK\r\nServer: LINUX/2"..., 129) = -1 ECONNRESET (Connection reset by peer)
    rt_sigprocmask(SIG_BLOCK, [ALRM], NULL, 16) = 0
    getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 650000}}) = 0
    rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 16) = 0
    recvfrom(4, "NOTIFY * HTTP/1.1 \r\nHOST: 239.25"..., 2500, 0, {sa_family=AF_INET, sin_port=htons(1900), sin_addr=inet_addr("192.168.1.1")}, [16]) = 351
    rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 16) = 0
    _newselect(9, [3 4 6 8], NULL, NULL, NULL) = 4 (in [3 4 6 8])
    rt_sigprocmask(SIG_BLOCK, [ALRM], NULL, 16) = 0
    read(8, "UNSUBSCRIBE /uuid:0011d81b-f83e-"..., 399) = 304
    time(NULL)                              = 1115528116
    time(NULL)                              = 1115528116
    time(NULL)                              = 1115528116
    open("/etc/TZ", O_RDONLY)               = 9
    read(9, "PST8PDT\n", 68)                = 8
    read(9, "", 60)                         = 0
    close(9)                                = 0
    write(8, "HTTP/1.1 200 OK\r\nDATE: Sun, 08 M"..., 186) = -1 ECONNRESET (Connection reset by peer)
    write(8, "", 0)                         = 0
    read(6, "", 399)                        = 0
    close(6)                                = 0
    close(6)                                = -1 EBADF (Bad file descriptor)
    recvfrom(4, "NOTIFY * HTTP/1.1 \r\nHOST: 239.25"..., 2500, 0, {sa_family=AF_INET, sin_port=htons(1900), sin_addr=inet_addr("192.168.1.1")}, [16]) = 383
    accept(3, {sa_family=AF_INET, sin_port=htons(3772), sin_addr=inet_addr("192.168.1.12")}, [16]) = 6
    time(NULL)                              = 1115528116
    fcntl(6, F_GETFL)                       = 0x2 (flags O_RDWR)
    ioctl(6, TIOCNXCL, 0x7fff7be0)          = -1 EINVAL (Invalid argument)
    rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 16) = 0
    _newselect(9, [3 4 6 8], NULL, NULL, NULL) = 4 (in [3 4 6 8])
    rt_sigprocmask(SIG_BLOCK, [ALRM], NULL, 16) = 0
    read(6, "UNSUBSCRIBE /uuid:0011d81b-f83e-"..., 399) = 312
    time(NULL)                              = 1115528116
    time(NULL)                              = 1115528116
    time(NULL)                              = 1115528116
    open("/etc/TZ", O_RDONLY)               = 9
    read(9, "PST8PDT\n", 68)                = 8
    read(9, "", 60)                         = 0
    close(9)                                = 0
    write(6, "HTTP/1.1 200 OK\r\nDATE: Sun, 08 M"..., 186) = -1 ECONNRESET (Connection reset by peer)
    write(6, "", 0)                         = 0
    read(8, "", 399)                        = 0
    close(8)                                = 0
    close(8)                                = -1 EBADF (Bad file descriptor)
    recvfrom(4, "NOTIFY * HTTP/1.1 \r\nHOST: 239.25"..., 2500, 0, {sa_family=AF_INET, sin_port=htons(1900), sin_addr=inet_addr("192.168.1.1")}, [16]) = 312
    accept(3, {sa_family=AF_INET, sin_port=htons(3259), sin_addr=inet_addr("192.168.1.11")}, [16]) = 8
    time(NULL)                              = 1115528116
    fcntl(8, F_GETFL)                       = 0x2 (flags O_RDWR)
    ioctl(8, TIOCNXCL, 0x7fff7be0)          = -1 EINVAL (Invalid argument)
    rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 16) = 0
    _newselect(9, [3 4 6 8], NULL, NULL, NULL) = 3 (in [4 6 8])
    rt_sigprocmask(SIG_BLOCK, [ALRM], NULL, 16) = 0
    read(8, "GET /dynsvc/WANCommonInterfaceCo"..., 399) = 245
    time(NULL)                              = 1115528116
    open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 9
    ioctl(9, TIOCNXCL, 0x7fff7950)          = -1 ENOTTY (Inappropriate ioctl for device)
    write(9, "<?xml version=\"1.0\"?>\r\n<scpd xml"..., 256) = 256
    write(9, "essType</name>\r\n<relatedStateVar"..., 256) = 256
    write(9, "</direction>\r\n</argument>\r\n<argu"..., 256) = 256
    write(9, "teVariable>PhysicalLinkStatus</r"..., 256) = 256
    write(9, "sSent</relatedStateVariable>\r\n<d"..., 256) = 256
    write(9, "edStateVariable>\r\n<direction>out"..., 256) = 256
    write(9, "eVariable>\r\n<direction>out</dire"..., 256) = 256
    write(9, "tion>out</direction>\r\n</argument"..., 256) = 256
    write(9, "\n      <allowedValue>POTS</allow"..., 256) = 256
    write(9, "ayer1UpstreamMaxBitRate</name>\r\n"..., 256) = 256
    write(9, "atus</name>\r\n  <dataType>string<"..., 256) = 256
    write(9, "edValueList>\r\n</stateVariable>\r\n"..., 256) = 256
    write(9, "le>\r\n<stateVariable sendEvents=\""..., 256) = 256
    write(9, "=\"no\">\r\n  <name>TotalPacketsRece"..., 122) = 122
    close(9)                                = 0
    time(NULL)                              = 1115528116
    open("/etc/TZ", O_RDONLY)               = 9
    read(9, "PST8PDT\n", 68)                = 8
    read(9, "", 60)                         = 0
    close(9)                                = 0
    write(8, "HTTP/1.0 200 OK\r\nSERVER: LINUX/2"..., 199) = -1 ECONNRESET (Connection reset by peer)
    write(8, "HTTP/1.0 200 OK\r\nSERVER: LINUX/2"..., 256) = -1 EPIPE (Broken pipe)
    --- SIGPIPE (Broken pipe) @ 0 (0) ---
    +++ killed by SIGPIPE +++
    That's all I have from that, though, since I set up some script stuff to delete the log every minute but back up the log if upnp is found closed.

    Here's a helpful Google result:
    Signal: Pipe

    This signal is raised when a program writes to a socket or fifo that has no readers. The default action of this signal is to cause the program to terminate.

    You might see this message if you have a series of commands in a shell pipe line and one of the processes quits. Eg:

    $ cat somefile | head

    After "head" has printed out the first 10 lines and quits, "cat" will get a pipe error. However, cat catches the signal and quits gracefully. If you pipe the output of some cvs(1) commands into less(1) and quit, then you might see the shell print out a message as cvs doesn't handle this signal gracefully.

    Another example, using strace(1) to show system calls:

    $ strace ls /etc | echo
    execve("/bin/ls", ["ls", "/etc"], [/* 52 vars */]) = 0
    ...
    write(1, "a2ps\nadjtime\napache2\napm\nasound."..., 1593) = -1 EPIPE (Broken pipe)
    --- SIGPIPE (Broken pipe) @ 0 (0) ---
    +++ killed by SIGPIPE +++
    $

    If you get this message when writing to a socket, it can be avoided by passing MSG_NOSIGNAL as a flag to send() or ignoring the signal by using signal(SIGPIPE,SIG_IGN);
    I added signal(SIGPIPE,SIG_IGN) to upnp_main with the others. I'll see how it goes.
    Last edited by tomilius; 08-05-2005 at 06:11.

  2. #47
    Actually, upnp hasn't worked at all for me lately... I'm not sure if that's because of 1.9.2.7-5 or what, but it's not working and won't work. It might be Windows XP. I don't know what's causing this, but it's annoying.

    UPDATE: Can't blame it on the computer... it's not working on any of the others either (they're not detecting it in Network Connections and UPnPTest fails). Hmm . Still, it's probably an obvious error on my part... maybe...

    OK. So UPnP is definitely broken for me. Hmm.

    Oh, but now it works again. Ugh. How problematic and disgusting. UPnP really needs some source tweaking...
    Last edited by tomilius; 08-05-2005 at 09:25.

  3. #48
    UPnP hasn't crashed since I made the aforementioned modification. Other than that, I had some Windows settings to tweak, and I lowered the UPNP_REFRESH value along with some of the related variables (lowered the SSDP one too). I think to 15 and 20, respectively... but that probably was unnecessary.

  4. #49
    Just for clarification, adding:

    Code:
    signal(SIGPIPE,SIG_IGN);
    to upnp_main in upnp.c with the other calls to the signal function solved the crashing for me. UPnP still annoyingly restarts in the circumstances I've mentioned here (like ntp time updates), but this stops it from crashing for me.

  5. #50

    500gx - Upnp crashes very often with Azureus

    Is there a firmware available where the Upnp doesn't crash up to 10 times a day. Azureus states that it lost connection to device. But the download goes on. With my other router this does not happen. Is this a known bug or is my device faulty ?

  6. #51
    Nobody with the same problem?

  7. #52
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,353
    This is a known bug, fixed in the 1.9.2.7-6 custom firmware.

  8. #53
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,307
    Another option is to disable uPnP (which is a security risk anyway) and use the Virtual Server function instead.

  9. #54
    Ok, that might be right. But I just wanted to be sure that it works. Now it seems to. Thanx

  10. #55

    Nokia n95 and WL500 UpNP

    Hi People,

    I tried to connect my Nokia n95 to WL500 via upnp, but it can't find any media server from n95.

    Did anyone already try this? Any hints maybe?

    Thanks

  11. #56

    Unhappy I'm going crazy! Vista x64 and UPNP not working!

    Hi all,

    For the last couple of days I've been going completely crazy.
    UPNP just doesn't work under Vista Ultimate X64..
    I've tried disabling ipv6, didn't work.
    Tried original Asus firmware, didn't work.
    Tried disabling and enabling a lot of services, didn't work.
    I also did the Internet Connectivity Evaluation Tool The strange thing is, sometime it passes the upnp test (it doesn't work though). Sometimes it doesn't pass the test. It never passes the NAT test though (Is this normal for WL-500g deluxe routers?). Even in XP it doesn't pass this part of the test...?
    UPNP works perfect in XP btw. But in Vista it just doesn't seem to work.
    I have upnptester.exe. It shows all details of the router in XP, but in Vista it says no upnp device found.
    MSN the same.. In XP it says "connected through a UPNP port restricted NAT" , in Vista it says "connected through a non-UPNP restricted NAT"

    I've been searching on Google for days and I just couldn't find a solution.

    Is the WL-500g Deluxe not compatible with Vista x64, or is it a setting on the router? (Did the factory reset)

    Is there anyone that has upnp working under Vista Ultimate x64? Could you please let me know how you did that before I throw my PC out the window? :P.

  12. #57
    The "network map" is not working as well btw.

  13. #58

    UPnP problem in 1.9.2.7-9

    Hi Oleg

    I'm running 9.2.5 now. I have a problem with UPnP. Sometimes doesn't even load, sometimes load but it crashes when I try to open a port or some application is trying to open or close ports (emule, utorrent…). In system log is nothing that mention upnp. How would I check, what's causing these crashes? All settings were set manually (not loaded with configuration file). Router was reset to default settings before new firmware was putted on. After configuration it was unplugged from electricity.
    In 1.9.2.7-6b firmware, upnp was working very well and it didn't crash. In later firmwares were problems. I would like to use the last firmware, because it has some other features that I like. Is it possible to recompile 9.2.5 with upnp from 1.9.2.7-6b or it’s not so simple because there were changes in other parts of firmware which are related to upnp?

    Has anyone else had similar problems with upnp in 1.9.2.7-9 or other releases?

    Thanks for your time
    Last edited by dholliday; 10-04-2008 at 08:45.

  14. #59
    so what now? which firmware is the latest for WL500g recommended?

  15. #60

    uPnP ports remain open

    I'm running 1.9.2.7-6b version, and recently found that when some application on my network opens a port on the Asus router using uPnP this port remains mapped, even after stopping the application and even reseting the router. Is there a easy way to close these ports opened through uPnP? I try to disable uPnP (the ports were closed), but enabling uPnP open those pots again even with no application asking. I only managed to keep the ports closed restoring the factory defaults. I need uPnP active because some 'devices' in my house need to use uPnP and they aren't configurable, but I don't want to have uPnP mappings permanent, specially for some mappings created by ad-hoc applications that destroy the statically configured mappings (i have a static port forwarding for the port 80 and some application is creating another mapping through uPnP also for the port 80 and the statically configured mapping stopped working).

    Thanks for your help!

    Fernando

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. upnp server wl500 g
    By jaapieo in forum Dutch Discussion - Nederlands
    Replies: 22
    Last Post: 14-02-2006, 13:49
  2. help upnp media server
    By mikaell in forum WL-HDD Q&A
    Replies: 5
    Last Post: 27-02-2005, 03:13

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •