Google Answers Logo
View Question
 
Q: Networking protocol: MS DCE RPC ( No Answer,   0 Comments )
Question  
Subject: Networking protocol: MS DCE RPC
Category: Computers > Programming
Asked by: jdavis-ga
List Price: $61.00
Posted: 29 Jan 2003 01:02 PST
Expires: 01 Feb 2003 16:29 PST
Question ID: 149857
I am trying to successfully make my linux machine communicate with my
windows machine over DCE RPC over UDP. The windows machine is the
server.

I have been using a packet sniffer to monitor communication between my
windows computer and another windows machine to try to understand the
protocol, and I think I have the problem mostly figured out. Here's
what I've got so far:
- I send a packet (#1) to the initial port 135. It's a UDP packet with
a DCE RPC header marked as a request (type 0x00) with a random
activity id <actid#1> and containing the correct stub data. The src
port <port#1> is OS-chosen.
- I recieve a packet (#2) of type request (0x00) (a "who_are_you"
packet) with activity id <actid#2> with src port <port#2> and dest
port <port#1>
- I send out a packet (#3) of type response (0x02) (a "who_are_you2"
packet) with activity id <actid#2> to dest port <port#2> and src port
<port#1>

I get no acknowledgement to packet #3. The packet is almost identical
to the packet that I monitored with the packet sniffer, except for the
ports involved, the activity ID is different, and the CAS UUID.
Everything else about packet #3 is identical (at least down to the UDP
level).

I really don't understand the significance of the CAS UUID, or whether
it might be preventing the server (the windows computer) from properly
acknowledging my response. I also don't know about the Interface
number, but just copied it from the windows packets because those
seemed to always be the same. A lot of the other fields I only have a
vague understanding of, but they were consistant for the
windows-windows communication so I just copied them. For example, the
sequence numbers are all zero in the monitored conversation, so I set
them zero for my attempt.

I never get an ACK for #3, just more packets like #2 (except with an
incremented serial low field).

If someone could help me properly (and reliably) communicate with this
protocol I would really appreciate it.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy