(REPOST due to mailing list problems) Both -w and -W have defaults, although the precise value has differed among snapshots - it was moved into myGlobals, and then the initialization to "reasonable" defaults work was done, then there were a couple of cycles on what *was* reasonable for them.
Right now (well, 28Feb), it's (globals-core.c, around line 195): #ifdef HAVE_OPENSSL myGlobals.sslInitialized = 0; myGlobals.sslPort = 0; /* Disabled by default: it can enabled using -W <SSL port> */ #endif myGlobals.webPort = 3000; If you're having man page problems, it's probably the intop issue - check the back posts or the FAQ entry at http://snapshot.ntop.org/ I haven't had issues compiling openssl, although IF YOU DON'T give a value and it's not in /usr/lib/..., ntop does look for it in a fixed place - 1036: 0 elif test -d ../openssl-0.9.4 && 1037: 0 test -r ../openssl-0.9.4/libssl.a && 1038: 0 test -r ../openssl-0.9.4/libcrypto.a && 1039: 0 test -r ../openssl-0.9.4/openssl/ssl/ssl.h; then 1040: 0 OSSL_ROOT="../openssl-0.9.4" 1044: 0 AC_DEFINE(HAVE_OPENSSL) 1046: 0 elif test -d openssl-0.9.4 && 1047: 0 test -r openssl-0.9.4/libssl.a && 1048: 0 test -r openssl-0.9.4/openssl/ssl/ssl.h; then 1049: 0 OSSL_ROOT="openssl-0.9.4" 1053: 0 AC_DEFINE(HAVE_OPENSSL) That's not always good - latest is 0.9.6c - so try the --with-ossl-root= parameter -----Burton -----Original Message----- From: Sato, Takuya [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 7:38 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Cc: Sato, Takuya Subject: RE: [Ntop-dev] inquiry Burton, Yes, thanx. I guess I need to re-compile/re-install ntop b/c the man pages somehow did not get installed. Also seems like something must have not be compiled/linked properly because I knew & was after making the 'W' option work but somehow it defaults to port 3000 for that option whereas the 'w' option let's me choose the port. I had to play with openssl (I.E. recompile) several times before all the warning messages regarding openssl went away when compiling ntop. I guess something is still not okay on that link. Takuya -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 03, 2002 9:48 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Ntop-dev] inquiry How about reading the docs/ directory, the man page that comes with ntop, the FAQs at http://snapshot.ntop.org 1. plugins/ 2. There is a default in the source, otherwise use -P 3. -w vs -W -----Burton If my cat allowed me to have an opinion, it would be here... > 1. Where can ntop plugins be found? > > 2. on the ntop I just built & installed on RH7 I have to start with '-P' > option declared or it can't find the database files ... where does the > config file for ntop reside? > > 3. even though openssl & stuff is installed when I specify '-W 8080' the > console reports that it's listening on port 3000 ... is it hardcoded > somewhere? > > TIA, > Takuya _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop-dev
