Thread: [HiPPIE-Users] How to clear stats?
Brought to you by:
baldown
From: Trivedi, N. <ntr...@mi...> - 2008-12-03 18:00:06
|
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. |
From: Josh B. <jo...@oo...> - 2008-12-03 19:42:29
|
-----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----- |
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 |
From: Josh B. <jo...@oo...> - 2008-12-07 03:56:26
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nirav, I just wanted to let you, and anyone else, know that I just released a new minor-revision update to HiPPIE, 0.9.1.1. I've fixed it up to patch against the latest kernels (2.6.27.8) and in addition, decided while I was checking on things to quickly implement /proc/net/hippie/ stat_reset, which when a numerical value is echo'd into it as root, will reset all counters on HiPPIE. It doesn't clear the session table, though this is something I might consider adding to it later. This is helpful for something I was working on elsewhere, and I'm hoping will be helpful for you as well. Let me know if you run into any issues with it, as I didn't heavily test it, but at least verified that it did what I expected. The new version is available through SourceForge from the download page at http://hippie.oofle.com/ download. Thanks Josh On Dec 3, 2008, at 2:12 PM, Trivedi, Nirav wrote: > 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 > > ------------------------------------------------------------------------- > 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----- iEYEARECAAYFAkk7RKQACgkQYj4wn+b+JWbd+ACffVVNNOzN7ia316oNxi8qrVsE IIsAn1XYn0g1vc0sQmCFaOyK/NYWVTsZ =Z6u4 -----END PGP SIGNATURE----- |
From: Trivedi, N. <ntr...@mi...> - 2008-12-09 22:34:30
|
Thanks Josh. Just verified that the stat_reset works as advertised. -Nirav -----Original Message----- From: Josh Ballard [mailto:jo...@oo...] Sent: Saturday, December 06, 2008 10:36 PM To: hip...@li... Subject: Re: [HiPPIE-Users] How to clear stats? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nirav, I just wanted to let you, and anyone else, know that I just released a new minor-revision update to HiPPIE, 0.9.1.1. I've fixed it up to patch against the latest kernels (2.6.27.8) and in addition, decided while I was checking on things to quickly implement /proc/net/hippie/ stat_reset, which when a numerical value is echo'd into it as root, will reset all counters on HiPPIE. It doesn't clear the session table, though this is something I might consider adding to it later. This is helpful for something I was working on elsewhere, and I'm hoping will be helpful for you as well. Let me know if you run into any issues with it, as I didn't heavily test it, but at least verified that it did what I expected. The new version is available through SourceForge from the download page at http://hippie.oofle.com/ download. Thanks Josh On Dec 3, 2008, at 2:12 PM, Trivedi, Nirav wrote: > 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 > > ------------------------------------------------------------------------- > 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----- iEYEARECAAYFAkk7RKQACgkQYj4wn+b+JWbd+ACffVVNNOzN7ia316oNxi8qrVsE IIsAn1XYn0g1vc0sQmCFaOyK/NYWVTsZ =Z6u4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ HiPPIE-Users mailing list HiP...@li... https://lists.sourceforge.net/lists/listinfo/hippie-users |