C
C
Coline2019-08-24 20:04:27
C++ / C#
Coline, 2019-08-24 20:04:27

Does SharpPcap have the features I need to write a firewall sniffer in C#?

There is a task - to write an under-sniffer-under-firewall. From a functional point of view, all that is required from the program:
1. Get a list of all running processes and find the one you are looking for (it seems that .NET has tools for this)
2. The desired process listens for UDP packets that it receives and sends
3. For each UDP packet, get the IP and content
4. Block incoming/outgoing packets for the desired process to the given IP address.
So the question is - will SharpPcap help in the implementation of 2-4 points?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question