Click here to Skip to main content
13,048,035 members (70,777 online)
Click here to Skip to main content
Add your own
alternative version

Stats

326K views
19K downloads
140 bookmarked
Posted 5 Oct 2003

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

Introduction

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.

License

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

Share

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...

http://www.olivacorner.com

You may also be interested in...

Pro
Pro

Comments and Discussions

 
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 
GeneralRe: About permitting some packet Pin
Amit45123-Jul-07 23:54
memberAmit45123-Jul-07 23:54 
Generalpacket api Pin
Irish_GUI31-Mar-04 8:26
memberIrish_GUI31-Mar-04 8:26 
QuestionHow do I restore my setting after using this? Pin
biny2-Jan-04 19:06
memberbiny2-Jan-04 19:06 
AnswerRe: How do I restore my setting after using this? Pin
Jesús O.5-Jan-04 9:00
memberJesús O.5-Jan-04 9:00 
GeneralRe: How do I restore my setting after using this? Pin
biny5-Jan-04 21:45
memberbiny5-Jan-04 21:45 
GeneralA Firewall in C# Pin
palamr1-Jan-04 1:58
memberpalamr1-Jan-04 1:58 
GeneralRe: A Firewall in C# Pin
Jesús O.1-Jan-04 5:15
memberJesús O.1-Jan-04 5:15 
GeneralRe: A Firewall in C# Pin
shunlong24-Apr-04 2:42
membershunlong24-Apr-04 2:42 
GeneralRe: A Firewall in C# Pin
Jesús O.24-Apr-04 6:01
memberJesús O.24-Apr-04 6:01 
Generalan Error Pin
raj_123k27-Dec-03 2:34
memberraj_123k27-Dec-03 2:34 
GeneralRe: an Error Pin
Jesús O.27-Dec-03 5:16
memberJesús O.27-Dec-03 5:16 
GeneralDrop incoming packet. Pin
chainat20-Nov-03 1:13
memberchainat20-Nov-03 1:13 
GeneralRe: Drop incoming packet. Pin
Jesús O.20-Nov-03 6:44
memberJesús O.20-Nov-03 6:44 
GeneralRe: Drop incoming packet. Pin
tasleem1438-Aug-06 1:05
membertasleem1438-Aug-06 1:05 
GeneralRe: Drop incoming packet. Pin
pku200929-Dec-08 0:10
memberpku200929-Dec-08 0:10 
Generalclosing a port Pin
andrewgs7316-Nov-03 21:44
sussandrewgs7316-Nov-03 21:44 
GeneralRe: closing a port Pin
Jesús O.17-Nov-03 0:12
memberJesús O.17-Nov-03 0:12 
GeneralRe: closing a port Pin
andrewgs7318-Nov-03 1:01
memberandrewgs7318-Nov-03 1:01 
GeneralRe: closing a port its important plz [modified] Pin
tasleem1438-Aug-06 0:56
membertasleem1438-Aug-06 0:56 
GeneralRe: closing a port Pin
tasleem1438-Aug-06 1:09
membertasleem1438-Aug-06 1:09 
Generalcompilation error Pin
sherrytang23-Oct-03 16:42
membersherrytang23-Oct-03 16:42 
GeneralRe: compilation error Pin
Jesús O.24-Oct-03 1:48
memberJesús O.24-Oct-03 1:48 
GeneralRe: compilation error Pin
chainat21-Nov-03 3:52
memberchainat21-Nov-03 3:52 
GeneralHelp me Pin
Mourad DEBBAH21-Oct-03 5:44
memberMourad DEBBAH21-Oct-03 5:44 
GeneralRe: Help me Pin
Jesús O.22-Oct-03 2:44
memberJesús O.22-Oct-03 2:44 
GeneralRe: Help me [modified] Pin
tasleem1438-Aug-06 1:15
membertasleem1438-Aug-06 1:15 
QuestionPure C# Version? Pin
SteveC-A921-Oct-03 4:00
memberSteveC-A921-Oct-03 4:00 
AnswerRe: Pure C# Version? Pin
Jesús O.22-Oct-03 2:51
memberJesús O.22-Oct-03 2:51 
Generaljust information :) Pin
ceris13-Oct-03 16:56
memberceris13-Oct-03 16:56 
GeneralRe: just information :) Pin
Irish_GUI1-Apr-04 3:00
memberIrish_GUI1-Apr-04 3:00 
GeneralRe: just information :) Pin
sreeju22-Apr-07 8:23
membersreeju22-Apr-07 8:23 
GeneralDrop (packet) vs. Forward question Pin
JonTampa8-Oct-03 6:52
memberJonTampa8-Oct-03 6:52 
GeneralRe: Drop (packet) vs. Forward question Pin
Jesús O.9-Oct-03 5:53
memberJesús O.9-Oct-03 5:53 
GeneralRe: Drop (packet) vs. Forward question Pin
tasleem1438-Aug-06 1:19
membertasleem1438-Aug-06 1:19 
GeneralStateful firewall Pin
Jörgen Sigvardsson7-Oct-03 2:25
memberJörgen Sigvardsson7-Oct-03 2:25 
GeneralRe: Stateful firewall Pin
Jesús O.7-Oct-03 2:54
memberJesús O.7-Oct-03 2:54 
GeneralVery useful tool Pin
0rc6-Oct-03 20:44
member0rc6-Oct-03 20:44 
GeneralRe: Very useful tool Pin
Anonymous6-Oct-03 23:29
sussAnonymous6-Oct-03 23:29 

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

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

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