Click to See Complete Forum and Search --> : [RESOLVED] protocol of marshalling
George2
July 9th, 2008, 04:38 AM
Hello everyone,
1.
Suppose using marshalling to transfer information from one apartment to another apartment, what communication protocol is used? HTTP? TCP? RPC?
2.
Is the communication secure? (Encrypted?)
thanks in advance,
George
Igor Vartanov
July 10th, 2008, 05:00 AM
1.
LRPC (Lightweight RPC or Local RPC) for local marshaling (AFAIR :))
RPC (some DCOM flavour of) for remote marshaling
2.
Supposed to be. Ask MS for details. :)
Igor Vartanov
July 10th, 2008, 05:25 AM
According to Don Box the encryption must be engaged explicitly:
enum {
RPC_C_AUTHN_LEVEL_DEFAULT, // use default level for pkg
RPC_C_AUTHN_LEVEL_NONE, // по authentication
RPC_C_AUTHN_LEVEL_CONNECT, // only authenticate credentials
RPC_C_AUTHN_LEVEL_CALL, // protect message headers
RPC_C_AUTHN_LEVEL_PKT, // protect packet headers
RPC_C_AUTHN_LEVEL_PKT_INTEGRITY, // protect parameter state
RPC_C_AUTHN_LEVEL_PKT_PRIVACY, // encrypt parameter state
};
George2
July 10th, 2008, 10:40 PM
Great man, Igor!
I am sorry to find if not set explicitly, the traffic is not encrypted. For local and remote RPC, does it always use TCP?
According to Don Box the encryption must be engaged explicitly:
regards,
George
Igor Vartanov
July 11th, 2008, 04:14 AM
I'm not sure but something tells me there's no need in networking for making local calls. That is what Lightweight about. :)
And by the way, RPC is able to work over any network protocol. Otherwise it was too much depending on particular enterprise networking techniques. I've had a chance to make sure it works over IPX/SPX :)
George2
July 11th, 2008, 04:19 AM
Got it, thanks Igor!
The conclusions for this discussion are,
1. Marshalling always use RPC;
2. RPC is network protocol independent;
3. Local marshalling is not through network.
1-3 are just what you are thinking about, correct?
I'm not sure but something tells me there's no need in networking for making local calls. That is what Lightweight about. :)
And by the way, RPC is able to work over any network protocol. Otherwise it was too much depending on particular enterprise networking techniques. I've had a chance to make sure it works over IPX/SPX :)
regards,
George
Igor Vartanov
July 11th, 2008, 04:50 AM
Yep.
codeguru.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.