This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Linux / UNIX and the fly likes network firewall for linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "network firewall for linux" Watch "network firewall for linux" New topic
Author

network firewall for linux

tilak d kumar
Greenhorn

Joined: May 10, 2008
Posts: 5
hello guys. im tilak from mangalore(india). im a final year engineering student and SCJP 1.4.
i recently finished developing a network firewall for redhat linux v9 in core java.
it uses the iptables tool.
it was a great experience.
i just wanted to thank all you members here. i had always come here to this forum when i had doubts about anything. thank you all..


A little more than useless...
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Thats cool that you could make one. Have you tested it? if so, how did you test it?
tilak d kumar
Greenhorn

Joined: May 10, 2008
Posts: 5
yes Sir... i have tested it... i did the testing at college..
we got a LAN in our computer laboratory..
i simulated the internet on one side of the firewall and a LAN on the other side...
and everything just worked
when everything worked it was a moment of glory for me. it was the culmination of all the sleepless nights i have had.. it was a great day...
im just too happy about the project...
tilak d kumar
Greenhorn

Joined: May 10, 2008
Posts: 5
hey guys.. can i share this with anybody. im ready to give this to anybody who is interested...
tilak d kumar
Greenhorn

Joined: May 10, 2008
Posts: 5
i have a doubt. can anyone please answer.. is it legal for me to share the source code of my own project with anyone else here. i hope it isn't against any rules of this forum...
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Am I correct to assume this is really a front end, perhaps GUI, to generate the iptable rules?

Those rules are nearly opague, so a tool is a great thing.
I've used 'shorewall' and 'guarddog' with success in the past

Originally posted by tilak d kumar:
i have a doubt. can anyone please answer.. is it legal for me to share the source code of my own project with anyone else here. i hope it isn't against any rules of this forum...


In general, folks post code all the time. I'm not a sherrif, so I can't answer officially.

Most folks put some sort of license terms at the top of the code, in a comment, saying "this code is public domain" or "this is released with Apache license" etc.

if its big, you probably want to host it somewhere else, and just post a link.
tilak d kumar
Greenhorn

Joined: May 10, 2008
Posts: 5
thanks for the reply Pat.
it is a GUI for the user but i would rather say that there is a lot of back-end logic involved
it is a jar file and has around 6,000 lines of code..
it isnt very big in size...
[ May 11, 2008: Message edited by: tilak d kumar ]
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
tilak, I just pm'd you. If it is small and you wrote it yourself - just put it up. If there are any issues we have plenty of very smart and well informed moderators for edge conditions.



{ message edit: 6000 lines is probably too much for posting. It will be the logic that we are interested in. How big is the logic? }
[ May 11, 2008: Message edited by: Nicholas Jordan ]

"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: network firewall for linux