Not a bloody clue :-( - I haven't heard of anyone running ntop in a chroot jail. If libpcap will feed you the packets, it's an interesting idea.
Some questions and things to try. 1. Do other, static pages work? man page is a good one to try. 2. What about simpler dynamic ones? Say configuration?? 3. Try something more recent than July of last year. Like version 2.1.55 4. If it's only pages w/ charts on them, are you sure you copied the chart libraries into the jail? 5. Try loading that page directly, e.g. http://firewall:3000/ sortDataProtos.html some browsers have problems with the nested framesets. 6. STFW for stuff about chroot jails and socket() problems. 7. Let us know what you find. -----Burton ---------- Original Message ---------------------------------- From: Sylvain Martinez <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 31 Jan 2003 07:57:31 +0000 >Note: I have just sent this email with a wrong subject (Welcome to ntop), >I am really sorry about it. (best thing to do when joining a new mailing list: >annoying its members... doh!) > >Hi all! > >I was wondering if any of you has ever tried the following: > >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. > >Please note that I have also tried to run ntop in a chroot directory on my normal >linux box (RedHat 8.0) and I have the same problem! However if I don't chroot it >works fine. > >ntop starts but the web interface only displays the menu and not the main page. > >My question is therefore: How can you run ntop in a chroot environment? > > >Thanks all! >Sylvain. > >__________________ >--- >Sylvain >http://www.encryptsolutions.com >_______________________________________________ >Ntop mailing list >[EMAIL PROTECTED] >http://listgateway.unipi.it/mailman/listinfo/ntop > >_______________________________________________ >Ntop mailing list >[EMAIL PROTECTED] >http://listgateway.unipi.it/mailman/listinfo/ntop > ____________________________________________________________ Free 20MB Web Site Hosting and Personalized E-mail Service! Get It Now At Doteasy.com http://www.doteasy.com/et/ _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
