diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-06-03 11:18:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-06-03 11:18:03 -0400 |
commit | 50e4c98a5acb6d10203cc943a336abb7715414cf (patch) | |
tree | 3194ab48ce2e542da08c93183d963822152b8f32 /src/or/rendcommon.c | |
parent | 14c0251d95d9d86f4dba1d7d2da16661f1a87012 (diff) | |
parent | de069f5ea73a4fe841df27d85c28c0d79ad2c13e (diff) | |
download | tor-50e4c98a5acb6d10203cc943a336abb7715414cf.tar.gz tor-50e4c98a5acb6d10203cc943a336abb7715414cf.zip |
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 301d63515f..e81510a9cd 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -983,15 +983,10 @@ rend_cache_lookup_v2_desc_as_dir(const char *desc_id, const char **desc) tor_assert(rend_cache_v2_dir); if (base32_decode(desc_id_digest, DIGEST_LEN, desc_id, REND_DESC_ID_V2_LEN_BASE32) < 0) { - log_warn(LD_REND, "Descriptor ID contains illegal characters: %s", - safe_str(desc_id)); - return -1; - } - /* Determine if we are responsible. */ - if (hid_serv_responsible_for_desc_id(desc_id_digest) < 0) { - log_info(LD_REND, "Could not answer fetch request for v2 descriptor; " - "either we are no hidden service directory, or we are " - "not responsible for the requested ID."); + log_fn(LOG_PROTOCOL_WARN, LD_REND, + "Rejecting v2 rendezvous descriptor request -- descriptor ID " + "contains illegal characters: %s", + safe_str(desc_id)); return -1; } /* Lookup descriptor and return. */ |