Go Back   ZeroC Forums > Patches

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-28-2006
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,478
Patch for Glacier2, release 3.0.1

Hi,

Glacier2 buffered mode in Ice versions >= 2.1.2 has a bug which might cause the Glacier2 router to hang if a client misbehaves or crashes (and the connection loss with the client isn't detected in a timely manner). You're strongly recommend to apply this patch if you're running Glacier2 in an untrusted environment.

To apply the patch:

$ cd Ice-3.0.1
$ patch -p0 < glacier2.patch.txt

Cheers,
Benoit.
Attached Files
File Type: txt glacier2.patch.txt (1.9 KB, 83 views)
Reply With Quote
  #2 (permalink)  
Old 02-28-2006
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 156
Send a message via MSN to OrNot
-->
hi, there,
Could you pls give more info about this problem which needs to be patched? Does this problem only affect glacier2 or will affect the strategy of AMD/AMI chain, which is the most important characteristic of ICE.
The patched file seems like the very old version of glaicer2router.

Cheers



OrNot
__________________
Looking for the nails with my favorite hammer, ICE.
-------------------------------------------
Huo.Fei
GE Healthcare
Bin.Li@ge.com
--------------------------------------------
Reply With Quote
  #3 (permalink)  
Old 02-28-2006
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,005
The patch fixes a bug in the glacier2router with buffered mode. It does not affect the Ice core.
Reply With Quote
  #4 (permalink)  
Old 02-28-2006
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 156
Send a message via MSN to OrNot
-->
Hi, Mattrew,
The fixed version seems to return to the 2.1.1 (if I did not make a mistake in patching.) In that version, it was once thought as a bug without AMI . So I feel confused by this patch. Of course it was out of this scope of forum, but it will helpful to give more details about the bug. So far as I am concerned , if the stuff ,such as the AMD/AMI MatchMaker in Connection 11 , will be affected since our current project heavy depends on a broker implemented with ICE AMD/AMI.
Thanks.


OrNot
__________________
Looking for the nails with my favorite hammer, ICE.
-------------------------------------------
Huo.Fei
GE Healthcare
Bin.Li@ge.com
--------------------------------------------
Reply With Quote
  #5 (permalink)  
Old 02-28-2006
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,005
The problem is not a generic problem with the Ice core.

The original problem was that Glacier2 didn't correctly support nested invocations (that is Client -> Glacier2 -> Server -> Glacier2 -> Client). The "fix" for this was included in Ice 3.0, and Ice 3.0.1. However, the fix broke buffered mode in the event that the connection to a client hangs for some reason. I'm pretty sure that Benoit's patch reverts to the pre Ice 3.0 behaviour -- so buffered mode will work again but nested invocations will not.

We'll have a complete fix for this with the Ice 3.1 release.
Reply With Quote
  #6 (permalink)  
Old 02-28-2006
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 156
Send a message via MSN to OrNot
-->
Thank you very much.
__________________
Looking for the nails with my favorite hammer, ICE.
-------------------------------------------
Huo.Fei
GE Healthcare
Bin.Li@ge.com
--------------------------------------------
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch #2 for Glacier2, release 3.0.1 benoit Patches 1 06-02-2006 06:33 AM
Patch for Ice-E for C++, release 1.1.0 benoit Patches 0 04-19-2006 05:03 AM
Patch #3 for IceGrid, release 3.0.1 benoit Patches 0 03-20-2006 12:17 PM
Patch for Ice for C++, release 3.0.1 benoit Patches 2 02-22-2006 09:04 PM
Patch #2 for slice2cs, release 1.5.1 michi Patches 0 10-26-2004 11:11 PM


All times are GMT -4. The time now is 09:27 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.