tor/src/or
Karsten Loesing a6a127c833 Replace files in stats/ rather than appending to them.
Right now, we append statistics to files in the stats/ directory for
half of the statistics, whereas we overwrite these files for the other
half. In particular, we append buffer, dirreq, and entry stats and
overwrite exit, connection, and bridge stats.

Appending to files was useful when we didn't include stats in extra-info
descriptors, because otherwise we'd have to copy them away to prevent
Tor from overwriting them.

But now that we include statistics in extra-info descriptors, it makes
no sense to keep the old statistics forever. We should change the
behavior to overwriting instead of appending for all statistics.

Implements #2930.
2011-08-04 20:57:29 +02:00
..
buffers.c Merge branch 'optimistic-client' 2011-07-20 09:50:53 -04:00
buffers.h Add a generic_buffer_t to use the best buffer type we have on hand 2011-07-18 15:36:20 -04:00
circuitbuild.c Remove compare_addr_to_node_policy 2011-07-15 13:04:12 -04:00
circuitbuild.h Merge remote-tracking branch 'public/bug2841' 2011-07-11 15:57:12 -04:00
circuitlist.c Do not cannibalize a circuit with isolation values set. 2011-07-20 14:40:47 -04:00
circuitlist.h Add a circuit_purpose_to_string() function, and use it 2011-04-27 00:01:35 -04:00
circuituse.c remember our future plan for bug 3617 2011-07-21 00:34:58 -04:00
circuituse.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
command.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-30 15:41:46 -04:00
command.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
config_codedigest.c fix codestyle issues 2009-05-24 02:42:37 +02:00
config.c Add an OptimisticData option to control client-side optimistic data 2011-07-20 14:14:21 -04:00
config.h Parse prop171 options; refactor listener/port option code 2011-07-19 01:58:43 -04:00
connection_edge.c Implement protocol-type isolation correctly. 2011-08-02 10:48:39 -04:00
connection_edge.h Implement sensible isolation for tunneled directory conns 2011-07-19 02:02:17 -04:00
connection_or.c Fix a compile warning on OS X 10.6 2011-07-15 23:12:43 +02:00
connection_or.h Disable recording new broken conns when we have bootstrapped 2011-07-11 16:13:17 -04:00
connection.c Implement protocol-type isolation correctly. 2011-08-02 10:48:39 -04:00
connection.h Refactor listener_connection_t into its own type. 2011-07-19 01:58:44 -04:00
control.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-07-14 17:22:23 -04:00
control.h Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-23 01:23:53 -04:00
cpuworker.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-30 14:58:26 -04:00
cpuworker.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
directory.c Implement sensible isolation for tunneled directory conns 2011-07-19 02:02:17 -04:00
directory.h Make a function static 2011-07-11 16:13:17 -04:00
dirserv.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-07-01 12:56:40 -04:00
dirserv.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
dirvote.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
dirvote.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
dns.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
dns.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
dnsserv.c Implement protocol-type isolation correctly. 2011-08-02 10:48:39 -04:00
dnsserv.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
eventdns_tor.h Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
eventdns.c Don't shadow parameters with local variables 2011-07-01 11:33:07 -04:00
eventdns.h Use a 64-bit type to hold sockets on win64. 2011-05-23 00:17:48 -04:00
geoip.c Replace files in stats/ rather than appending to them. 2011-08-04 20:57:29 +02:00
geoip.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
hibernate.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
hibernate.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
main.c Add a new isolation type and field: "nym epoch" 2011-07-19 01:58:45 -04:00
main.h Add a new isolation type and field: "nym epoch" 2011-07-19 01:58:45 -04:00
Makefile.am Initial patch to build Tor with msvc and nmake 2011-08-01 12:36:59 -04:00
Makefile.nmake Initial patch to build Tor with msvc and nmake 2011-08-01 12:36:59 -04:00
microdesc.c Merge remote-tracking branch 'public/bug3153' 2011-07-07 11:14:04 -04:00
microdesc.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
networkstatus.c Initial patch to build Tor with msvc and nmake 2011-08-01 12:36:59 -04:00
networkstatus.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
nodelist.c Make nodelist_purge avoid orphaned microdescs in rs-less nodes 2011-07-07 15:28:45 -04:00
nodelist.h Rename and tweak nodelist_add_node_family() to add node 2011-07-11 11:21:47 -04:00
ntmain.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-03-16 17:09:32 -04:00
ntmain.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
onion.c Merge remote-tracking branch 'public/3122_memcmp_squashed' into bug3122_memcmp_022 2011-05-11 16:24:29 -04:00
onion.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
or.h Implement protocol-type isolation correctly. 2011-08-02 10:48:39 -04:00
policies.c Remove compare_addr_to_node_policy 2011-07-15 13:04:12 -04:00
policies.h Remove compare_addr_to_node_policy 2011-07-15 13:04:12 -04:00
reasons.c Send END_STREAM_REASON_NOROUTE: clients that didn't grok it are now obsolete 2011-03-28 13:42:59 -04:00
reasons.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
relay.c Remember optimistically sent data until we have gotten a CONNECTED 2011-07-18 15:43:16 -04:00
relay.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
rendclient.c Fix bug in upload/download of hsdesc with microdescs 2011-07-15 18:55:12 -04:00
rendclient.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
rendcommon.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-07-01 12:56:40 -04:00
rendcommon.h Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-16 14:50:53 -04:00
rendmid.c Merge remote-tracking branch 'public/3122_memcmp_squashed' into bug3122_memcmp_022 2011-05-11 16:24:29 -04:00
rendmid.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
rendservice.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-07-19 12:59:10 -04:00
rendservice.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
rephist.c Replace files in stats/ rather than appending to them. 2011-08-04 20:57:29 +02:00
rephist.h Merge remote branch 'origin/maint-0.2.2' 2011-03-11 23:34:46 -05:00
router.c Parse prop171 options; refactor listener/port option code 2011-07-19 01:58:43 -04:00
router.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
routerlist.c Better messages when we're stalled because of microdescriptors 2011-07-15 19:38:27 -04:00
routerlist.h Remove compare_addr_to_node_policy 2011-07-15 13:04:12 -04:00
routerparse.c Only use optimistic data with exits that support it 2011-07-18 13:56:22 -04:00
routerparse.h Move the decl for tor_gettimofday_cache_clear to the right header 2011-03-16 17:54:48 -04:00
status.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
status.h Implement more heartbeat message stuff. 2011-02-22 12:40:38 -05:00
tor_main.c Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2 2011-01-03 11:51:17 -05:00