|
||||||||
Or using a diferent approach... For example havin a Byte counter and also a Kbyte or Mbyte (do I hear Gbyte?) counter... This would make 32bits much less prone to wrap-around , as the problem is actualling having only 32bits to count bytes... A Kbyte scaler would be nice (4294967295Kbytes = 4095Gb which far larger, and keeping track of each byte on the network is actually too minute INMHO) Pedro -----Original Message----- From: Dave Warren [mailto:maillist at devilsplayground dot net] Sent: sábado, 30 de Outubro de 2004 23:45 To: ALFREDO GONZALEZ Cc: m0n0wall at lists dot m0n0 dot ch Subject: Re: [m0n0wall] Status: Inteface question ALFREDO GONZALEZ wrote: >Hello, > >1- The numbers reset back to zero after 4294967295. it is not a bug, >but a limit on the 32bit counters used. You will find this in pretty much any >system that uses 32bit counters. > > While true, that's no excuse. It's not that hard for the system to track the number of rollovers, and present the information in a <rollovercount>x4GB+<bytecount>B format and let the user do the math if they want. -- "Posting at the top because that's where the cursor happened to be is like shitting in your pants because that's where your asshole happened to be." -- Andreas Prilop (c.i.w.a.h) --------------------------------------------------------------------- To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.786 / Virus Database: 532 - Release Date: 29-10-2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.786 / Virus Database: 532 - Release Date: 29-10-2004 |