Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1156914
  • 博文数量: 222
  • 博客积分: 5262
  • 博客等级: 大校
  • 技术积分: 3028
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-22 19:10
文章分类

全部博文(222)

文章存档

2012年(2)

2011年(192)

2010年(28)

分类:

2011-03-03 12:09:27

浅析winvnc发生xvncviewer client连接之后输出的所有log

// WinVNC启动++++++++++++++++++++++++++++++++++++

Sun May 31 11:22:35 2009
C:\gliethttp\WinVNC.cpp : sockets initialised
C:\gliethttp\vncPasswd.h : PASSWD : FromClear called
C:\gliethttp\WinVNC.cpp : server created ok
C:\gliethttp\vncProperties.cpp : loading local-only settings
C:\gliethttp\vncServer.cpp : authhosts cleared
C:\gliethttp\vncProperties.cpp : clearing user settings
C:\gliethttp\vncPasswd.h : PASSWD : FromClear called
C:\gliethttp\vncProperties.cpp : loading DEFAULT local settings
C:\gliethttp\vncProperties.cpp : loading "bjxx" global settings
C:\gliethttp\vncServer.cpp : trying port number 5900
Sun May 31 11:22:37 2009
C:\gliethttp\VSocket.cpp : closing socket
// 该log来自VSocket::Bind==>VSocket dummy;局部变量的销毁,

// 调用VSocket::~VSocket()销毁函数所产生[luther.gliethttp]

C:\gliethttp\VSocket.cpp : closing socket
C:\gliethttp\vncSockConnect.cpp : started socket connection thread
// vncSockConnectThread::run_undetached线程函数被调用启动[luther.gliethttp]

Sun May 31 11:22:38 2009
C:\gliethttp\VSocket.cpp : closing socket i
// vncServer::SockConnect()==>VSocket tempsock;局部变量被销毁

C:\gliethttp\vncPasswd.h : PASSWD : ToText called
// vncProperties::Init()==>vncPasswd::ToText plain(passwd);

// 因为new vncHTTPConnect线程启动需要花费一些时间,所以这就是

// 下面"started HTTP server thread"这句log,打印顺序反而跑到了后面的原因[luther.gliethttp]

C:\gliethttp\vncHTTPConnect.cpp : started HTTP server thread
//vncServer::SockConnect()==>m_httpConn = new vncHTTPConnect;

C:\gliethttp\vncMenu.cpp : tray icon added ok // vncMenu::vncMenu()==>AddTrayIcon()

Sun May 31 11:22:40 2009
C:\gliethttp\WinVNC.cpp : message 275 recieved
// WinVNCAppMain()==>在while((GetMessage(&msg, NULL, 0,0))中接收到xp系统消息[luther.gliethttp]

// 至此WinVNC启动成功,接下来等待client发送链接命令[luther.gliethttp]






// 一个远端client发送连接命令++++++++++++++++++++++++++++++++++++

// 下面是vncSockConnectThread::run_undetached()线程处理函数打印的信息

C:\gliethttp\vncSockConnect.cpp : accepted connection from 192.168.23.23
C:\gliethttp\vncClient.cpp : vncClient() executing...
++++++++++++++++++ luther:
++++++++++++++++++ luther: Client Thread
C:\gliethttp\vncServer.cpp : AddClient() done
// 下面是vncClientThread::run()线程处理函数打印的信息.

C:\gliethttp\vncClient.cpp : client connected : 192.168.23.23 (1)
C:\gliethttp\WinVNC.cpp : message 1026 recieved
C:\gliethttp\vncClient.cpp : negotiated version
C:\gliethttp\vncPasswd.h : PASSWD : ToText called
C:\gliethttp\vncClient.cpp : non-shared connection - disconnecting old clients
C:\gliethttp\vncServer.cpp : KillAuthClients() done

// vncClientThread::run()

// ==>InitAuthenticate()

// ==>vncClientThread::InitAuthenticate()

// ==>m_server->Authenticated(m_client->GetClientId()); // 告诉server,这个client认证通过.

