LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-07-2003, 05:23 PM   #1
bugsland
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 http://www.tjw.org/chroot-login-HOWTO/

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!
Sylvain.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:52 PM.

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