# grep -n onion_address src/or/rendservice.c
567: oc->rend_data->onion_address);
1373: strlcpy(launched->rend_data->onion_address, service->service_id,
1374: sizeof(launched->rend_data->onion_address));
2364: strlcpy(launched->rend_data->onion_address, service->service_id,
2365: sizeof(launched->rend_data->onion_address));
2387: !rend_cmp_service_ids(query, oc->rend_data->onion_address))
2733: serviceid = circ->rend_data->onion_address;
Are this onion addresses mine or this addresses are belonging to services which want me to be rend service for him? What exactly oc-> and launched->rend_data-> means?
I add this option to my torrc:
SafeLogging 0
I'm looking for onion addresses that use my relay as rendezvous. I can not understand how any hidden service may use my relay as rendezvous, without a notice to me about the ID ( sha256.onion domain address ). I have read a lot of Tor's papers, very faster, and dive deep into code. I'm open for myself that there is another type of middle node - IP ( Introduction Point ).
Could you explain to me precisely, and step by step, which function catch what and how from hidden service. Thereafter, How Alice come to me with only sha256.onion domain? She ask me for the IP ( Introduction Point ). I don't know about this ID ( sha256.onion ). But if Hidden Service ( Bob ) use exactly my V2Dir, I can provide her with 3 IP?
Raw code, better patch like:
log_info(LD_REND, "Alice ask for %s hidden service", oc->rend_data->onion_address );
Or, Bob's part.
*** 1373,1378 ****
--- 1373,1380 ----
strlcpy(launched->rend_data->onion_address, service->service_id,
sizeof(launched->rend_data->onion_address));
+ log_info(LD_REND, "Bob use this relay as RP for %s", launched->rend_data->onion_address );
+
launched->build_state->service_pending_final_cpath_ref =
tor_malloc_zero(sizeof(crypt_path_reference_t));
launched->build_state->service_pending_final_cpath_ref->refcount = 1;
Will be great !
Cheers !