Click here to Skip to main content
15,616,163 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi, How can I write a firewall that controls traffics? My mean is how my firewall can undrestands that a packet recieved from an IP. I think I must use device drivers. Is it true?:confused:

(I want to know how software firewall detects and recieves packets as the first app in windows(for example) and after analyzing sets them free for other app use?)
Updated 6-Feb-10 0:23am

1 solution

You are correct that most firewalls use a driver which intercepts the packets. This is an enormously complex and tricky thing to try and do. If all you want to do is analyse packets rather than firewall them - you could try something like windump.[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900