In what way I can implement packet filtering function in C++/C#?

Posted by Network study on Programmers See other posts from Programmers or by Network study
Published on 2014-06-03T18:49:34Z Indexed on 2014/06/03 21:39 UTC
Read the original article Hit count: 149

Filed under:
|
|

Background: I am going to design a firewall-like application (with GUI) which will include several functions such as Packet sniffing and packet filtering. Both of the functions should be implemented to support different protocol levels including application, transport, network and link layer. I only know a little in C#.Net programming to perform the IP packet sniffing. It is also known that packet filtering requires the techniques in WFP or LSP and packet sniffing in application requires dll hooking.

Questions: I am not sure which programming language(either C++ or C#) would be suitable for designing such an application described above. If I want to implement the packet filtering function, any libraries will be needed?

edit01: Someone suggest that winDivert would be helpful, is it true?

© Programmers or respective owner

Related posts about c++11

Related posts about sockets