|
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
Marco_Grubert
Expert
|
Expert
Joined: Sep 2003
Posts: 3,236
San Diego, CA
|
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: checkbutton]
#211614
06/17/08 14:11
06/17/08 14:11
|
Joined: Jun 2005
Posts: 4,875
broozar
OP
Expert
|
OP
Expert
Joined: Jun 2005
Posts: 4,875
|
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]
#211655
06/17/08 17:29
06/17/08 17:29
|
Joined: Sep 2003
Posts: 3,236 San Diego, CA
Marco_Grubert
Expert
|
Expert
Joined: Sep 2003
Posts: 3,236
San Diego, CA
|
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 ?
|
|
|
|