Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-07-2003, 05:23 PM   #1
LQ Newbie
Registered: Jan 2003
Location: London
Distribution: red hat 8.0
Posts: 8

Rep: Reputation: 0
Red face ntop running with chroot?

Hi again!

I was just wondering if anybody here tried to run ntop under a chroot environmment?

I explain the reason: I am running smoothwall, and would like to have more info about my network traffic. I know, bad idea to have a webserver running on a firewall (well... it seems smoothwall comes with an old version of apache and openssl both vulnerable anyway...), but I just want to try... especially since I am so close to succeed... (then after I'll just export the data on another box for analysis and just run tcpdump).

I have followed the excellent instruction from

I had to recompile su as suggested on that page because ntop uses su.

I am using the developpement version of ntop from the 07/01/02.
I have to use su cos smoothwall uses an older version of libc than the one I use on my dev linux box.

so far what I do and what I get is:
as root, do a chroot to the directory with all the required libs and binary to run ntop. I start ntop as another user: ntop -u whatever
everything works fine...
I then log on to my box: http://firewall:3000
and I get the ntop webpage... well... almost...
I just get the menu on the left and top... but no main page!!!
I can't display any results! it is just a blank page!
So I can see my ntop works (it starts in my console and my web browser connect to it) but there is no webapge with data instead of displaying the sortDataProtos.html for example

I tried to look for the sortDataProtos.html page on my dev linux box where the same version of ntop works but I can't find it. My guess it is a web page dynamically generated.

I will try to post this on a ntop forum, but I was just wondering if any of you has ever tried that...

Thanks all!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ntop cpo Linux - Newbie 4 06-02-2015 02:32 PM
Need help with Ntop Asagath Linux - Security 1 12-02-2005 05:04 PM
Perl not running backticks within chroot jail Consul Linux - Security 2 08-02-2005 05:36 PM
using the running XDisplay from chroot keex Linux - General 1 10-25-2003 06:45 PM
ntop with chroot on smoothwall bugsland Linux - Software 0 01-07-2003 05:28 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration