Sorry, my last email was slightly unclear - ps aux doesnt actually show the *true* command line - basically what im saying is, that i did use quotes - the real command i used was this:
ntop -i eth0 -P /var/log/ntop -u nobody -c -S 2 -B "(not src net 192.168.255.0/24) and dst net 192.168.255.0/24" -b localhost 4000 -d what I can't understand is, if i view it through a web page using ntop:3000, it only shows the internal hosts (which is all i want) whereas in mysql, it seems to ignore the filter that i specify on the command line. Weird! How about reading the docs/FAQ? It's in there. Hint: Quotes -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 2:04 AM To: [EMAIL PROTECTED] Subject: [Ntop] mysql logs too many hosts Hi, I was just wondering why the filter that you specify on the command line has no effect when logging to an sql database? when going to ntop-host:3000, the stats show only what you specify on the command line whereas in the database, everything is logged! here is my command line: ntop -i eth0 -P /var/log/ntop -u root -c -S 1 -B (not src net 192.168.255.0/24) and dst net 192.168.255.0/24 -w 3000 -b localhost 4000. The only thing i can think of is the -S part, maybe changing it to -S 2 but it works when browsing to the ntop host, thats why I dont think its that option. Any ideas? Thanks all. _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://lists.ntop.org/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://lists.ntop.org/mailman/listinfo/ntop
