Daniel Meißner wrote: >Is it possible to store the accounting data >before I restart shorewall and restore the data >after a restart?
I really doubt it. How are you storing/using the data ? I use rrdtool at work and there are a couple of way round this problem. The best is to wrap the shorewall restart with three calls to update your rrd database - before the restart, do a normal update followed by an update with values of "U"; after the restart, do an update with values of "0". Actually the update with "U"s can be before or after the shorewall restart. This will capture the counters just before you reset them, and the combination of an update with unknown as the value followed by zero will reset the counter internal to rrdtool so that it will accept the reset to zero without any glitches (either a large negative jump or a very large positive jump if the change is treated as a wrap around). -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
