Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, 7th_zorro, VoroneTZ, Quad), 901 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: udp port scanner required [Re: broozar] #211507
06/17/08 00:53
06/17/08 00:53
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Originally Posted By: broozar
i found the solution for nmap: i have to use my "real" (net) IP. so with 77.169.xxx.xxx it works just fine.
This is not going to help you with your scenario- how far does the packet travel? Will it stay inside the IP stack? Go past MS firewall? Maybe reach your router? Maybe reach your ISP? There could be a blocking system anywhere along the path that the client would not be able to find on his own. The only reliable thing is to set up a known server somewhere on the internet and ask it to send you a message. If you receive it then the port is unblocked.

In other words you'd need to
a) write a client that sends a request to your server containing your desired UDP port, ideally to some webhost that can be reached via TCP 80.
b) on the webhost when you get a request by a client, send a UDP package to the requested port
c) the client needs to bind to the UDP port and if it gets a response from the webhost it knows that there is no firewall in the way

Maybe use the script these guys have in place: http://www.utorrent.com/testport.php?port=6881

Last edited by Marco_Grubert; 06/17/08 00:55.
Re: udp port scanner required [Re: Marco_Grubert] #211533
06/17/08 06:56
06/17/08 06:56
Joined: Jun 2005
Posts: 4,875
broozar Offline OP
Expert
broozar  Offline OP
Expert

Joined: Jun 2005
Posts: 4,875
nmap: i suppose it reaches my ISP as it displays "interesting ports at brln-xxxxxx.xxxx.<my_isp>.de:"

however, the script solution seems to be much more elegant. where can i get the source?

[edit] as most online port checking solutions, this script did not see my port that i just opened for testing purposes. so far, nmap has been the only reliable one.

Re: udp port scanner required [Re: broozar] #211560
06/17/08 09:28
06/17/08 09:28
Joined: Aug 2003
Posts: 2,122
Berlin, Germany
checkbutton Offline

Expert
checkbutton  Offline

Expert

Joined: Aug 2003
Posts: 2,122
Berlin, Germany
Try nmap not wiht localhost but with your local network address, or even with your Internet IP, perhaps this works...
Otherwise, use two computers wink


I don't have a homepage, for god's sake!
Re: udp port scanner required [Re: checkbutton] #211614
06/17/08 14:11
06/17/08 14:11
Joined: Jun 2005
Posts: 4,875
broozar Offline OP
Expert
broozar  Offline OP
Expert

Joined: Jun 2005
Posts: 4,875
Quote:
or even with your Internet IP
that's exactly what i wrote 2 posts above, and it works. but i'd prefer something smaller... really. for nmap, you need to install nmap and winpcap, both are no lightweight tools.

Re: udp port scanner required [Re: broozar] #211638
06/17/08 16:13
06/17/08 16:13
Joined: Aug 2003
Posts: 2,122
Berlin, Germany
checkbutton Offline

Expert
checkbutton  Offline

Expert

Joined: Aug 2003
Posts: 2,122
Berlin, Germany
er... ok... I understand. You don't just want to test, you want to embed this in your server.
Well, do you really think, this is neccessary? I think it's the users task to ensure, the specific port is open.


I don't have a homepage, for god's sake!
Re: udp port scanner required [Re: broozar] #211655
06/17/08 17:29
06/17/08 17:29
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Originally Posted By: broozar
nmap: i suppose it reaches my ISP as it displays "interesting ports at brln-xxxxxx.xxxx.<my_isp>.de:"
That just tells you it could resolve the address using DNS - it's unrelated to actual route taken. You could do a tracert (or traceroute on unix) to see where the packet goes- but again, that is specific to your setup. With a different system the packet might stay local, not telling you anything about firewalls. You need an external server for port checking. Since you are familiar with PHP can't you write a script that sends a UDP packet to a specified IP and port ?

Page 2 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1