Re: rmi connection

Eric Noriega <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Organization The George Washington University, Department of Computer Science
Message-ID <[email protected]>
    I'm not sure what the benefit of allowing remote X connections would
be when using RMI.  This seems like a unneeded opening of a potential
attack.  The firewall settings would probably need to be tweaked to
allow related connections in; even this should be done with care.

Carl Cook wrote:

>On Wed, 12 Jan 2005 16:40:10 -0700, haipeng du <[email protected]> wrote:
>
>
>
>>Everyone:
>>I create rmi server and client by using spring framework. The problem
>>is that I can not connect to rmi server when the server is running on
>>Fedora core 2. I have already create a policy file that grant all
>>permissions, just like:
>>grant {
>>permission java.security.AllPermission;
>>};
>>If i move my rmi to other operating system, such as debian (with x
>>window), everything is good. I bet that because my operating system
>>network setting. But I do not know how to fix that. Could you give me
>>some ideas about these?
>>Thanks a lot.
>>
>>--
>>Haipeng Du
>>Software Engineer
>>Comphealth,
>>Salt Lake City
>>
>>
>
>Hi,
>
>Fedora Core and RMI do not get on very well by default.
>
>After installing FC3 from RH9, I noticed that I could not make RMI
>connections any more (connection refused).
>
>There are two main problems:
>
>1. By default, gdm does not allow remote X connections
>
>2. By default, the FC firewall does not allow RMI connections (the firewall
> is not so paranoid by default in RH9).
>
>Here's what I did to configure the server:
>
>1. As root, run gdmconfig and deselect the option that says
>"Security->Always disallow TCP connections to X server". You could also edit
>the gdm .config file and restart X to fix this problem.
>
>2. Run the command "iptables -F" as root. This deletes the firewall rule
>that bans incoming X connections. This command also deletes all other
>firewall rules on that machine, but hey, a general solution is always the
>best option, apparently.
>
>Hope that helps!
>
>Thanks,
>~Carl.
>
>p.s. This message could also be posted to the main networking mailing list
>if people are having problems with FC and Java networking.
>
>===========================================================================
>To unsubscribe, send email to [email protected] and include in the body
>of the message "signoff RMI-USERS".  For general help, send email to
>[email protected] and include in the body of the message "help".
>
>For a list of frequently asked RMI questions please refer to:
>http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html
>
>To view past RMI-USERS postings, please see:
>http://archives.java.sun.com/archives/rmi-users.html
>
>

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.