Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'd like to know who has logged in to my machine and when.

I have two TeamViewer log files: Connections_incoming.txt and TeamViewer7_Logfile.log.

The first one is quite plain and lists, as its name says, the incoming connections to the machine, reporting the local name of the remote host, login time, logout time, and some ids. e.g.:

173274362   MYLAPTOP    20-02-2012 17:32:16 20-02-2012 17:50:42 Master  RemoteControl   {C5AAE483-ED0B-54B8-9235-7AE597CAD342}

This is almost all what I need, but unfortunately no remote IP address is reported here, so I checked for IPs in TeamViewer7_Logfile.log but it is really messy. It indeed contains some IP addresses but I can't understand which one is bound with the items in the first log file.

Is there a way to interpolate the two logs to get what I need? Should I search the second file for some particular text? What do you suggest?

share|improve this question
    
Easy, they both have timestamps –  Mathias R. Jessen Feb 20 '12 at 19:07

1 Answer 1

up vote 2 down vote accepted

This would be easy to test. Simply connect to your own machine from another machine and then look at the log file to see if that other machine's IP address is ever recorded.

You will see that the log files contains pairs like this

CT.Receive.CMD_UDPPING From=932536226 To=316426335 L=80
GWT.CmdUDPPing.PunchReceived, a=192.168.1.100, p=1565

932536226 is the remote system's TeamViewer ID
316426335 is your system's TeamViewer ID
192.168.1.100 is the remote system's TeamViewer IP address

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.