Opened 8 years ago

Closed 16 months ago

#4275 closed defect (wontfix)

UPnP somewhat buggy on Windows?

Reported by: funkstar Owned by:
Priority: Medium Milestone:
Component: Archived/Vidalia Version: Tor: 0.2.3.12-alpha
Severity: Normal Keywords: windows, upnp, tor-relay, archived-closed-2018-07-04
Cc: ioerror, sjmurdoch Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Running a relay and relying on Vidalia to configure port forwarding, UPnP doesn't seem to work at all when setting the Windows network mode to "public" in newer versions of Windows, after changing it to "Home" (allows file sharing, network discovery, etc), I seem to need to click the "test" port forwarding button in Vidalia several times before it "finds" my router and opens the ports. If I don't, it will simply not open anything.

Applications such as uTorrent that use UPnP work fine in "public" (more secure) network mode, is Tor reliant on the Network Discovery being on? (disabled when in public mode). Why does it rely on it when other applications don't?

FYI, my router is fully visible on the network, I can even view it's properties/open ports (when in "home" mode).

Child Tickets

Change History (27)

comment:1 Changed 8 years ago by funkstar

bump

comment:2 Changed 8 years ago by nickm

Cc: ioerror sjmurdoch added

comment:3 Changed 8 years ago by funkstar

bump :(

comment:4 Changed 8 years ago by nickm

Milestone: Tor: 0.2.3.x-final

comment:5 Changed 8 years ago by nickm

While I'm waiting for one of the upnp folks to have a look .. what kind of upnp router is this?

comment:6 Changed 8 years ago by funkstar

Not sure if I'm answering correctly but, the brand is Draytek.

Under its UPnP menu there are 3 checkboxes, all 3 are selected:

Master option: "Enable UPnP Service"

Sub options: "Enable Connection control Service" & "Enable Connection Status Service".

comment:7 Changed 8 years ago by nickm

Keywords: windows upnp added

comment:8 Changed 8 years ago by funkstar

Version: Tor: 0.2.3.5-alphaTor: 0.2.3.12-alpha

FYI, the issue the ticket refers to was tested on Windows 7.

On Windows 8 UPnP is completely broken no matter what firewall mode is used (home/public). Though I think the latter issue should be ignored for now due to it being beta.

comment:9 Changed 8 years ago by rransom

Perhaps Windows is intercepting the UPnP requests and setting up port forwarding through the Windows firewall.

comment:10 Changed 7 years ago by funkstar

I've recently switched to the Transmission torrent client, which works fine with UPnP even in public (restricted) firewall mode, and even on the latest copies of Windows 8 with whatever changes MS had made.

I believe they use the miniupnp library, would this be a possibility for Tor/Vidalia?
https://github.com/miniupnp/miniupnp

comment:11 Changed 7 years ago by asn

Status: newneeds_information

Tor is also using miniupnp. I think we might need some more information on this issue.

Can you check if your router has any UPnP related logs and whether anything interesting appears there?

Also, can you switch your Tor logging to 'info' severity and see if anything interesting appears on the logs (search for 'tor-fw-helper' or 'upnp')?

comment:12 Changed 7 years ago by funkstar

I always run with info mode enabled, nothing at all prints concerning UPnP unfortunately. My router doesn't keep UPnP logs.

Is Transmission by chance using a newer version of miniupnp than Tor is? Github logs show quite recent changes.

comment:13 Changed 7 years ago by funkstar

Any update? Noticed that Transmission on windows runs a process called "dbus-daemon.exe" not sure if it's related to miniupnp, tor certainly doesn't run it.

comment:14 Changed 7 years ago by funkstar

Finally there's a new version of the unstable Tor available for download. I've installed it and UPnP appears to be working fine (on Windows 8), there may have been changes since the last time I used it (0.2.3.12), I'm not sure.

I'm going to leave this ticket open for now incase this is a premature celebration.

comment:15 Changed 7 years ago by funkstar

Just updated to .20 and it's back to not working again...

comment:16 Changed 7 years ago by nickm

Keywords: tor-relay added

comment:17 Changed 7 years ago by nickm

Component: Tor RelayTor

comment:18 Changed 7 years ago by xerces8

Version: Tor: 0.2.3.12-alphaTor: 0.2.2.39

using tor bundle version tor-browser-2.2.39-5_en-US and Windows 8 Pro, it still does not work.

The same version on a Windows 7 PC (same LAN) works fine.

Ask for any more data.

comment:19 Changed 7 years ago by xerces8

Version: Tor: 0.2.2.39Tor: 0.2.3.12-alpha

Changing Version back to Tor: 0.2.3.12-alpha
(I did not mean to change it on my previous comment, sorry)

comment:20 Changed 7 years ago by nickm

Component: TorVidalia
Milestone: Tor: 0.2.3.x-final

relying on Vidalia to configure port forwarding

Oh hey, this isn't in Tor, this is Vidalia.

What miniupnp version does Vidalia ship?

comment:21 Changed 6 years ago by funkstar

Still an issue.

comment:22 Changed 6 years ago by funkstar

Bump.

comment:23 Changed 6 years ago by funkstar

So is this a miniupnp issue? Is an old version being used?

comment:24 Changed 6 years ago by funkstar

It does infact seem that Vidalia is using an old version of miniupnp.

Could it please be updated? http://miniupnp.free.fr/

comment:25 Changed 6 years ago by funkstar

Is Vidalia development dead?

comment:26 Changed 23 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:27 Changed 16 months ago by teor

Keywords: archived-closed-2018-07-04 added
Resolution: wontfix
Status: needs_informationclosed

Close all tickets in archived components

Note: See TracTickets for help on using tickets.