<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
&gt; Date: Sun, 31 Jan 2010 20:58:46 -0600<br>&gt; From: bennett@cs.niu.edu<br>&gt; To: or-talk@seul.org<br>&gt; Subject: client bug in 0.2.2.7-alpha and a new bad exit:  exoassist<br><br>&gt;      So it appears that a) there is a new tor client bug in 0.2.2.7-alpha that <br>&gt; leaves the "exoassist.exit" in the name passed along from its SOCKS listener<br>&gt; to the destination port <br><br>I understand better now. Here's the problem, also in 0.2.2.8-alpha:<br>&nbsp; 2926&nbsp; parse_extended_hostname(char *address, int allowdotexit)<br>&nbsp; 2927&nbsp; {<br>&nbsp; 2928&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char *s;<br>&nbsp; 2929&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char query[REND_SERVICE_ID_LEN_BASE32+1];<br>&nbsp; 2930<br>&nbsp; 2931&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s = strrchr(address,'.');<br>&nbsp; 2932&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!s)<br>&nbsp; 2933&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return NORMAL_HOSTNAME; /* no dot, thus normal */<br>&nbsp; 2934&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!strcmp(s+1,"exit")) {<br>&nbsp; 2935&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (allowdotexit) {<br>&nbsp; 2936&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *s = 0; /* NUL-terminate it */<br>&nbsp; 2937&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return EXIT_HOSTNAME; /* .exit */<br>&nbsp; 2938&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } /* else */<br>&nbsp; 2939&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log_warn(LD_APP, "The \".exit\" notation is disabled in Tor due to "<br>&nbsp; 2940&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "security risks. Set AllowDotExit in your torrc to enable it.");<br>&nbsp; 2941&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* FFFF send a controller event too to notify Vidalia users */<br>&nbsp; 2942&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp; 2943&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (strcmp(s+1,"onion"))<br>&nbsp; 2944&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'return NORMAL_HOSTNAME; /* neither .exit nor .onion, thus normal */<br><br>There's no 'return BAD_HOSTNAME' after the 'log_warn', so it's falling through to 'return NORMAL_HOSTNAME' and also not null-teminating the string.<br>GD<br>                                               <br /><hr />Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href='http://clk.atdmt.com/GBL/go/201469229/direct/01/' target='_new'>Sign up now.</a></body>
</html>