Writing a filter for incoming connections

Posted by Kornel Kisielewicz on Stack Overflow See other posts from Stack Overflow or by Kornel Kisielewicz
Published on 2010-01-08T08:55:39Z Indexed on 2010/03/16 17:11 UTC
Read the original article Hit count: 212

Filed under:
|
|
|

I'm using C++/boost::asio under Win7.

I'm trying to "sniff" trafic over a given TCP/IP port. Hence, I'd like to listen on that port, receive messages, analyze them, but also immidately allow them to flow further, as if I never intercepted them. I want them to sink into the program that normally listens and connects on that port. Imagine a transparent proxy, but not for HTTP.

I'd rather find a code-based solution, but barring that, maybe you would suggest a tool?

© Stack Overflow or respective owner

Related posts about c++

Related posts about boost-asio