i require an udp port scanner. as it's not tcp, this is not trivial, since all port scanners i tried were highly unreliable. a command-line driven tool would be the best.
i tried already with php sockets, but failed. tools like portmap or pcap are too heavy. i just need to check if udp port abcde is open (test package received) or closed (no package received, retry for 5 secs).
could you direct me to such a program? or write a dll for me (not for 3dgs - i use it in a winbinder application)? thnaks in advance
won't work because of the design of the UDProtcol. As it does not establish a connection, you will never get response as long as the services behind the port does not send a respond. You don't have a handshake procedure. The only way is that the service behind the port only responses when it gets a UDP packet.
Yes, but this will only work if you have a service on the server wich responds to your packet, and this would mean that you have a service, which binds all Ports to itself. Get the clue? You don't know if the port is open or not unless you have your own program on the server which binds the port. So if the port is open, the port is useless becaus it's already bound. Or do you just want to test your firewall?
i want to test if a certain port on the client computer is open (meaning firewall test, kinda). if so, i will allow the client to start a game server. if it's closed, starting the game server would be useless as noone would be allowed to connect.
Well as you can tell from the error message nmap is having trouble because you are scanning 127.0.0.1 and not some random server. From what I understand with UDP you can only get rejection messages back to the scanner. Thus if you do not get a message it either means that there is a listener or that the rejection (ICMP) message was filtered.
I am still not sure what you are trying to do. If you are on the client you could just run 'netstat -a -p udp' to see the bound ports and pick one which is not listed there.
we are developing a game. a multiplayer game. player A wants to host. Player A has a router or is part of a greater network and so has no "direct" wire to the net. Player A is a gamer and does not know about ports. so he starts the server and wants his friends to join him. but they can't because they cannot connect, because the router is blocking the UDP port the game uses. player A blames the game and spams our support forum.
to prevent this, i wanted to include a small port checker utility that alerts the user if udp port xxxxx is closed, so he has to open it first before others can play with him.
i found the solution for nmap: i have to use my "real" (net) IP. so with 77.169.xxx.xxx it works just fine.
the problem remains: it's nmap which requires winpcap which are both no lightweight tools... i'd prefer something dead simple, something that doesn't install 2 unwanted programs on the client system.