Results 1 to 2 of 2
Thread: Firewall Using java?
- 03-24-2010, 08:19 AM #1Member
- Join Date
- Mar 2010
- Rep Power
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..
- 03-26-2010, 04:17 PM #2
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 Javafreedom exists in the world of ideas
- By ajib85 in forum NetworkingReplies: 8Last Post: 10-02-2008, 05:37 AM