The situation is this: I'd like to make a hole punching server for a game and I need to listen to UDP traffic. It will run on a Debian Squeeze VPS so I'm pretty flexible as far as possibilities go.
Everything is extremely basic: the sharing of information is done over http and the backend uses PHP and MySQL. So ideally (or rather, in a simpler and consistent manner) the UDP listener would just run a PHP script with a few parameters extracted from the packet and not return anything to the client.
What would be the best way to approach this? Are there any dangers regarding UDP I should be aware of, apart from the obvious possibility of flooding?