From owner-freebsd-questions Mon Dec 18 19:38:34 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 19:38:28 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id 62B0437B402 for ; Mon, 18 Dec 2000 19:38:25 -0800 (PST) Received: from roadrunner (roadrunner.apana.org.au [203.3.126.132]) by bryden.apana.org.au (8.9.3/8.9.3) with SMTP id NAA01060 for ; Tue, 19 Dec 2000 13:44:45 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Message-ID: <030001c0696e$86a5b660$847e03cb@apana.org.au> From: "Doug Young" To: Subject: ntop configuration Date: Tue, 19 Dec 2000 13:48:16 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02FD_01C069C2.5695BE80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_02FD_01C069C2.5695BE80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm (still !!!!) messing about with ntop configuration ..... now its the = latest snapshot in a 4.1 RELEASE system. I've compiled gdbm /=20 compiled ntop ..... noticed it found SSL and incorporated that, so=20 at least this here beast isn't wide open to all the merryhackers When I run /usr/local/bin/ntop, it returns=20 '/usr/local/var/ntop/dnsCache.db' open failed OK so I figure I'll fix this sucker by creating a blank dnsCache.db = using makemap hash on a blank dnsCache ..... that returns '/usr/local/var/ntop/dnsCache.db' open failed: Bad magic number 'Possible solution: please use '-P ' Well that didn't work ..... so lets make a blank /tmp/ntop directory& = make it world read / write ...... that returns=20 '/usr/local/var/ntop/dnsCache.db' open failed OK so lets see now ..... looks to me like ntop can actually SEE the = blank db but it doesn't like what it sees so it spits the dummy So where to from here ?? ........ anyone have suggestions ?? FWIW, at end of gdbm compile there was a message I didn't understand = about linking something or other ....... could that be a factor ?? ------=_NextPart_000_02FD_01C069C2.5695BE80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm (still !!!!) messing about with = ntop=20 configuration ..... now its the
latest snapshot in a 4.1 RELEASE = system. I've=20 compiled gdbm /
compiled ntop ..... noticed it found = SSL and=20 incorporated that, so
at least this here=20 beast isn't wide open to all the merryhackers
 
When I run /usr/local/bin/ntop, it = returns=20
 
'/usr/local/var/ntop/dnsCache.db' open=20 failed
 
OK so I figure I'll fix this sucker by = creating a=20 blank dnsCache.db using makemap hash
on a blank dnsCache ..... that = returns
 
'/usr/local/var/ntop/dnsCache.db' open = failed: Bad=20 magic number
'Possible solution: please use '-P=20 <directory>'
 
Well that didn't work ..... so lets = make a blank=20 /tmp/ntop directory& make it world read / write ...... that returns=20
 
'/usr/local/var/ntop/dnsCache.db' open=20 failed
 
OK so lets see now ..... looks to me = like ntop can=20 actually SEE the blank db but it doesn't like what it sees so it spits = the=20 dummy
 
So where to from here ?? ........ = anyone have=20 suggestions ??
 
FWIW, at end of gdbm compile there was = a message I=20 didn't understand about linking something or=20 other ....... could that be a factor ??
 
 
 
------=_NextPart_000_02FD_01C069C2.5695BE80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message