<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Everyone,<BR>
 <BR>
I've been struggeling with trying to get trying to active this option Identify open data channels.<BR>
Even with the parameter ignore_data_chan no, it wouldn't activate.<BR>
After some instrumentation I found that we were turning it off because of a comparison that didn't go right.<BR>
Even with ignore_data_chan set to no, we'd still come in the else if which wasn't correct.<BR>
Here's a fix to the problem:<BR>
 <BR>
---- src/dynamic-preprocessors/ftptelnet/snort_ftptelnet.c.orig 2013-09-12 00:17:29.301433818 -0700<BR>+++ src/dynamic-preprocessors/ftptelnet/snort_ftptelnet.c 2013-09-12 00:21:54.441437865 -0700<BR>@@ -1403,11 +1403,11 @@<BR>                                          confOption);<BR>         return FTPP_FATAL_ERR;<BR>     }<BR>-    if (!strcasecmp("yes", pcToken))<BR>+    if (strncmp("yes", pcToken, 3) != 0)<BR>     {<BR>         ServerConf->data_chan = 1;<BR>     }<BR>-    else if (!strcasecmp("no", pcToken))<BR>+    else if (strncmp("no", pcToken, 2) != 0)<BR>     {<BR>         if (ServerConf->data_chan == 1)<BR>         {<BR>
 <BR>
Thanks,<BR>
 <BR>
Reinoud.<BR>                                        </div></body>
</html>