Solved

build a firewall, Links........

Posted on 2004-08-17
5
195 Views
Last Modified: 2013-11-16
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
5 Comments
 
LVL 23

Expert Comment

by:Tim Holman
ID: 11829181
I would recommend you try with Linux instead.  Windows is too closed source to be of any use to any programmers just starting out with this sort of thing.
0
 

Author Comment

by:a_hic
ID: 11858332
thank you Tim, the problem is that I started with windows since several weeks I used  "Soket Block" and "Soket raw" libraries , but  they made alotof problems I cauldn't get them for free, so I thought to use other libraries or other thing on Windows because my project is under Windows!!
any help??
0
 
LVL 16

Expert Comment

by:OliWarner
ID: 11874776
Well wouldnt a basic version of a firewall just need to listen on selected ports and do nothing with the recieved data.
There is a bit in the networking lib of .net that'll allow you to do this.
0
 

Author Comment

by:a_hic
ID: 13901199
ty to download this file from intellipharm.net/red1.cpp
0
 

Accepted Solution

by:
toumir earned 500 total points
ID: 14123452
To build a firewall on Windows you must Interact with NDIS, see  http://www.filseclab.com/eng/products/sourcecode.htm , also look at sourceforge.net you'll have a lot off source code, You can use a low level by using Winpcap, I don't know if you can block traffic with it,
0

Featured Post

Are You Ransomware's Next Victim?

Worried about ransomware attacks hitting your organization?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with WatchGuard Total Security!

Question has a verified solution.

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

Suggested Solutions

To setup a SonicWALL for policy based routing to be used with the Websense Content Gateway there are several steps that need to be completed. Below is a rough guide for accomplishing this. One thing of note is this guide is intended to assist in the…
The DROP (Spamhaus Don't Route Or Peer List) is a small list of IP address ranges that have been stolen or hijacked from their rightful owners. The DROP list is not a DNS based list.  It is designed to be downloaded as a file, with primary intention…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

737 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