Look for the message when ntop attempts to open the log file

        if(myGlobals.pcapLog != NULL) {
          if(strlen(myGlobals.pcapLog) > 64)
            myGlobals.pcapLog[64] = '\0';
#ifdef WIN32
          sprintf(myName, "%s/%s.pcap",
                  myGlobals.pcapLogBasePath, /* Added by Ola Lundqvist
<[EMAIL PROTECTED]> */
                  myGlobals.pcapLog);
#else
          sprintf(myName, "%s/%s.%s.pcap",
                  myGlobals.pcapLogBasePath, /* Added by Ola Lundqvist
<[EMAIL PROTECTED]> */
                  myGlobals.pcapLog, myGlobals.device[i].name);
#endif
          myGlobals.device[i].pcapDumper =
pcap_dump_open(myGlobals.device[i].pcapPtr, myName);

          if(myGlobals.device[i].pcapDumper == NULL) {
            traceEvent(CONST_TRACE_ERROR, "INIT: FATAL_ERROR,
pcap_dump_open(): '%s'", ebuf);
            exit(-1);
          } else
                traceEvent(CONST_TRACE_INFO, "INIT: Saving packets into file
%s", myName);
        }



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 3:11 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] NTOP for Win32 Command line switches




Hello all.

I'm new to the group so please forgive me if this is a dumb question.

I started playing with NTOP 2.1 for Win32 yesterday.  I wanted to keep a log
file of the traffic that NTOP is monitoring.

I tried using the -l switch when running NTOP in console mode.  Everytime I
try
this, Windows 2000 generates an application error.

The command I'm trying to issue is :  ntop /c -n -m 10.2.8.0/22 -e 250 -l
boston.log

Am I missing something here?

Thanks so much.

Craig Brauckmiller








----------------------------------------------------------------------------
----------------------------------------------------------------------------
-------------------------------------
PRIVACY & CONFIDENTIALITY NOTICE

The information contained in this e-mail is intended for the named
recipients
only.  It may contain privileged and confidential information, and if you
are
not the addressee or the person responsible for delivering this to the
addressee, you may not copy, distribute or take action in reliance on it.
If you
have received this e-mail in error, please notify us immediately by
returning
the original message to the sender by e-mail.   Any views expressed in this
e-mail are those of the individual sender, except where the sender
specifically
states them to be the view of L.E.K. Consulting.


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

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

Reply via email to