Oh ... my mistake, so it is not ntop and it is libcap that can not keep up. I did read the ring buffer doc, I guess I should of refreshed my memory.
>From the ring doc it seems like the network drive / module would have to support the ring buffer driver ? If so would that not cause a problem if all the network modules have to be modified ? Using ULogd I can capture all packets or only headers and place them in the RAM drive. And since NTOP can read pcap files we are all set. Michael. On Wed, 18 Feb 2004 16:32:33 -0600 "Burton M. Strauss III" <[EMAIL PROTECTED]> wrote: > What do I think? It's bogus. What you're really talking about is to buffer > packets. ntop already does that - check the stats in textinfo.html. > > (Especially if you turn off the packet decoders), ntop keeps up with > 100BaseT just fine - ASSUMING it gets fed the packets. > > It's not ntop per se that can't keep up, it's libpcap. Read the articles in > docs/FAQ and Luca's paper on ring-buffer driver mods for the skinny. > > > -----Burton > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > > Michael Gale > > Sent: Wednesday, February 18, 2004 2:57 PM > > To: [EMAIL PROTECTED] > > Subject: [Ntop] Packet dumping or mirroring > > > > > > Hello, > > > > I have a question, well more of a idea ... let me know what > > you think. > > > > I use Ntop to monitor network traffic ... I have it running all > > the time and dump the data nightly to a mysql DB via a PHP script > > and then reset > > the stats. > > > > This allows me to provide data on a day, week and month bases, > > anyways ... from > > my understanding most programs like Ntop have a issue with keeping up with > > traffic that is faster then 100MB HD. > > > > So anything 10MB FD and slower is ok, but anything over that > > limit ntop can not > > keep up with the flow so your monitoring stats do not reflect the actually > > amount. > > > > Now I supposed I could switch programs and try IPFM or something > > but there out > > put sucks. > > > > So I have the following idea / solution involving iptables :) > > > > Solution 1: > > First you create a "tmpfs" .. for example in your NTOP home > > directory call it > > tmp (/home/ntop/tmp). Now make this directory a RAM drive that gets mount > > everytime we boot up, about 50MB (maybe). > > > > or > > > > Solution 2: > > > > Create a new deice, like a dummy network. > > > > Now we create a module for iptables to send a copy of every > > packet on every > > interface to the RAM drive or dummy device. > > > > I think a RAM drive is better, so if we have a firewall box with > > two interfaces > > we could have iptables send a copy of every packet in raw form to > > the RAM drive. > > Each packet or group of packets could be labelled by interface plus time > > timestamp plus transaction ID or checksum ? You could have > > different mod levels > > like only dump packet headers or whole packets ? > > > > This would insure that not network packets are lost and the > > monitor could keep > > up. > > > > We could not have our monitoring program (ntop for example) read > > the packets in > > the RAM drive every <not sure> and provide reporting stats. This > > would also > > allow us to save funny looking packets for investigating. > > > > What do you think ... I do not believe there is a way to do this now :( > > > > -- > > Michael Gale > > Network Administrator > > Utilitran Corporation > > _______________________________________________ > > Ntop mailing list > > [EMAIL PROTECTED] > > http://listgateway.unipi.it/mailman/listinfo/ntop > > > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop > > > > -- Michael Gale Network Administrator Utilitran Corporation _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
