If it's coming from ntop, then he's got DEBUG enabled and some other code
turned on... or it's not the current version of ntop...

check sessions.c around line 880 for the message... it's just what ntop is
sniffing & logging of passive mode ftp traffic...

          /* traceEvent(TRACE_INFO, "FTP: %s", rcStr); */

          /*
            227 Entering Passive Mode (131,114,21,11,156,95)
                PORT 172,22,5,95,7,36

            131.114.21.11:40012 (40012 = 156 * 256 + 95)
          */
          if((strncmp(rcStr, "227", 3) == 0)
                || (strncmp(rcStr, "PORT", 4) == 0)) {
            int a, b, c, d, e, f;

                if(strncmp(rcStr, "PORT", 4) == 0) {
                        sscanf(&rcStr[5], "%d,%d,%d,%d,%d,%d", &a, &b, &c,
&d, &e, &f);
                } else {
                        sscanf(&rcStr[27], "%d,%d,%d,%d,%d,%d", &a, &b, &c,
&d, &e, &f);
                }
            sprintf(rcStr, "%d.%d.%d.%d", a, b, c, d);

#ifdef DEBUG
            traceEvent(TRACE_INFO, "FTP: (%d) [%d.%d.%d.%d:%d]",
                       inet_addr(rcStr), a, b, c, d, (e*256+f));
#endif
            addPassiveSessionInfo(htonl((unsigned long)inet_addr(rcStr)),
(e*256+f));
          }

But, of course, people don't bother tell us how they're running ntop, where
the got it from, etc. just expect us to read their minds...

-----Burton






-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Serge
Maandag
Sent: Wednesday, May 29, 2002 11:44 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Ntop] Suspicious FTP message from ntop


Hmm, I noticed it too. It are not ftp sessions to the host ntop is on, but
ftp sessions that come by on the network that is being sniffed.
I have the The RC1 rpm installed.
Serge.
-----Original Message-----
From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]]
It's surely not from ntop - there isn't an ftp server in there, unless you
have a hacked version...
Try going back to the raw log, not whatever processed version you're looking
at - you should see
May 29 09:55:41 localhost ntop[14850]: Done.
                          ^^^^^^^^^^^ a process name and pid...
Also, turn off the ftp daemon you're running if you don't want it on...
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of patrick
wong


There are some odd FTP messages coming from the output from NTOP. Can
someone tell me why this is happening and if normal? It looks odd and
suspicious.

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to