One thing that I don't understand about peer to peer botnets, is how a bot stays connected to the network considering the protocol used is UDP.
Since the UDP is connectionless, and the bot is behind a firewall, the packets wouldn't reach it. What would happen then?