Welcome to Dream.In.Code
Getting Java Help is Easy!

Join 132,638 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,074 people online right now. Registration is fast and FREE... Join Now!




Firewall

 
Reply to this topicStart new topic

Firewall, Firewall using java

javagoutom
post 12 Oct, 2008 - 07:29 AM
Post #1


New D.I.C Head

*
Joined: 20 Sep, 2007
Posts: 25


My Contributions


Hi m developing a interprocess communication system. I developed the server and client part but now i want to implement a firewall to block the unauthorised access from a unknown source and all the transaction should be written to a log file using java. so m thinking of developing an interface which inturn set the rule to the windows firewall. so plz help me to complete my project.


THANK YOU.....................
User is offlineProfile CardPM

Go to the top of the page

Martyr2
post 12 Oct, 2008 - 09:07 AM
Post #2


Programming Theoretician

Group Icon
Joined: 18 Apr, 2007
Posts: 5,062



Thanked 175 times

Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions


It is site policy that must first show a "best effort" attempt at solving the problem yourself. This means that we do NOT do people's homework for them or do custom programming for people. So if you have something put together be sure to show us your code (with code tags) and then we can help move you in the right direction.

But as for actually creating a firewall out of Java, research suggests that you actually need a language which can go down the OS level and intercept all socket traffic. I believe this would be extremely hard to do with Java and perhaps more suitable for C or C++ at best. I have not actually seen a Java firewall either and that leads me to believe that one would not really work.

I believe programs like ZoneAlarm are written in C++ and is probably hooking into the OS through win32 api calls etc.

But that is all I know on the subject. smile.gif
User is offlineProfile CardPM

Go to the top of the page

pbl
post 12 Oct, 2008 - 09:50 AM
Post #3


D.I.C Lover

Group Icon
Joined: 6 Mar, 2008
Posts: 2,982



Thanked 190 times

Dream Kudos: 75
My Contributions


Have a look there

http://www.dreamincode.net/forums/index.ph...&hl=network
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 04:23AM

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month