resolve = tor_malloc(sizeof(struct cached_resolve));
memset(resolve, 0, sizeof(struct cached_resolve));
resolve->state = CACHE_STATE_PENDING;
- resolve->expire = now + 100; /* XXX for testing. when we're confident, switch it back */
-// resolve->expire = now + 86400; /* now + 1 day */
+ resolve->expire = now + 15*60; /* 15 minutes */
strncpy(resolve->question, exitconn->address, MAX_ADDRESSLEN);
/* add us to the pending list */
/* give it somewhere to log to initially */
add_stream_log(LOG_INFO, "<stdout>", stdout);
+ log_fn(LOG_WARN,"Tor v%s. This is experimental software. Do not use it if you need anonymity.",VERSION);
if(getconfig(argc,argv,&options)) {
log_fn(LOG_ERR,"Reading config failed. For usage, try -h.");