Re: maximum data over link



Bart Vanherck wrote:

Hello,

I did some tests with some use data buffers. (See also my previous
mail). I investigated this and found that there is a define
GIOP_INITIAL_MSG_SIZE_LIMIT which is default the value 256*1024

Is there any reason why this is this value ?


As I understand it, the purpose of GIOP_INITIAL_MSG_SIZE_LIMIT is to prevent a DOS attack from consuming memory on a server via large invalid messages. The first time a server receives a valid message it is supposed to record that the client is legit and ignore the size of the messages from then on. So you can send a short "hello" message to the server and then after that send messages of any size. A while ago ORBit was always applying the size limit. I don't know if it still does this as I ended up working around the problem using the command line argument:

--ORBInitialMsgLimit=4000000000

Michael, correct me if I got any of this wrong.


-- Bowie Owens

CSIRO Mathematical & Information Sciences
phone  : +61 3 9545 8055
fax    : +61 3 9545 8080
mobile : 0425 729 875
email  : Bowie Owens csiro au




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]