Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Firewall for Java?

0 views
Skip to first unread message

Siebert Kunze

unread,
Aug 31, 2010, 8:07:34 AM8/31/10
to
Hi guys,

is there a possibility for firewalls to control the traffic of different
java applications? I mean, some Java Applications are even meant to run as a
system service in the background - quite a reason to worry about! As far as
I know, the rules of common firewalls are based on the java virtual machine
executable. So is there a possibility to handle different instances of a
java virtual machine or - the much better solution - identify the running
java application within the java vm to assign a java application based
firewall rule? Ina consistent way, of course...

Thanks for comment suggestion an guesses,

Siebert

Arne Vajhøj

unread,
Aug 31, 2010, 9:44:43 AM8/31/10
to

Serious firewalls are separate boxes that controls traffic based
on addresses, protocols and ports. They work fine with multiple
Java apps.

Some smart sales people have convinced private consumers that
they get value of running a "software firewall" on their PC.
Those can check on executable running. But I don't think
they check the command line arguments, so all instances of
java.exe will be considered identical. If you need to
distinguish then write your own app specific wrapper to be
used instead of java.exe (that is pretty simple using JNI).
But it seems like a rather pointless exercise to me.

Arne


Donkey Hottie

unread,
Aug 31, 2010, 9:16:00 AM8/31/10
to

I believe that is not possible. The java code is just data for the
java-executable, and firewalls to not make any difference on the data.

--
You have the capacity to learn from mistakes. You'll learn a lot today.

0 new messages