You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
portmapper: [unexpected] no error but no stored mapping then nil pointer dereference #10911
Can you say what kind of router you're using, like cable modem or Fiber-to-the-Home router?
What it sends in its UPnP / NAT-PMP / PCP response may be important in this.
use a filter of "ssdp" (look at the green bar at the top of this screenshot for an example)
capture frames until you see an M-SEARCH request followed by responses, then hit the red button at the top to stop capture.
hit control-A or command-A to select all packets in the display. In the bottom right you should see a relatively small number of packets selected, out of a large number captured.
You can compress the pcapng file to zip to attach it here. If not comfortable attaching it to a public bug report, you can email it to [email protected] and please mention bug 10911.
#10922 includes a fix for this issue, and will be included in 1.58.1 when we build that. I expect that we'll build that version soon, and we will post here when we do so.
Activity
bradfitz commentedon Jan 20, 2024
/cc @andrew-d
bradfitz commentedon Jan 20, 2024
That
{0x0?, 0x0?}means theupnp upnpClientis anilinterface.Looks like
selectBestServicecan return(nil, nil)which isn't really documented and might be (or have been) surprising to callers:Andrew-Bekhiet commentedon Jan 20, 2024
I've noticed that on downgrading to tailscale 1.56.1, logging out then logging in again solves it
DentonGentry commentedon Jan 21, 2024
Can you say what kind of router you're using, like cable modem or Fiber-to-the-Home router?
What it sends in its UPnP / NAT-PMP / PCP response may be important in this.
Andrew-Bekhiet commentedon Jan 21, 2024
It's a cable modem, connected over wifi
How can I help with getting the UPnP / NAT / PMP / PCP responses?
DentonGentry commentedon Jan 21, 2024
If you are comfortable using Wireshark, you can:
You can compress the pcapng file to zip to attach it here. If not comfortable attaching it to a public bug report, you can email it to [email protected] and please mention bug 10911.
Andrew-Bekhiet commentedon Jan 21, 2024
I've sent the packets by email
7 remaining items
andrew-d commentedon Jan 22, 2024
#10922 includes a fix for this issue, and will be included in 1.58.1 when we build that. I expect that we'll build that version soon, and we will post here when we do so.
net/portmapper: support legacy "urn:dslforum-org" portmapping services
Andrew-Bekhiet commentedon Jan 22, 2024
Awesome!
net/portmapper: support legacy "urn:dslforum-org" portmapping services
net/portmapper: support legacy "urn:dslforum-org" portmapping services
net/portmapper: support legacy "urn:dslforum-org" portmapping services
Andrew-Bekhiet commentedon Jan 23, 2024
Don't know if it's relevant but today I found out that my UPnP setting is disabled in my router, so I've enabled it, does that make any difference?
net/portmapper: handle cases where we have no supported clients
net/portmapper: support legacy "urn:dslforum-org" portmapping services
net/portmapper: support legacy "urn:dslforum-org" portmapping services
agottardo commentedon Feb 13, 2024
Closing because the issue has been resolved in v1.58.2.
N (#4)
net/portmapper: handle cases where we have no supported clients
net/portmapper: support legacy "urn:dslforum-org" portmapping services