|
|
|
|||||
|
Controlling connection direction
The server/client layout that I have is a single server in a trusted area, and several servers in untrusted areas. I need the server to make connections out (never in), and lock in the connection. For example, I thought of creating a proxy on the central server, and passing the proxy as an argument while connecting out to the outside servers, who could then use the proxy to access the central server.
For example, in the central server: local_proxy = adapter->add( foo, bar ); proxy_to_untrusted_server = stringToProxy( blah ); proxy_to_untrusted_server->hand_it_proxy( local_proxy ); And in the server in untrusted land: hand_it_proxy( Prx &p ) { store_someplace( p ); } ...and later... p->access_to_secure_server() However, when the satellite servers in untrusted territory use the proxy, do they end up making additional connection -into- the trusted zone, under the hood? Because that will be blocked by the firewall. How can I structure this setup most efficiently? --Sean |
|
||||||
|
Actually, we will provide the new features that allow you to take explicit control of connections in the upcoming Ice version 2.1 already. I would therefore recommend that you wait for this version, instead of using Glacier2 in a way it was not intended to be used.
Having said this, it might still be useful to read the chapter about Glacier2 if you require security and session management. |
|
|||||
|
Glacier2 in the mean time
Thanks, I'll read over the Glacier2 chapter again with that in mind. I need to get this out and working in the next month, so I can't wait for a stable version of ICE2.2. However, if there's a better way to do it in the future, I'll take that into account during design. Are there any examples of the way the new connection interface will work, so that I can create a system that can be ported to using it in the near future?
|
|
||||||
|
The feature will be available in Ice 2.1 already, which will be available in about two weeks. I will also send you an email with more information shortly.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Controlling clientside port | Nis Baggesen | Help Center | 3 | 08-09-2006 12:59 PM |
| connection establishment | jaleira | Help Center | 6 | 07-12-2006 05:17 AM |
| NT4 connection error | joel vennin | Help Center | 3 | 02-09-2006 11:04 AM |
| A question about Ice connection | laotee | Help Center | 3 | 10-26-2005 04:02 AM |
| How to get connection info? | amrufon | Help Center | 15 | 08-26-2003 09:23 AM |