Dave, exactly does the UDP test work since UDP is really connectionless? I have an app that communicates only UDP. FreeNATS reports a successful UDP test even if I shut the app down.
Thanks!
UDP test
Re: UDP test
Hi Paul,
Ah! You may have found a flaw in my otherwise meticulous and evil plans there.
Yes - ahem - the UDP test just opens a socket to said host on said port... it's just the TCP test with the added bit udp:// at the start (you've got to love PHP's sockets).
But you're absolutely right - it will pass for any port on any host as it will always be able to open the socket. Ahem.
Erm... Hmm... What about getting something back perhaps? Opens a socket, sends whatever you configure and then requires something (anything or a specific thing) back? Would that do maybe?
Sorry for the confusion and late reply to your email - I needed to get a chance to look at it and of course went "Doh!!" once I had.
Regards,
Dave.
Ah! You may have found a flaw in my otherwise meticulous and evil plans there.
Yes - ahem - the UDP test just opens a socket to said host on said port... it's just the TCP test with the added bit udp:// at the start (you've got to love PHP's sockets).
But you're absolutely right - it will pass for any port on any host as it will always be able to open the socket. Ahem.
Erm... Hmm... What about getting something back perhaps? Opens a socket, sends whatever you configure and then requires something (anything or a specific thing) back? Would that do maybe?
Sorry for the confusion and late reply to your email - I needed to get a chance to look at it and of course went "Doh!!" once I had.
Regards,
Dave.