There is previous little on the google on this subject other than people asking this very same question.
How would I get started writing my own firewall?
I\'m lo
The usual approach is to use API hooking. Google can teach you that. Just hook all important networking stuff, like connect's and listens's, and refuse what you want.
connect
listens