diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-06 16:39:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-19 01:58:45 -0400 |
commit | 1d3c8c1f74e9f80317a70c3b7d9372dee87dd373 (patch) | |
tree | 6242d395e4bef2f9e3cba3e5fcb0c7843b91b9fa /src/or/main.h | |
parent | 461623e7f980e8d599829865caf3b3985117004a (diff) | |
download | tor-1d3c8c1f74e9f80317a70c3b7d9372dee87dd373.tar.gz tor-1d3c8c1f74e9f80317a70c3b7d9372dee87dd373.zip |
Add a new isolation type and field: "nym epoch"
The "nym epoch" of a stream is defined as the number of times that
NEWNYM had been called before the stream was opened. All streams
are isolated by nym epoch.
This feature should be redundant with existing signewnym stuff, but
it provides a good belt-and-suspenders way for us to avoid ever
letting any circuit type bypass signewnym.
Diffstat (limited to 'src/or/main.h')
-rw-r--r-- | src/or/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.h b/src/or/main.h index db251356fd..c8903642de 100644 --- a/src/or/main.h +++ b/src/or/main.h @@ -52,6 +52,7 @@ void ip_address_changed(int at_interface); void dns_servers_relaunch_checks(void); long get_uptime(void); +unsigned get_signewnym_epoch(void); void handle_signals(int is_parent); void process_signal(uintptr_t sig); |