control process network I/O

M

-[Myth]-

I have a closed source server program (win32, console) that i would like to
add some additional features to. I already have code to redirect stdin,out
etc so i can control it in that way, but i would also like to have it set
up so that all incoming connections are accepted by my parent process,
which then checks that they are not from banned IPs etc and then just lets
them pass through to the server. I would then be able to implement new
features by catching all incoming messages starting with a certain code and
doing whatever must be done...

I hope you can under stand all that :)

I'm thinking that this must be possible because software firewalls (eg
ZoneAlarm) do roughly the same thing.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,138
Messages
2,570,801
Members
47,347
Latest member
RebekahStu

Latest Threads

Top