|
|
@ -573,9 +573,9 @@ class TCPRelayHandler(object): |
|
|
|
data = self._handel_protocol_error(self._client_address, ogn_data) |
|
|
|
header_result = parse_header(data) |
|
|
|
connecttype, remote_addr, remote_port, header_length = header_result |
|
|
|
common.connect_log('%s connecting %s:%d via port %d' % |
|
|
|
common.connect_log('%s connecting %s:%d via port %d by UID %d' % |
|
|
|
((connecttype == 0) and 'TCP' or 'UDP', |
|
|
|
common.to_str(remote_addr), remote_port, self._server._listen_port)) |
|
|
|
common.to_str(remote_addr), remote_port, self._server._listen_port, self._user_id)) |
|
|
|
self._remote_address = (common.to_str(remote_addr), remote_port) |
|
|
|
self._remote_udp = (connecttype != 0) |
|
|
|
# pause reading |
|
|
|