Click here to Skip to main content
6,292,426 members and growing! (9,600 online)
Email Password   helpLost your password?
Languages » C / C++ Language » General     Intermediate

An Easy Firewall Application

By Jess O.

Firewall application developed using Packet Filtering API.
VC6, VC7, VC7.1Win2K, WinXP, Win2003, MFC, Dev
Posted:5 Oct 2003
Updated:9 Oct 2003
Views:137,663
Bookmarked:97 times
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
37 votes for this article.
Popularity: 7.31 Rating: 4.66 out of 5
1 vote, 2.7%
1

2
2 votes, 5.4%
3
2 votes, 5.4%
4
32 votes, 86.5%
5

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

About the Author

Jess O.


Member
To summarize: learn, learn, learn... and then try to remember something I.... I don't Know what i have to remember...
Occupation: Web Developer
Location: Spain Spain

Other popular C / C++ Language articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 25 of 62 (Total in Forum: 62) (Refresh)FirstPrevNext
GeneralCan't drop the income packet!! Pinmemberpku20091:15 29 Dec '08  
Questionimp plzzzz help me Pinmembervivekpandey268:25 4 Dec '08  
AnswerRe: imp plzzzz help me PinmemberDhaann22:37 21 Feb '09  
GeneralFirewall inoperative in this situation PinmemberAlGeorge11:05 29 Feb '08  
GeneralRe: Firewall inoperative in this situation PinmemberAlGeorge11:16 29 Feb '08  
GeneralSample in VB.Net PinmemberMember 42882444:11 26 Feb '08  
GeneralFltdefs.h and Iphlpapi.h PinmemberMember 14612583:09 7 Dec '07  
GeneralPlease tell me why PinmemberMD8423:03 2 Jul '07  
GeneralRe: Please tell me why PinmemberManuel Soler (ModMa)12:21 4 Sep '07  
GeneralApplication name? PinmemberChemically Yours21:06 20 Jun '07  
Generalmfc application design? Pinmemberarefix21:40 8 Feb '07  
GeneralCan't load DLL in other computer PinmemberiManiac1:43 2 Feb '07  
GeneralWindows 98 PinmemberArkadiusz z Krakowa5:49 20 Dec '06  
Generalport filtering on LAN Pinmembertasleem1432:25 8 Aug '06  
Generalcannt Filter port Pinmembertasleem1431:39 8 Aug '06  
GeneralIf you know... PinmemberRalph Varjabedian22:14 29 Mar '06  
Generalfor linux firewall design Pinmemberabhikamune7:14 4 Mar '06  
GeneralRe: for linux firewall design PinmemberBrad Bruce8:20 4 Mar '06  
GeneralRe: for linux firewall design PinmemberAmit4510:51 24 Jul '07  
GeneralFirewall in vnisual c++ Pinmemberthe_enginer4:34 20 Feb '06  
Generalhow to drop packet Pinmembereltaweel2:47 29 Jun '05  
Generalcan this app works in bluetooth connection? PinmemberHuGo10115:27 21 Mar '05  
GeneralRe: can this app works in bluetooth connection? PinmemberManir21:54 31 Jan '06  
GeneralAbout permitting some packet Pinmemberroversbig0:38 14 Jan '05  
GeneralRe: About permitting some packet PinmemberAmit4510:54 24 Jul '07  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 9 Oct 2003
Editor: Smitha Vijayan
Copyright 2003 by Jess O.
Everything else Copyright © CodeProject, 1999-2009
Web16 | Advertise on the Code Project