Ankh25-zz / cassia

Automatically exported from code.google.com/p/cassia
0 stars 0 forks source link

The connection address of the RDP server. #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi There.

I have a need to be able to see on which address the client connected to the 
RDP server. Eg. If the client was using the IP-address or using dns. Is it 
possible using Cassia, to get this information, to get the serveraddress which 
the client used to establish the connection?

Been browsing a bit on my own, but couldn’t really find a structure
In which this information should be found.

Hope I make myself clear in this matter.

Help would be very much appreciated.

Original issue reported on code.google.com by n...@navipartner.dk on 11 Apr 2011 at 8:15

GoogleCodeExporter commented 9 years ago
To my knowledge, the Remote Desktop Protocol does not send this information 
(i.e. the domain name or IP address used to establish the session) over the 
wire. I think that it is possible to fetch the network interface to which the 
client is connected, which could be useful if the server has several 
interfaces, but Cassia does not currently support this. Patches welcome. :) See 
the WinStationPdParams value of the WINSTATIONINFOCLASS enumeration whose 
function is explained here:
http://msdn.microsoft.com/en-us/library/cc248834(v=prot.10).aspx

Original comment by danports on 11 Apr 2011 at 1:24