Re: [HiPPIE-Users] How to clear stats?
Brought to you by:
baldown
From: Trivedi, N. <ntr...@mi...> - 2008-12-03 20:12:47
|
Thanks Josh, where would I find the types and the related counters to reset to 0? Nice idea about using a virtual machine and a tun interface. I'll give it a shot. -Nirav -----Original Message----- From: Josh Ballard [mailto:jo...@oo...] Sent: Wednesday, December 03, 2008 2:09 PM To: hip...@li... Subject: Re: [HiPPIE-Users] How to clear stats? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey Nirav, Actually, there's nothing programmed in currently, but it wouldn't be too difficult to implement if someone wanted to take it on. I wish I'd had more time to do some work on HiPPIE lately, but things have been immensely busy. All you'd have to do is set up another proc interface in HiPPIE called reset or something, and any time you echo 1 into it, it loops all the types and resets the counters for each back to 0. Also, if you're interested, I think you might be trying to attempt something that I've already done before in another method. One thing you might look at is standing up a virtual machine with a virtual interface mapped to a tun interface, and playing your packets back into the tun interface. Either way, your way might be easiest from scratch, but that was one way I've attempted to do automated analysis before. Hopefully that helps. Thanks Josh On Dec 3, 2008, at 12:00 PM, Trivedi, Nirav wrote: > Hi, I have a quick question. How do you clear the /proc/net/hippie/ > protocols and /proc/net/hippie/stats ? I'd like to be able send a > stream of data to HIPPIE in passive mode, get back statistics, clear > all data from the first stream, and then send the next stream and so > on. > Thanks. > > > > ----------------------------------------------------------------------- -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_____________ __________________________________ > HiPPIE-Users mailing list > HiP...@li... > https://lists.sourceforge.net/lists/listinfo/hippie-users -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkk22WEACgkQYj4wn+b+JWbEpACfUM50WsKbzZn+8b9q33SDUm3r SBwAoJRL+GG5CLENugssA1zSz6eEAD5a =cYuw -----END PGP SIGNATURE----- ----------------------------------------------------------------------- -- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ HiPPIE-Users mailing list HiP...@li... https://lists.sourceforge.net/lists/listinfo/hippie-users |