AllowDotExit 1 breaks in 0.2.3.17-beta
I'm running 0.2.3.17-beta on Ubuntu 12.04 and I have AllowDotExit 1 in /etc/tor/torrc. .exit notation no longer works. This is relatively easy to reproduce:
# This works
$ curl --socks4a 127.0.0.1:9050 http://www.torproject.org/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
...
# The first .exit attempt sometimes works:
$ curl --socks4a 127.0.0.1:9050 http://www.torproject.org.chomsky.exit/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# Later attempts fail
$ curl --socks4a 127.0.0.1:9050 http://www.torproject.org.chomsky.exit/
curl: (7) Can't complete SOCKS4 connection to 0.0.0.0:119. (91), request rejected or failed.
The following is in the Tor logs:
Jun 19 23:10:07.000 [warn] connection_ap_handshake_rewrite_and_attach(): Bug: Address '[scrubbed].exit', with impossible source for the .exit part. Refusing.