>From main.c:

  /*
   * check for valid parameters
   */
  if(myGlobals.webPort == 0) {
#ifdef HAVE_OPENSSL
    if(myGlobals.sslPort == 0) {
      printf("FATAL ERROR: both -W and -w can't be set to 0.\n");
      exit(-1);
    }
#else
    printf("FATAL ERROR: -w can't be set to 0.\n");
    exit(-1);
#endif

Basic answer: NO, it's not valid in normal ntop.  You must have either -W
or -w set.

Advanced answer: NO, it's not valid.  You must have either -W or -w set.

However, check the --enable-micro-ntop flag in configure.  I haven't tried
it, and so I don't know if it works, but the coding (#ifdef MICRO_NTOP) is
supposed to leave just a data collector in place. IIRC it still has a web
interface, but only shows minimal data such as configuration.

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Christian Hammers
Sent: Friday, March 22, 2002 5:40 AM
To: [EMAIL PROTECTED]
Subject: [Ntop-dev] is "-w 0" valid or not?


Hello

ntop[5894]: FATAL ERROR: -w can't be set to 0.

According to the man page '0' should disable the web interface. I likt to
do this as I use ntop only as netflow exporter and do not need anything
else.

bye,

-christian-

--
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
[EMAIL PROTECTED]     Internet & Security for Professionals    Fax 0241/911879
           WESTEND ist CISCO Systems Partner - Premier Certified

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

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

Reply via email to