Port Check server not correctly configured

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
Edified
Posts: 6
Joined: Fri Oct 22, 2010 8:32 pm

Port Check server not correctly configured

Post by Edified »

Just FYI, if you're having trouble getting a peer listening port open and you have a WebProxy...
-I'm running NAT on a MicroTik RB450G with port forwarding correctly configured.
-Transmission reports that the specified listening port is CLOSED
- http://www.whatsmyip.org/port-scanner/ reports that it's OPEN, also correctly reporting that other ports are closed.
- Established connections are listed on the RB450G with the DST WAN address and the peer listening port.
-When I disable port forwarding on the RB450G whatsmyip correctly reports the port closed and no new connections appear on the router.

I have MikroTik's WebProxy running with a parent Squid Cache. They are running only on port 80. If I disable the proxy the port is correctly reported OPEN by Transmission. When the proxy is enabled, Transmission reports "Port is Closed".

Something port check system that sometimes causes it to falsely report "Port is Closed" when it is actually open when a web proxy is used. It could be a HTTP header that includes the local address, which would cause Port Check to look for an open port on a private network address.

I don't know if your port check server keeps logs but check it for 10.0.7.7 Port 3900.

Or does someone else have another idea?
Last edited by Edified on Tue Jan 10, 2012 12:59 pm, edited 2 times in total.
Edified
Posts: 6
Joined: Fri Oct 22, 2010 8:32 pm

Re: Port check falsely reports "Closed"

Post by Edified »

And that would be the X-Forwarded-For header.

The Transmission Port Check server is configured incorrectly for cases where a proxy is in a private subnet and adds a X-Forwarded-For header.

The port check server should check if the X-Forwarded-For http header is a private address and if it is it should Port Check the public WAN address rather than the X-Forwarded-For address.

Not a flaw in Transmission per se but a flaw in a supporting service.
Last edited by Edified on Tue Jan 10, 2012 7:42 am, edited 1 time in total.
x190
Posts: 5094
Joined: Sun Nov 30, 2008 4:59 am

Re: Port Check server not correctly configured

Post by x190 »

If you feel you have your facts straight, a trac ticket might be in order.

http://trac.transmissionbt.com/register
x190
Posts: 5094
Joined: Sun Nov 30, 2008 4:59 am

Re: Port Check server not correctly configured

Post by x190 »

x190 wrote:If you feel you have your facts straight, a trac ticket might be in order.

http://trac.transmissionbt.com/register
https://trac.transmissionbt.com/ticket/4702
Post Reply