Page 1 of 1

port forward tester

Posted: 27 Dec 2007, 09:20
by aegis
i whipped up a port forward testing program in python.

windows users can just download the exe if they don't want to install python
http://public.zjt3.com/porttest/

many linux distros come with python stock, so you can possibly just download and run

Code: Select all

python porttest.py
in a terminal.

Re: port forward tester

Posted: 27 Dec 2007, 09:40
by koshi
i'm getting:

Code: Select all

kosh@koshfest:~/Desktop$ python porttest.pyc 
Traceback (most recent call last):
  File "C:\Documents and Settings\Administrator\Desktop\bots svn\stream editor\porttest.py", line 3, in <module>
  File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'OS'
this is on ubuntu 7.04 with python 2.5.1

Re: port forward tester

Posted: 30 Jan 2008, 14:15
by aegis
should be fixed, didn't test it fully ;)

Re: port forward tester

Posted: 30 Jan 2008, 14:52
by AF
Is this just pinging a service on one of your hosts at the necessary port?

Re: port forward tester

Posted: 30 Jan 2008, 14:57
by aegis
runs a socket server and tells my server to connect to it, then reports you can host if it got a connection from anything

Re: port forward tester

Posted: 30 Jan 2008, 14:59
by AF
You wouldn't mind if I did something similar in AFLobby? Can you pm me the address and stuff?

Re: port forward tester

Posted: 30 Jan 2008, 15:06
by lurker
http://zjt3.com/porttest.php?port=8452 right? Why is that pm-worthy?

Re: port forward tester

Posted: 30 Jan 2008, 15:08
by aegis
springlobby is implementing it as i'm posting this
i don't mind if you use it too

ideally, it will be added to uberserver

Re: port forward tester

Posted: 30 Jan 2008, 17:33
by imbaczek
something even better:

http://en.wikipedia.org/wiki/Stun

Re: port forward tester

Posted: 31 Jan 2008, 17:53
by Licho
You didnt provide sources, but judging from "compiled" pyc, its opening TCP socket..
You are testing TCP and not UDP ..
Spring is using UDP.

You need a service on client side which accepts UDP packet and informs server that the port is open..

Re: port forward tester

Posted: 01 Feb 2008, 12:26
by Complicated
Better idea for port testing, open the nessessary ports, invite one person to a port test (takes a minute to get someone unless your critically retarded and everyone hates you)

Then play, and see if he connects. Saves time ;'] and if the port works, your already ingame :|

Re: port forward tester

Posted: 19 Apr 2008, 03:30
by SinbadEV
Sorry to rez... but if someone who knows what to do would submit spring to http://www.portforward.com/requests.cgi we could link people to their site and then the users would have a nice pretty screenshot filled manual.