Jump to content
  • Advertisement
Sign in to follow this  
fitfool

Vista UDP firewall workaround

This topic is 3083 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've been testing my implementation of TFTP(Client) on a couple of computers. It works great on all my XP machines, but fails on Vista. On Vista, my client is able to send() the write request to my server, me server catches it and sends back the go-ahead, but my client never gets this, sometimes I get an ICMP unreachable. I went ahead and added a rule to the firewall to allow my app to kick through, didn't work. Tried running my client as administrator too, didn't work. Finally I completely disabled the 'firewall', only then did it work. What's going on? Am I forced to make users disable their firewalls? Basically, I need to be able to recvfrom() on my socket. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
I thought FTP died 10 years ago... Consider using either HTTP or SCP instead, or tunneling through SSH.

Otherwise, here appears to be a comprehensive explanation of the problem.

Share this post


Link to post
Share on other sites
Vista has a firewall configuration interface, where any administrator process can clear certain applications for certain ports. It's supposed to be used in the installer, to "clear the way" for the program at runtime.

This is a problem only in cases where:

1) The installation is not run with administrator privileges.
2) The application needs to bind to "random" ports at "random" times (which is a bad idea in general -- especially when working behind a router/NAT).

Check out MSDN on the Windows Firewall for more information.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!