I need to allow people to connect to my box, and then drop connections after a few seconds, regardless of whether the client is submitting data. Is this possible?
In addition, can I create a completely fake server? (i.e. only allow in-memory changes of files, to fool any attackers connecting into thinking that the server is real?)