Solved

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

Posted on 2004-08-17
5
192 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 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