i need to know if it's possible to write a full firewall with c#. Not just
closing/opening ports , but application capable of what can be achieved by
using norton firewall, zone alarm, kerio etc. , or EVEN iptables (linux
:> ). Please, answer me. All knowledge will be extremely precious.
slawekg
p.s.
sorry for cross-posting 6 1925
Sure, you can do it with C# along with a generous portion of Platform Invoke
.. But why would you want to? Those organizations have teams of developers
who are experts in the field. What their team of a dozen people can do in 2
years, would take you at least 24 years. Imagine how that would look if you
compare to an organization like Norton who may have 100 or more engineers
writing firewall products.
DalePres
"Skur" <ol***@NOSPA.in fo> wrote in message
news:cv******** **@nemesis.news .tpi.pl... i need to know if it's possible to write a full firewall with c#. Not just closing/opening ports , but application capable of what can be achieved by using norton firewall, zone alarm, kerio etc. , or EVEN iptables (linux :> ). Please, answer me. All knowledge will be extremely precious. slawekg p.s. sorry for cross-posting
Decent Firewall's operate at the driver level, and you can't use C# or any
other managed language at that level, so the answer is no.
Willy.
"Skur" <ol***@NOSPA.in fo> wrote in message
news:cv******** **@nemesis.news .tpi.pl... i need to know if it's possible to write a full firewall with c#. Not just closing/opening ports , but application capable of what can be achieved by using norton firewall, zone alarm, kerio etc. , or EVEN iptables (linux :> ). Please, answer me. All knowledge will be extremely precious. slawekg p.s. sorry for cross-posting
ok, what about managed c++ ?
and i sure know i can't compare with norton, i was more asking for
possibility to achieve the same abilities.
thanks!!
Użytkownik "Willy Denoyette [MVP]" <wi************ *@pandora.be> napisał w
wiadomo¶ci news:uK******** ******@tk2msftn gp13.phx.gbl... Decent Firewall's operate at the driver level, and you can't use C# or any other managed language at that level, so the answer is no.
Willy.
Managed C++ is also a managed language, right?
The core of a Firewall is a Packet filter driver, so your only option on
Windows is C/C++ and the DDK.
Willy.
"Skur" <ol***@NOSPA.in fo> wrote in message
news:cv******** **@nemesis.news .tpi.pl... ok, what about managed c++ ? and i sure know i can't compare with norton, i was more asking for possibility to achieve the same abilities. thanks!!
Użytkownik "Willy Denoyette [MVP]" <wi************ *@pandora.be> napisał w wiadomo¶ci news:uK******** ******@tk2msftn gp13.phx.gbl... Decent Firewall's operate at the driver level, and you can't use C# or any other managed language at that level, so the answer is no.
Willy.
"uru" <ur*@fuckyou.pl > wrote in message
news:cv******** **@nemesis.news .tpi.pl... Managed C++ is also a managed language, right? The core of a Firewall is a Packet filter driver, so your only option on Windows is C/C++ and the DDK.
sorry! i didn't see that, my fault... if it's only about packet filter, why can't use the one from windows 2000? this articles it all: http://www.codeproject.com/tools/firewallpapi.asp http://www.codeproject.com/managedcp...lteringnet.asp
http://www.txakynetwork.tk/
so again: if it only would be packet filter, it wouldn't be a problem. but it's not. for example, what's the way to open/close ports (have all the control over them)... so Willy?
No it's not simply about packet filtering. What you should do is develop a
NDIS Intermediate driver (what I called a Packet Filter Driver). Such driver
sits between the protocol driver and the NDIS miniport driver, anything else
runs to high in the network protocol stack to be effective.
The articles you are refering to expain how one can use the W2K/W2K3 Packet
filter API's to edit the blocked IP/Port tables in the "Protocol Filter
Driver" (only available on W2K/W2K3), this is however not enough to
implement a decent firewall. This is the reason why W2K3 SP1 will include a
Firewall just like Windows XP SP2.
So, why would you write one yourself?
Willy. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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...
|
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...
|
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...
| |
by: Bohus |
last post by:
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.
|
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...
|
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> ...
|
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...
|
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
|
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...
| |
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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...
| |