i want to write an application for dropping some packets from some specific srcIP address.
i mean i want to write and run an application on a windows system that check all packet send requests from other applications that are run on that system and get srcIP address of that send requests and compare it with an IP address ; if the ip address was not XXX.XXX.XXX.XXX drop the packet before it send .
can anyone please help me to find the ways of doing it ?
is there anyone that have any c# source of it ?
thanks