// ==>vncServer::Authenticated==>如果m_desktop等于NULL,那么m_desktop = new vncDesktop();

// ==>m_desktop->Init(this)==>启动vncDesktopThread::run_undetached()线程处理函数[luther.gliethttp]

C:\gliethttp\vncDesktop.cpp : initialising desktop handler
C:\gliethttp\vncDesktop.cpp : KillScreenSaver...
C:\gliethttp\vncDesktop.cpp : bitmap dimensions are 1024 x 768
C:\gliethttp\vncDesktop.cpp : created memory bitmap
C:\gliethttp\vncDesktop.cpp : got bitmap format
C:\gliethttp\vncDesktop.cpp : DBG:display context has 1
C:\gliethttp\vncDesktop.cpp : DBG:memory context has 1
C:\gliethttp\vncDesktop.cpp : attempting to enable DIBsection blits
C:\gliethttp\vncDesktop.cpp : enabled fast DIBsection blits OK
C:\gliethttp\vncDesktop.cpp : no palette data for truecolour display
C:\gliethttp\vncBuffer.cpp : raw encoder requested
C:\gliethttp\vncEncoder.cpp : settranslatefunction called
C:\gliethttp\vncEncoder.cpp : only 8, 16 or 32 bits supported remotely - 0 requested
C:\gliethttp\vncEncoder.cpp : settranslatefunction called
C:\gliethttp\vncEncoder.cpp : no translation required
C:\gliethttp\vncBuffer.cpp : fast blits detected - using DIBsection buffer
C:\gliethttp\vncBuffer.cpp : local buffer=3145728, remote buffer=3145740
C:\gliethttp\vncBuffer.cpp : fast blits detected - using DIBsection buffer
C:\gliethttp\vncBuffer.cpp : local buffer=3145728, remote buffer=3145740
C:\gliethttp\vncServer.cpp : Authenticated() done
// m_server->Authenticated(m_client->GetClientId());函数执行完毕.

C:\gliethttp\vncClient.cpp : authenticated connection // ncClientThread::run()打印该log.

C:\gliethttp\vncClient.cpp : sent pixel format to client
C:\gliethttp\WinVNC.cpp : message 1027 recieved






// 下面进入vncClientThread::run()

// 线程处理函数的while(true) loop循环,等待远端client发送数据过来[luther.gliethttp].

++++++++++++++++++ luther: net data [ rfbSetPixelFormat ]
C:\gliethttp\vncBuffer.cpp : SetClientFormat called
C:\gliethttp\vncEncoder.cpp : settranslatefunction called
C:\gliethttp\vncEncoder.cpp : triple LUT used
C:\gliethttp\vncBuffer.cpp : fast blits detected - using DIBsection buffer
C:\gliethttp\vncBuffer.cpp : local buffer=3145728, remote buffer=786444
++++++++++++++++++ luther: net data [ rfbSetEncodings ]
C:\gliethttp\vncBuffer.cpp : unknown encoder requested
C:\gliethttp\vncBuffer.cpp : unknown encoder requested
C:\gliethttp\vncBuffer.cpp : unknown encoder requested
C:\gliethttp\vncBuffer.cpp : Hextile encoder requested
C:\gliethttp\vncEncoder.cpp : settranslatefunction called
C:\gliethttp\vncEncoder.cpp : only 8, 16 or 32 bits supported remotely - 0 requested
C:\gliethttp\vncEncoder.cpp : settranslatefunction called
C:\gliethttp\vncEncoder.cpp : triple LUT used
C:\gliethttp\vncBuffer.cpp : fast blits detected - using DIBsection buffer
C:\gliethttp\vncBuffer.cpp : local buffer=3145728, remote buffer=789629
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
C:\gliethttp\vncEncoder.cpp : remote palette data requested
C:\gliethttp\vncBuffer.cpp : clearing rectangle (0, 0)-(1024, 768)
C:\gliethttp\vncMenu.cpp : tray icon added ok
C:\gliethttp\vncDesktop.cpp : update:-2,740x1026,744
C:\gliethttp\vncDesktop.cpp : update:-2,740x2,770
C:\gliethttp\vncDesktop.cpp : update:-2,766x1026,770
C:\gliethttp\vncDesktop.cpp : update:1022,740x1026,770
++++++++++++++++++ luther: net data [ rfbSetPixelFormat ]
C:\gliethttp\vncBuffer.cpp : SetClientFormat called
C:\gliethttp\vncEncoder.cpp : settranslatefunction called
C:\gliethttp\vncEncoder.cpp : triple LUT used
C:\gliethttp\vncBuffer.cpp : fast blits detected - using DIBsection buffer
C:\gliethttp\vncBuffer.cpp : local buffer=3145728, remote buffer=1576061
++++++++++++++++++ luther: net data [ rfbSetEncodings ]
C:\gliethttp\vncBuffer.cpp : unknown encoder requested
C:\gliethttp\vncBuffer.cpp : unknown encoder requested
C:\gliethttp\vncBuffer.cpp : Hextile encoder requested
C:\gliethttp\vncEncoder.cpp : settranslatefunction called
C:\gliethttp\vncEncoder.cpp : only 8, 16 or 32 bits supported remotely - 0 requested
C:\gliethttp\vncEncoder.cpp : settranslatefunction called
C:\gliethttp\vncEncoder.cpp : triple LUT used
C:\gliethttp\vncBuffer.cpp : fast blits detected - using DIBsection buffer
C:\gliethttp\vncBuffer.cpp : local buffer=3145728, remote buffer=1576061
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
C:\gliethttp\vncEncoder.cpp : remote palette data requested
C:\gliethttp\vncBuffer.cpp : clearing rectangle (0, 0)-(1024, 768)
Sun May 31 11:22:45 2009
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
C:\gliethttp\WinVNC.cpp : message 275 recieved
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,38
C:\gliethttp\vncDesktop.cpp : update:-4,-4x0,744
C:\gliethttp\vncDesktop.cpp : update:-4,740x1028,744
C:\gliethttp\vncDesktop.cpp : update:1024,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-2,740x1026,744
C:\gliethttp\vncDesktop.cpp : update:-2,740x2,770
C:\gliethttp\vncDesktop.cpp : update:-2,766x1026,770
C:\gliethttp\vncDesktop.cpp : update:1022,740x1026,770
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
C:\gliethttp\vncMenu.cpp : tray icon added ok
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
Sun May 31 11:22:46 2009
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,38
C:\gliethttp\vncDesktop.cpp : update:-4,-4x0,744
C:\gliethttp\vncDesktop.cpp : update:-4,740x1028,744
C:\gliethttp\vncDesktop.cpp : update:1024,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-2,740x1026,744
C:\gliethttp\vncDesktop.cpp : update:-2,740x2,770
C:\gliethttp\vncDesktop.cpp : update:-2,766x1026,770
C:\gliethttp\vncDesktop.cpp : update:1022,740x1026,770
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
Sun May 31 11:22:53 2009
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
C:\gliethttp\vncDesktop.cpp : update:-4,-4x1028,744
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
Sun May 31 11:22:54 2009
+++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
++++++++++++++++++ luther: net data [ rfbFramebufferUpdateRequest ]
Sun May 31 11:23:08 2009
C:\gliethttp\WinVNC.cpp : message 273 recieved





// 关闭WinVNC

