Need to develop a driver and a console application and to ensure their interaction.
The driver should capture all network traffic on the machine on specific ports (for all network interfaces) and redirect it to console application. Console application receives data from the driver, parses data (HTTP,POP3,FTP), keeps logs, pass or blocks traffic.
Commands of console application:
-p (ports) 80,110,21;
-r (redirect) [source_port] [source_ip] [dest_port] [dest_ip],
-b (block) [source_ip] [dest_ip]
example -r 110 [url removed, login to view] 5678 [url removed, login to view] (ie forwards the traffic from port 110 ip - [url removed, login to view] on the port 5678 with the ip - [url removed, login to view]);
Programming languages: C, C++, ASM
Need to use the NDIS technology