| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fix a longstanding bug in eventdns related to timeouts: The timeout count was never actually reset to 0. Argh. Now we reset it to zero after we get a successful request, or after we notice that a nameserver is back up, or after we decide the nameserver is down because of timeouts. This may fix bug 326.
svn:r9054
|
|
|
|
|
|
|
| |
remove some completed items from the TODO
svn:r9053
|
|
|
|
|
|
|
| |
Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts.
svn:r9052
|
|
|
|
|
|
|
| |
Make GETINFO dir/status/... work even when we are not a directory. Needs a little cleanup. Closes bug 263.
svn:r9051
|
|
|
|
| |
svn:r9049
|
|
|
|
|
|
|
| |
Round stored/transmitted values for bandwidth usage. This might make some attacks work less well. This might well be voodoo, but it gives me a warm fuzzy feeling.
svn:r9048
|
|
|
|
|
|
|
| |
Revise logic used to flush state to disk. Now, we try to batch non-urgent changes so that we do not do too many writes, and we save very-non-urgent changes every once in a rare while, and we never save more than once per second.
svn:r9047
|
|
|
|
|
|
|
| |
Whitespace cleanup
svn:r9046
|
|
|
|
| |
svn:r9045
|
|
|
|
|
|
|
| |
Make bandwidth accounting information get stored to the state file as well as bw_accounting. Read from the state file if it is more recent than bw_accounting, or if bw_accounting is not there.
svn:r9044
|
|
|
|
|
|
|
| |
Change logging format of state file to only include non-default values. Adjust clients to never store bandwidth history in the state file. (Possible backport candidate.)
svn:r9043
|
|
|
|
|
|
|
| |
Write the remaining bits of dir-voting.txt that I feel smart enough to write at the moment. There are still some open questions about timelines and about how to get multilevel keys working.
svn:r9042
|
|
|
|
|
|
|
| |
Fix bug 338: log verbose nicknames, not just keys, for intro points. Also, suppress intro point name logging when SafeLogging is 1. (The security part is a possible backport candidate.)
svn:r9041
|
|
|
|
|
|
|
| |
oops; removed one unmap too many in the tests.
svn:r9040
|
|
|
|
|
|
|
| |
Apparently, we actually hit the nasty mmap-then-unlink behavior. Fix it.
svn:r9039
|
|
|
|
|
|
|
| |
Apparently Windows takes a dim view of unlinking a file while it is mapped. Silly windows, did nobody ever tell you about inodes?
svn:r9038
|
|
|
|
|
|
|
| |
Oops, forgot ChangeLog on last commit. The commit was: Fix a couple of obvious bugs in tor_mmap_file on Windows: first, fix a boolean error when checking the return value of CreateFileMapping. Second, CreateFileMapping is documented to return NULL on failure.
svn:r9036
|
|
|
|
|
|
|
| |
Fix a couple of obvious bugs in tor_mmap_file on Windows: first, fix a boolean error when checking the return value of CreateFileMapping. Second, CreateFileMapping is documented to return NULL on failure.
svn:r9035
|
|
|
|
| |
svn:r9033
|
|
|
|
|
|
|
| |
http://archives.seul.org/or/talk/Dec-2006/msg00065.html
svn:r9032
|
|
|
|
|
|
|
|
| |
AuthDirRejectUnlisted and then receives a descriptor from an
unlisted router (reported by seeess).
svn:r9023
|
|
|
|
| |
svn:r9022
|
|
|
|
|
|
|
| |
Merge circuit_about_to_close_connection and connection_about_to_close_connection.
svn:r9021
|
|
|
|
|
|
|
| |
Patch from Fabian Keil: Fix return statement in get_pf_socket()
svn:r9020
|
|
|
|
| |
svn:r9019
|
|
|
|
|
|
|
| |
haven't heard problems from anybody else, so here we go.
svn:r9017
|
|
|
|
| |
svn:r9016
|
|
|
|
| |
svn:r9015
|
|
|
|
|
|
|
| |
Turn an xxxx0124 into an #ifdef; avoid leaking memory.
svn:r9013
|
|
|
|
| |
svn:r9003
|
|
|
|
| |
svn:r9000
|
|
|
|
|
|
|
|
|
| |
intended. this way we don't call resolve-my-address, which
yells and screams if we're using an internal address (mere
clients should not have to care).
svn:r8998
|
|
|
|
|
|
|
| |
Actually, clients *should* try to guess their addresses.
svn:r8997
|
|
|
|
|
|
|
| |
Fix router_new_address_suggestion() so it only changes last_guessed_ip() when it actually calls resolve_my_address(). (bug found by dev-girl)
svn:r8996
|
|
|
|
|
|
|
| |
Change vc++ orconfig.h: add definition for SIZEOF_SIZE_T.
svn:r8995
|
|
|
|
|
|
|
| |
Privoxy 3.0.6.
svn:r8992
|
|
|
|
| |
svn:r8991
|
|
|
|
|
|
|
| |
Small cross-compilation fixes.
svn:r8980
|
|
|
|
|
|
|
| |
Fix a trivial comment.
svn:r8979
|
|
|
|
|
|
|
| |
and !badexit lines in the approved-routers file.
svn:r8974
|
|
|
|
|
|
|
| |
Apply cross.sh patch from Mike Mohr: rename ARCH_PREFIX to HOST_TRIPLET; work even when autogen.sh has not yet been run.
svn:r8973
|
|
|
|
|
|
|
|
|
|
|
| |
11:23 < armadev> typo
11:23 < nickm> ?
11:23 < armadev> did you get the coffee yet? :)
11:23 < nickm> no
11:23 < armadev> i'm at an advantage..i haven't slept yet
svn:r8972
|
|
|
|
|
|
|
| |
Fix a small and unlikely memory leak in dirserv.c. I think this is not the one arma is looking for.
svn:r8971
|
|
|
|
|
|
|
| |
Oops; fix bug in last fix. Time to get some coffee.
svn:r8970
|
|
|
|
|
|
|
| |
Fix leak in choose_good_exit_server_general()
svn:r8969
|
|
|
|
| |
svn:r8968
|
|
|
|
|
|
|
| |
Commit additional thoughts towards a revised directory protocol, including voting.
svn:r8960
|
|
|
|
|
|
|
|
| |
Tweaks to test-connection patch: use ".noconnect" instead of ".test" (since there are lots of ways to test things). Use a regular sequence of STREAM events (NEW followed by CLOSED) instead of a new event type. Make the function that checks the address be static and use const and strcasecmpend properly.
svn:r8959
|
|
|
|
|
|
|
|
|
|
|
| |
Check in an implementation of "test" connections from Scott Squires:
these connections immediately close upon reaching Tor. They're useful
for apps that want to check whether they're talking to the same Tor as
a given controller. (I'll be tweaking this a bit before I push.)
svn:r8958
|
|
|
|
|
|
|
| |
Try to detect mipspro compiler. Add -c99 to cflags if we find it.
svn:r8955
|