C:\gliethttp\vncServer.cpp : killing auth client
C:\gliethttp\VSocket.cpp : closing socket
C:\gliethttp\VSocket.cpp : socket error 0
C:\gliethttp\vncServer.cpp : KillAuthClients() done
C:\gliethttp\vncClient.cpp : failed to send RFB message to client
C:\gliethttp\vncService.cpp : SelectHDESK to Default (3c8) from 3c8C:\gliethttp\vncService.cpp : SelectHDESK failed to close old desktop 3c8 (Err=170)
C:\gliethttp\vncClient.cpp : client disconnected : 192.168.23.23 (1)
C:\gliethttp\vncServer.cpp : removing authorised client
C:\gliethttp\vncServer.cpp : deleting desktop server
C:\gliethttp\vncDesktop.cpp : killing screen server
C:\gliethttp\vncDesktop.cpp : quitting desktop server thread
C:\gliethttp\vncService.cpp : SelectHDESK to Default (3c8) from 3c8C:\gliethttp\vncServer.cpp : RemoveClient() done
C:\gliethttp\vncClient.cpp : ~vncClient() executing...
C:\gliethttp\vncClient.cpp : deleting socket
C:\gliethttp\vncClient.cpp : deleting buffer
C:\gliethttp\WinVNC.cpp : message 1028 recieved
C:\gliethttp\vncMenu.cpp : tray icon added ok
Sun May 31 11:23:09 2009
C:\gliethttp\WinVNC.cpp : message 49356 recieved
Sun May 31 11:23:10 2009
C:\gliethttp\WinVNC.cpp : message 275 recieved
C:\gliethttp\vncMenu.cpp : tray icon added ok
Sun May 31 11:23:15 2009
C:\gliethttp\WinVNC.cpp : message 275 recieved
C:\gliethttp\vncMenu.cpp : tray icon added ok
Sun May 31 11:23:20 2009
C:\gliethttp\WinVNC.cpp : message 275 recieved
C:\gliethttp\vncMenu.cpp : tray icon added ok
Sun May 31 11:23:25 2009
C:\gliethttp\WinVNC.cpp : message 275 recieved
C:\gliethttp\vncMenu.cpp : tray icon added ok
Sun May 31 11:23:30 2009
C:\gliethttp\WinVNC.cpp : message 275 recieved
C:\gliethttp\vncMenu.cpp : tray icon added ok
Sun May 31 11:23:31 2009
C:\gliethttp\WinVNC.cpp : message 273 recieved
C:\gliethttp\WinVNC.cpp : message 16 recieved
C:\gliethttp\WinVNC.cpp : shutting down server
C:\gliethttp\vncMenu.cpp : tray icon added ok
C:\gliethttp\vncServer.cpp : shutting down server object
C:\gliethttp\VSocket.cpp : shutdown socket
C:\gliethttp\vncSockConnect.cpp : accepted connection from 127.0.0.1
C:\gliethttp\vncClient.cpp : vncClient() executing...
++++++++++++++++++ luther:
++++++++++++++++++ luther: Client Thread
C:\gliethttp\vncServer.cpp : AddClient() done
C:\gliethttp\vncSockConnect.cpp : quitting socket connection thread
C:\gliethttp\vncClient.cpp : client connected : 127.0.0.1 (1)
C:\gliethttp\VSocket.cpp : closing socket
C:\gliethttp\VSocket.cpp : socket error 0
C:\gliethttp\vncServer.cpp : removing unauthorised client
C:\gliethttp\vncServer.cpp : RemoveClient() done
C:\gliethttp\vncClient.cpp : ~vncClient() executing...
C:\gliethttp\vncClient.cpp : deleting socket
C:\gliethttp\VSocket.cpp : closing socket
C:\gliethttp\VSocket.cpp : closing socket
C:\gliethttp\VSocket.cpp : shutdown socket
C:\gliethttp\vncHTTPConnect.cpp : HTTP client connected
C:\gliethttp\VSocket.cpp : closing socket
C:\gliethttp\VSocket.cpp : zero bytes read
C:\gliethttp\VSocket.cpp : shutdown socket
C:\gliethttp\VSocket.cpp : closing socket
C:\gliethttp\vncHTTPConnect.cpp : quitting HTTP server thread
C:\gliethttp\VSocket.cpp : closing socket
C:\gliethttp\vncServer.cpp : KillAuthClients() done
C:\gliethttp\vncServer.cpp : KillUnauthClients() done
C:\gliethttp\vncServer.cpp : shutting down server object(4)

阅读(1296) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~