Click here to Skip to main content
Click here to Skip to main content

An Easy Firewall Application

, 9 Oct 2003
Rate this:
Please Sign up or sign in to vote.
Firewall application developed using Packet Filtering API.

Sample Image - firewallpapi.jpg


When I published my articles about firewall development, I received some e-mails about how to develop a complete firewall solution using the methods described. With this tool I want to give these users an easy example of packet filtering utility.

In this solution I have used Packet Filtering API for Microsoft Windows 2000 and above. I have developed a MFC class wrapper for this API. With this class, I make a simple MFC application that allows a user to set filter rules in local interfaces.

If you want to know more about Packet Filtering API, you can read my article Packet Filtering in .NET. Feel free to e-mail me if you want to know more about this application.

Update history

  • October 6, 2003.- Initial release. Version 1.0.
  • October 9, 2003.- Added support for "default action". Version 1.1.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Jesus Oliva
Chief Technology Officer
Spain Spain
To summarize: learn, learn, learn... and then try to remember something I.... I don't Know what i have to remember...

Comments and Discussions

Questioncan this app works in bluetooth connection? PinmemberHuGo101121-Mar-05 5:27 
AnswerRe: can this app works in bluetooth connection? PinmemberManir31-Jan-06 21:54 
GeneralAbout permitting some packet Pinmemberroversbig14-Jan-05 0:38 
GeneralRe: About permitting some packet PinmemberAmit45124-Jul-07 0:54 
Generalpacket api PinmemberIrish_GUI31-Mar-04 9:26 
QuestionHow do I restore my setting after using this? Pinmemberbiny2-Jan-04 20:06 
AnswerRe: How do I restore my setting after using this? PinmemberJesús O.5-Jan-04 10:00 
GeneralRe: How do I restore my setting after using this? Pinmemberbiny5-Jan-04 22:45 
GeneralA Firewall in C# Pinmemberpalamr1-Jan-04 2:58 
GeneralRe: A Firewall in C# PinmemberJesús O.1-Jan-04 6:15 
GeneralRe: A Firewall in C# Pinmembershunlong24-Apr-04 3:42 
GeneralRe: A Firewall in C# PinmemberJesús O.24-Apr-04 7:01 
Generalan Error Pinmemberraj_123k27-Dec-03 3:34 
GeneralRe: an Error PinmemberJesús O.27-Dec-03 6:16 
GeneralDrop incoming packet. Pinmemberchainat20-Nov-03 2:13 
GeneralRe: Drop incoming packet. PinmemberJesús O.20-Nov-03 7:44 
GeneralRe: Drop incoming packet. Pinmembertasleem1438-Aug-06 2:05 
GeneralRe: Drop incoming packet. Pinmemberpku200929-Dec-08 1:10 
Generalclosing a port Pinsussandrewgs7316-Nov-03 22:44 
GeneralRe: closing a port PinmemberJesús O.17-Nov-03 1:12 
GeneralRe: closing a port Pinmemberandrewgs7318-Nov-03 2:01 
GeneralRe: closing a port its important plz [modified] Pinmembertasleem1438-Aug-06 1:56 
GeneralRe: closing a port Pinmembertasleem1438-Aug-06 2:09 
Generalcompilation error Pinmembersherrytang23-Oct-03 17:42 
GeneralRe: compilation error PinmemberJesús O.24-Oct-03 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150414.1 | Last Updated 10 Oct 2003
Article Copyright 2003 by Jesus Oliva
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid