Click here to Skip to main content
11,582,850 members (78,372 online)
Click here to Skip to main content

An Easy Firewall Application

, 9 Oct 2003 284.4K 16.3K 136
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...

You may also be interested in...

Comments and Discussions

Generalcannt Filter port Pin
tasleem1438-Aug-06 0:39
membertasleem1438-Aug-06 0:39 
GeneralIf you know... Pin
Ralph Varjabedian29-Mar-06 21:14
memberRalph Varjabedian29-Mar-06 21:14 
Generalfor linux firewall design Pin
abhikamune4-Mar-06 6:14
memberabhikamune4-Mar-06 6:14 
GeneralRe: for linux firewall design Pin
Brad Bruce4-Mar-06 7:20
memberBrad Bruce4-Mar-06 7:20 
Check out[^]

There are links to Linux distributions focusing on routing / firewalls, as well as a showcase of what others have done.

GeneralRe: for linux firewall design Pin
Amit45123-Jul-07 23:51
memberAmit45123-Jul-07 23:51 
GeneralFirewall in vnisual c++ Pin
the_enginer20-Feb-06 3:34
memberthe_enginer20-Feb-06 3:34 
Questionhow to drop packet Pin
eltaweel29-Jun-05 1:47
membereltaweel29-Jun-05 1:47 
Questioncan this app works in bluetooth connection? Pin
HuGo101121-Mar-05 4:27
memberHuGo101121-Mar-05 4:27 
AnswerRe: can this app works in bluetooth connection? Pin
Manir31-Jan-06 20:54
memberManir31-Jan-06 20:54 
GeneralAbout permitting some packet Pin
roversbig13-Jan-05 23:38
memberroversbig13-Jan-05 23:38 

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
Web03 | 2.8.150603.1 | Last Updated 10 Oct 2003
Article Copyright 2003 by Jesus Oliva
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid