connection multiplexing

nicole <[email protected]>
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
Not sure where else to post this, I don't know of a lot of java
communities that have at least *some* activity ;o)

This one comes from my husband, who is working on attempting to connect
RMI (with backconnects) over one single port due to firewall constraints.
With the increasing prevalence of desktop firewalls, RMI's just not
working, but we want to eek as much out of it as we can without moving to
a new protocol.

Any ideas are welcome.

Here is his original message:

In this document
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html#firewallIn they
recommend restricting a machine's listen priviledges thereby forcing it
into multiplexed mode.

In this bug,
http://developer.java.sun.com/developer/bugParade/bugs/4257730.html we
hear about how Sun thought to obscure security problems with RMI by
restricting client-initiated multiplexing.


This leaves me with an unfortunate situation. I have a client-server
project, where as usual the client connects to the server, which has a
published service port. The client then requires callbacks as data
arrives.

I'm about an hour away of having no option other than to create a socket
factory that tunnels all connections through an established socket,
effectively creating my own implementation of a multiplexed connection.

Is there any way I use my existing RMI infrastructure to initiate
multiplexed mode so that I don't have to delve into this horrendous waste
of time? Are there any ready-made tunnel socket factories?


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
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.