Link to home
Start Free TrialLog in
Avatar of a_hic
a_hic

asked on

Firewalls (filtring) programming

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,
Avatar of grg99
grg99

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.

ASKER CERTIFIED SOLUTION
Avatar of str_ek
str_ek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial