473,803 Members | 3,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Firewall

would like to make firewall that checks all outgoing
traffic from my computer. This firewall should ask me to
allow or deny all outgoing traffic. Is it possible to make
such firewall using C# ?
If yes, can you give me some starting point where should I
go in .NET Framework (namespaces, or MSDN resources, ...)
to get started.
Thank you.
Nov 15 '05 #1
3 6777
Yes, that is possible. You'll have to get very comfortable with async
sockets.

This is no small undertaking you're talking about, but it's certainly
doable in any language. It would be a good academic excercise to do in
C# or Java.

Both have strong sockets support.

"Bohus" <Bo****@centrum .sk> wrote in message news:<02******* *************** ******@phx.gbl> ...
would like to make firewall that checks all outgoing
traffic from my computer. This firewall should ask me to
allow or deny all outgoing traffic. Is it possible to make
such firewall using C# ?
If yes, can you give me some starting point where should I
go in .NET Framework (namespaces, or MSDN resources, ...)
to get started.
Thank you.

Nov 15 '05 #2
Is this really possible to be done on one machine without using an NDIS
driver? Sorry to ask but I was interested in writing something liek this a
while ago and it seemed to be impossible to me. Eventually i ended up using
a whole pc as a firewall with two network cards that I bridged using my own
NAT which checked traffic as it did it.

Am i missing something really stupid lol? :)

Kieran

"Chris Hornberger" <ch***@chornbe. com> wrote in message
news:53******** *************** ***@posting.goo gle.com...
Yes, that is possible. You'll have to get very comfortable with async
sockets.

This is no small undertaking you're talking about, but it's certainly
doable in any language. It would be a good academic excercise to do in
C# or Java.

Both have strong sockets support.

"Bohus" <Bo****@centrum .sk> wrote in message

news:<02******* *************** ******@phx.gbl> ...
would like to make firewall that checks all outgoing
traffic from my computer. This firewall should ask me to
allow or deny all outgoing traffic. Is it possible to make
such firewall using C# ?
If yes, can you give me some starting point where should I
go in .NET Framework (namespaces, or MSDN resources, ...)
to get started.
Thank you.

Nov 15 '05 #3
Just for fun?-)

Maybe it's easier to go to www.kerio.com and get one ready firewall for free
for private use.

http://www.kerio.com/kpf_home.html
http://www.kerio.com/kpf_download.html

It will take care of all your dreams that you described.

As for C# idea... All good firewalls should be loaded BEFORE all stuff from
your computer, eat as less memory as possible, catch everything at the
lowest level. Can you do that using C#? I'm not sure. You should load .NET
at least to start this elephant. And it will eat your pc's memory - full
ahead!

And the last - when I tried to download one well-known firewall, I don't
want to write from what company, 'cause everybody knows this company as well
as me - it was over 30 Mbytes (installation package), over 100 or maybe 200
COM+ objects inside, that have been included into system registry, etc. The
firewall from Kerio takes in 10 times less, and... no heavy metal. If you
want to use all your RAM for your firewall... you're welcome.

Dmitri.

"Bohus" <Bo****@centrum .sk> wrote in message
news:02******** *************** *****@phx.gbl.. .
would like to make firewall that checks all outgoing
traffic from my computer. This firewall should ask me to
allow or deny all outgoing traffic. Is it possible to make
such firewall using C# ?
If yes, can you give me some starting point where should I
go in .NET Framework (namespaces, or MSDN resources, ...)
to get started.
Thank you.

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1579
by: Dean J. Garrett | last post by:
I have a site which offers documents (.doc, .pdf, etc.) for download. The user clicks on the link and is able to download the file or open it. What if the source location of the document is behind a firewall of a remote server (i.e. not the server running the ASP application)? How can the link be configured in such a way so that security parameters are passed to the firewall to authenticate the access. This must be seamless to the user,...
0
1404
by: Ryan Smith | last post by:
Hi All I have an app and in that app i have a registration program that i wrote that will send the users registration data to the server and then receive a response code back from the server and unlock the software through a registry entry Here is my problem. It seems that many of my users are having trouble due to new firewall applications and hardware devices that are blocking their computers from receiving the response code for the...
2
2786
by: Rajesh Kapur | last post by:
Hello, We use Informix and MySQL on linux/unix to drive our web application. SQL*Server is used only for backend enterprise applications within the firewall. I am trying to get the management to use SQL*Server outside the firewall. They tell me there are security issues with Microsoft products, including SQL*Server, that make it vulnerable to attacks outside the firewall. Can someone please point me to white papers/documentation that...
6
2368
by: dstewart | last post by:
I have 2 Suse 9.1 boxes with similar configurations. I'm in the process of moving some PHP code from one server (192.168.0.100) to another (192.168.0.102). MySQL is running on each server, and the same PHP code can access its respective localhost databases and make queries with no problem. However, the code on the old server (.100) can access a MySQL server (12.xx.xx.50) outside the firewall (192.168.0.1), while the code on the new...
1
2947
by: Information | last post by:
Hi, I am doing a course project now for practive xml. I heard from somewhere that xml request can go through firewall. currently in our school there is a firewall which only can log on by vpn when user is outside firewall. I want to create a web form which can save the data into the database which is inside the firewall. Do you think xml request can do that? can i create a asp.net web service then using xml request to save the data to the...
2
17989
by: Mahesh Devjibhai Dhola | last post by:
Can you please help me in my problem? I have a socket prog. application like http://www.codeproject.com/dotnet/csharpwhiteboard.asp My application is chat application like above architecture. I want to bypass firewall aswell as proxy if any on two chat clients like yahoo or msn can chat beyond proxy/firewalls...
7
4098
by: Randy Yates | last post by:
Is opening up port 5432 (R/W both directions) all that is required of a firewall in order to access a postgres database outside the firewall? -- % Randy Yates % "My Shangri-la has gone away, fading like %% Fuquay-Varina, NC % the Beatles on 'Hey Jude'" %%% 919-577-9882 % %%%% <yates@ieee.org> % 'Shangri-La', *A New World Record*, ELO http://home.earthlink.net/~yatescr
1
1660
by: Schalley Ben | last post by:
Hi First of all, this is my first post on a newsgroup so don't shoot me if I ask this in the wrong place. Here is the situation. I'm developing an asp.net application with access to a SQL Server 2000 on the companies network. On my development machine I have Bitdefender Internet Security v10 installed. With the Bitdefender Firewall disabled I have no problems in surfing and debugging the application. However when the firewall is...
1
2621
by: rada.lambretha | last post by:
Configuring Linux as a Firewall * Making installation choices * Introducing iptables * Using iptables commands * Simplifying things with firewall GUIs * Adding proxy functionality As Linux gains increasing acceptance in corporate datacenters and
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9565
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10317
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10295
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.