UDP test

The forum for help and support with FreeNATS as well as any useful hints and tips
Post Reply
paullanders
Posts: 92
Joined: Thu Sep 04, 2008 9:48 pm

UDP test

Post by paullanders » Thu Mar 19, 2009 7:16 pm

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!

dave
Site Admin
Posts: 260
Joined: Fri May 30, 2008 9:09 pm
Location: UK
Contact:

Re: UDP test

Post by dave » Tue Mar 24, 2009 8:36 am

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.

Post Reply