Hello Burton, > It's accepting the first row, correct?
No, it doesn´t seem so. Tried it with commata, doesn´t work either. Even reducing the subnets.txt to just one entry to check it don´t work it produces the exactly same error: -----------------------------------------------------------snip---------------------------------------------------- [EMAIL PROTECTED]:/install/ntop-3.3.7# sudo ./ntop -u root --known-subnets @/install/ntop-3.3.7/subnets.txt Processing file /install/ntop-3.3.7/subnets.txt for parameters... Mon Aug 25 20:31:15 2008 NOTE: Interface merge enabled by default Mon Aug 25 20:31:15 2008 Initializing gdbm databases Mon Aug 25 20:31:15 2008 **ERROR** '192.168.17.0/24' Mon Aug 25 20:31:15 2008 **ERROR** '' Mon Aug 25 20:31:15 2008 ntop v.3.3.7 Mon Aug 25 20:31:15 2008 Configured on Aug 25 2008 11:43:46, built on Aug 25 2008 11:44:39. Mon Aug 25 20:31:15 2008 Copyright 1998-2007 by Luca Deri <[EMAIL PROTECTED]> Mon Aug 25 20:31:15 2008 Get the freshest ntop from http://www.ntop.org/ Mon Aug 25 20:31:15 2008 NOTE: ntop is running from '/install/ntop-3.3.7/.libs' Mon Aug 25 20:31:15 2008 NOTE: (but see warning on man page for the --instance parameter) Mon Aug 25 20:31:15 2008 Initializing ntop Mon Aug 25 20:31:15 2008 Creating dummy interface, 'none' Mon Aug 25 20:31:15 2008 **ERROR** pcap_open_offline(192.168.17.0/24): '192.168.17.0/24: No such file or directory' -----------------------------------------------------------snip---------------------------------------------------- Doesn´t go on any further from this point. Greetings Daniel -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Burton Strauss III Gesendet: Montag, 25. August 2008 19:19 An: [email protected] Betreff: Re: [Ntop] Known Subnets It's accepting the first row, correct? What happens with the @file option is that it strings together the characters ignoring line breaks, extra white space, etc. So where from the command line you would enter -m 192.168.17.0/24,172.16.0.0/16,...,10.96.4.0/22 You need to put the file together to it ends up 'the same'. Otherwise, the parser will see each of the additional options as extra (unknown) options and reject them. Put ,s after each line except the last so your file looks like 192.168.17.0/24, 172.16.0.0/16, ... 10.96.4.0/22 That will create the 'right' -m parameter. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muschalek, Daniel Sent: Monday, August 25, 2008 10:07 AM To: [email protected] Subject: [Ntop] Known Subnets Hello Burton, without the names i get this. --------------------------------------------------snip---------------------- ------------------------------ root at EARTH2:/install/ntop-3.3.7# sudo ./ntop -u root --known-subnets @/install/ntop-3.3.7/subnets.txt Processing file /install/ntop-3.3.7/subnets.txt for parameters... Mon Aug 25 16:59:26 2008 NOTE: Interface merge enabled by default Mon Aug 25 16:59:26 2008 Initializing gdbm databases Mon Aug 25 16:59:26 2008 **ERROR** '192.168.17.0/24' Mon Aug 25 16:59:26 2008 **ERROR** '172.16.0.0/16' Mon Aug 25 16:59:26 2008 **ERROR** '131.114.0.0/16' Mon Aug 25 16:59:26 2008 **ERROR** '10.96.4.0/22' Mon Aug 25 16:59:27 2008 **ERROR** '' Mon Aug 25 16:59:27 2008 ntop v.3.3.7 Mon Aug 25 16:59:27 2008 Configured on Aug 25 2008 11:43:46, built on Aug 25 2008 11:44:39. Mon Aug 25 16:59:27 2008 Copyright 1998-2007 by Luca Deri <deri at ntop.org> Mon Aug 25 16:59:27 2008 Get the freshest ntop from http://www.ntop.org/ Mon Aug 25 16:59:27 2008 NOTE: ntop is running from '/install/ntop-3.3.7/.libs' Mon Aug 25 16:59:27 2008 NOTE: (but see warning on man page for the --instance parameter) Mon Aug 25 16:59:27 2008 Initializing ntop Mon Aug 25 16:59:27 2008 Creating dummy interface, 'none' Mon Aug 25 16:59:27 2008 **ERROR** pcap_open_offline(192.168.17.0/24):'192.168.17.0/24: No such file or directory' --------------------------------------------------snip---------------------- ------------------------------ What i´m baffled about is the pcap_open_offline statement. It seems pcap is trying to open an existing savedump file called like a subnet? Why should it do such a thing a the startup of ntop? There wouldn´t be such a file at this time. Or am i getting this wrong? Greetings Daniel > Try it without the names, just the list of networks. > -----Burton _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
