diff options
author | Roger Dingledine <arma@torproject.org> | 2007-08-11 14:13:25 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-08-11 14:13:25 +0000 |
commit | 330abbb6c61a7a2eb39b5b921ff1c3a1a80beca0 (patch) | |
tree | 34e9c5db5eddc71d14db45d75b5622ce2e73e8e6 /src/or/rendclient.c | |
parent | 59204840832482a128039f5fb6d18faccfb11207 (diff) | |
download | tor-330abbb6c61a7a2eb39b5b921ff1c3a1a80beca0.tar.gz tor-330abbb6c61a7a2eb39b5b921ff1c3a1a80beca0.zip |
logging patch from karsten, slightly modified to compile
svn:r11074
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index fef95d1c89..adc343fa21 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -144,6 +144,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc, payload_len = DIGEST_LEN + r; tor_assert(payload_len <= RELAY_PAYLOAD_SIZE); /* we overran something */ + log_info(LD_REND, "Sending an INTRODUCE1 cell"); if (relay_send_command_from_edge(0, TO_CIRCUIT(introcirc), RELAY_COMMAND_INTRODUCE1, payload, payload_len, @@ -256,6 +257,7 @@ rend_client_refetch_renddesc(const char *query) { if (!get_options()->FetchHidServDescriptors) return; + log_info(LD_REND, "Fetching rendezvous descriptor for service %s", query); if (connection_get_by_type_state_rendquery(CONN_TYPE_DIR, 0, query)) { log_info(LD_REND,"Would fetch a new renddesc here (for %s), but one is " "already in progress.", escaped_safe_str(query)); @@ -383,6 +385,8 @@ rend_client_receive_rendezvous(origin_circuit_t *circ, const char *request, goto err; } + log_info(LD_REND,"Got RENDEZVOUS2 cell from hidden service."); + /* first DH_KEY_LEN bytes are g^y from bob. Finish the dh handshake...*/ tor_assert(circ->build_state); tor_assert(circ->build_state->pending_final_cpath); |