Results 1 to 2 of 2
  1. #1
    koxy is offline Member
    Join Date
    Mar 2010
    Posts
    9
    Rep Power
    0

    Default Firewall Using java?

    I want to develop a firewall using java..
    according to me java works at application level and cannot block traffic..it can only generate alarms by processing to spoofed packets..
    So i thought to generate a JAVA firewall which would be deployed on Gateway and hence can block the packet at gateway..
    plz let me know that my thought process is correct or not..
    if correct , plz suggest me , how to proceed for the same..

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    I attempted that before... there's a library called JPCAP which you can modify the packet and send it back to a chosen LAN card...

    My setup was to have 2 lan cards on a computer, lan1 is to the internet and lan2 is to the sub network... the computer is meant to act as a firewall where you can allow or block packets from lan1 which is coming from the internet so as the lan2 from the subnetwork... but that experiment failed.

    2nd is you are about to use the WIndows Filtering Platform

    by using JNI you can now control the packets

    and on linux, iptables is already there... you can control it by executing its command from Java
    freedom exists in the world of ideas

Similar Threads

  1. Error in compiling Firewall source code
    By ajib85 in forum Networking
    Replies: 8
    Last Post: 10-02-2008, 05:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •