Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Firewalls (filtring) programming

Posted on 2004-08-17
2
Medium Priority
?
284 Views
Last Modified: 2010-04-01
Hi all,
I'm a student, I want to  build a firewall (even basic) for Windows OS, I want to use C++ (Builder) can you help me in:
-understanding the firewall (fitring) mechanism under Widows
-geting some source code in C++
any Idea or links are appreciated,

I tried to do it but I found it very diffecult for windows, I ound some sourec code but they aren't well explained,

thank you in advance,
0
Comment
Question by:a_hic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Expert Comment

by:grg99
ID: 11821877
I'd say FORGET IT!

It's a many-month project at least.  And you have to know a whole lot about TCP/IP protocols, down to the bit level.

AND if it doesnt work first-time, yo have no idea why, because TCP/IP never returns any error messages if it receives a mal-formed packet.  Makes it nearly impossible to debug your code.

If you must, I'd look at the source code from the Linux firewall, ipfilters, available with any of the Linux distros.  It's rather huge, don't say I didnt warn you.

0
 
LVL 3

Accepted Solution

by:
str_ek earned 500 total points
ID: 11826596
it's not so hard if you aim for a simple project

take look at these ...
http://sourceforge.net/projects/firewallpapi/ - that's quite advanced one. source aviable

and consult further with this tcp/ip resources bible
http://www.private.org.il/tcpip_rl.html

it will not be a pleasure, and a 5 min snap-code... prepare for some decent reseach on actual tcp/ip basis...

for more advanced info about nowdays tendences in firewall development i advocate the http://www.netfilter.org/ it's home of iptables project - currently most common filtering software for linux os... there's a lot of info down there, just dig it up!

just a friend to friend suggestion..if it's not to late, change the projet ;)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question