[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8596 [Tor]: Inconsistent addrmap events when resolving hostname (regression)
#8596: Inconsistent addrmap events when resolving hostname (regression)
---------------------------------------+------------------------------------
Reporter: Desoxy | Owner:
Type: defect | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version: Tor: 0.2.4.11-alpha
Keywords: tor-client controller dns | Parent:
Points: | Actualpoints:
---------------------------------------+------------------------------------
Comment(by Desoxy):
I have changed the patch to use CACHED instead of CACHE[1]. You can pull
the changes directly from the bug-8596 branch of [2]. The changes to the
control spec[3] are in the bug-8596 branch, also on github.[4]
One thing to consider before putting this into 0.2.4: When a mapaddress
command is issued or when a host is automapped, it will also include the
"CACHED" flag. If you do not want that, you could omit the "CACHED" flag
if expiry is "NEVER".
{{{
> MAPADDRESS map.test=192.0.2.1
< 650 ADDRMAP map.test 192.0.2.1 NEVER CACHED="YES"
> RESOLVE example.com
< 650 ADDRMAP example.com 192.0.43.10 "2013-04-03 22:29:11"
EXPIRES="2013-04-03 20:29:11" CACHED="NO"
(external: tor-resolve example.com)
< 650 ADDRMAP example.com 192.0.43.10 "2013-04-03 22:31:22"
EXPIRES="2013-04-03 20:31:22" CACHED="YES"
}}}
1: https://github.com/desoxy-tor/tor/compare/bug-8596
2: https://github.com/desoxy-tor/tor.git
3: https://github.com/desoxy-tor/torspec/compare/bug-8596
4: https://github.com/desoxy-tor/torspec.git
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8596#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs