Contact: Web / Voice / Email / Tips
Simple Thoughts Blog - Java and Web Technologies

Simple solutions for complex problems.

 

Java Firewall Project

May 23rd, 2006 by Angsuman Chakraborty

I have been playing with the idea of a Java Firewall. So far I have implemented a fully functional port blocker using port hijacking. It scans for open ports on the network interface providing internet connection.

However port blocker doesn’t a firewall make. It is merely a baby step. We need to access operating system API to be able to block ports which do not allow hijacking. We also need stealth mode to prevent attackers from even detecting the existence of the computer. We need to and can easily block UDP traffic. Then comes application access control.
All of these can be done.

I evaluated several firewalls like ZoneAlarm or Agnitum Outpost and each of them lacks in some key aspect or other. In my experience their inability is most painful for power users. So we started this intern driven project.

The question is what would be the level of interest in the user community to support a Java Firewall project.


Tags: Computer Security, Headline News, Java Software, Technology, Web, Web Services | | RSS 2.0 | Trackback this Article | Email this Article

5 Responses to “Java Firewall Project”

  1. Kris Says:

    Writing a Java firewall could be difficult because of the complexity involved with JNI. Obviously you cant write a firewall without getting into the OS’s TCP stack. It also depends on which OS you are trying to implement. You might get a lot of help with Linux but with Windows you are pretty much on your own. But that said, there are couple of implementations I saw on codeproject using managed code. Because it is easy to get at OS level APIs with C# (PInvoke and C++/CLI) I would think implementing it in C# (for Windoes) would be relatively easy than Java.

  2. anjan bacchu Says:

    hi there,

    +1.

    just a moment ago, I saw someone expressing a desire for Java VOIP server. Now, you’re expressing a desire for a Firewall.

    Are we there yet ? What is going to be the overhead for a pure java implementation ? Will ordinary desktop users like it ?

    I can offer to test it on my box.

    BR,
    ~A

  3. Angsuman Chakraborty Says:

    > Are we there yet ?
    In my preliminary investigation and prototype we have all the technologies to develop a Firewall in Java for Windows. We will however need some native calls which can be easily taken care of.

    > What is going to be the overhead for a pure java implementation ?
    I don’t think performance will be an issue. In any case we always have the option to use native modules. I seriously doubt we will need it.

    > Will ordinary desktop users like it ?

    That my friend only time will tell. It will be more functional than any of the popular Firewall in market today.

    > I would think implementing it in C# (for Windoes) would be relatively easy than Java.

    There are libraries to simplify JNI.

  4. khairul Says:

    from my experience using java application it is slow and memory hungry. I have to upgrade more my RAM to ensure it’s running well.

  5. Angsuman Chakraborty Says:

    Khairul,

    “Java is slow” is an age old myth, not reality; get over it.

  6. David Martineau Says:

    I think there is a definite need for a firewall that can be easily managed by a consumer. Perhaps there is one out there and I have yet to find it. I like the idea of Java, simply because it is a language I am familiar with.

    Have you considered a Linksys/Linux/Java solution. Linksys as I understand it produced a version of their wireless router that can run linux. If you used linux for the OS communication and used Java to provide a web-based UI and to interact with linux and put the whole thing in a linksys like hardware– you might have something valuable.

    My opinion of security at the desktop level is low. It chews up system resources and gives consumers a false sense of control. Stateful packet inspection at a hardware based firewall with the ability to establish “trust zones” or “white lists” would be invaluable.

    D

Looking forward to hear your thoughts.



Please enter the code shown below ( to verify that you are human ) before you click Submit Comment.

No. 1 method to ethically increase your blog traffic and reach.

Translate

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPřeložit do Čech/CzechOversætte hen til Dansk/DanishKääntää jotta Finnish/FinnishLefordít -hoz Magyar/HungarianÞýða til Íslenska/IcelandicTraducir a Latinoamericano Español/Latin American Spanishtagapagsalin sa Filipino/FilipinoTłumaczyć wobec Polski/PolishA traduce la spre Român/RomanianPrevesti za Srpski/Serbiantolmačiti v slovenski/SlovenianÖversätta till Svensk/SwedishChyfieitha at Cymraeg/Welshtercüme etmek -e doğru Türk/TurkishPrevesti to Hrvatski/CroatianПревеждам към Българин/BulgarianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplifiedترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/Norwegian中文翻译/Chinese TraditionalTraduzir a Língua portuguesa brasileira/Brazilian PortugueseReddo ut Latin/Latin

Taragana Network

»Ctrl-S
»Enterprise Blog
»Free Book on Eye Care by Natural Therapy
»Health Care Blog
»Hot Computer Jobs Blog
»Pet Care & Grooming News and Tips
»Phil Law Blog
»Taragana - Software Outsourcing
»The Angsuman Chakraborty Blog
»The Diabetes Cure Blog
»The Eye Treatment Blog
»The Stem Cell Blog
»Weblog Hosting Blog
"The most incomprehensible thing about the world is that it is comprehensible." - Albert Einstein