Click here to Skip to main content
Licence 
First Posted 5 Oct 2003
Views 225,065
Bookmarked 125 times

An Easy Firewall Application

By | 9 Oct 2003 | Article
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

About the Author

Jesus Oliva

Chief Technology Officer

Spain Spain

Member

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

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionWindows7 Pinmembercarlito_brigante1:18 29 Oct '11  
GeneralMy vote of 1 PinmvpDave Kreskowiak3:35 11 Oct '11  
QuestionWorks in XP and not Win7 PinmemberMember 776618016:32 18 Jun '11  
GeneralCan't drop the income packet!! Pinmemberpku20090:15 29 Dec '08  
Questionimp plzzzz help me Pinmembervivekpandey267:25 4 Dec '08  
AnswerRe: imp plzzzz help me PinmemberDhaann21:37 21 Feb '09  
GeneralFirewall inoperative in this situation PinmemberAlGeorge10:05 29 Feb '08  
GeneralRe: Firewall inoperative in this situation PinmemberAlGeorge10:16 29 Feb '08  
GeneralSample in VB.Net PinmemberMember 42882443:11 26 Feb '08  
GeneralFltdefs.h and Iphlpapi.h PinmemberMember 14612582:09 7 Dec '07  
GeneralPlease tell me why PinmemberMD8422:03 2 Jul '07  
GeneralRe: Please tell me why PinmemberManuel Soler (ModMa)11:21 4 Sep '07  
QuestionApplication name? PinmemberChemically Yours20:06 20 Jun '07  
Questionmfc application design? Pinmemberarefix20:40 8 Feb '07  
GeneralCan't load DLL in other computer PinmemberiManiac0:43 2 Feb '07  
GeneralWindows 98 PinmemberArkadiusz z Krakowa4:49 20 Dec '06  
Generalport filtering on LAN Pinmembertasleem1431:25 8 Aug '06  
hi i want to close only the http traffic i tried to use this application for that purpose but it did no do so,
i m using windoes 2000 server and on LAN.i m supplying my adress as the src and 0 on desitnation but it did not block any traffic.
when i use all maans 0 and option drop then it closes all things like netowrk,internet etc which i dont want.
i only want to block the internet traffic. had u tested that application and worked fine or what i m doing wrong? i will be thankful to you.
 
Tasleem Arif

Generalcannt Filter port Pinmembertasleem1430:39 8 Aug '06  
GeneralIf you know... PinmemberRalph Varjabedian21:14 29 Mar '06  
Generalfor linux firewall design Pinmemberabhikamune6:14 4 Mar '06  
GeneralRe: for linux firewall design PinmemberBrad Bruce7:20 4 Mar '06  
GeneralRe: for linux firewall design PinmemberAmit45123:51 23 Jul '07  
GeneralFirewall in vnisual c++ Pinmemberthe_enginer3:34 20 Feb '06  
Questionhow to drop packet Pinmembereltaweel1:47 29 Jun '05  
Questioncan this app works in bluetooth connection? PinmemberHuGo10114:27 21 Mar '05  

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.

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