| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
| |
Weasel correctly notes that we should not discard the return value from connection_exit_begin_con. Right now, the return value is always discardable, so this does not actually cause a bug, but it might later. So fix it.
svn:r8774
|
| |
|
|
|
|
|
| |
Add a GETINFO target so controllers can ask Tor for the current state of a router. (Results given in networkstatus format.)
svn:r8772
|
| |
|
|
|
|
|
| |
Fix longstanding bug in connection_exit_begin_conn(): Since connection_edge_end() exits when the connection is unattached, we were never sending RELAY_END cells back for failed RELAY_BEGIN attempts. Fix this. This might make clients that were otherwise timing out either fail faster or retry faster, which is good news for us.
svn:r8770
|
| |
|
|
| |
svn:r8769
|
| |
|
|
|
|
|
| |
install torbutton for all profiles.
svn:r8768
|
| |
|
|
|
|
|
| |
null. better safe than sorry.
svn:r8767
|
| |
|
|
|
|
|
| |
Weasel points out that a routerdesc requested by digest can never change. Weasel is right.
svn:r8766
|
| |
|
|
|
|
|
| |
Add pragma:no-cache and expires headers so that directory lookups can work better in the presence of caching HTTP proxies. (I would have used Cache-Control, but that is an HTTP/1.1 thing.) All timeouts are currently wild-assed guesses.
svn:r8765
|
| |
|
|
|
|
|
| |
Add some more unit tests for policies.
svn:r8764
|
| |
|
|
|
|
|
| |
Split smartlist tests into their own function, and add a couple more. Re-enable strmap iteration tests. Remove tests for code that doesnt exist any more (parse_nickname_list, identity ciphers).
svn:r8763
|
| |
|
|
|
|
|
| |
Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string.
svn:r8762
|
| |
|
|
|
|
|
| |
Never discard a descriptor for being too old until either it is recommended by no authorities, or until we download a better (more recent and recommended) one for the same router. This will eventually make it possible for servers to publish less often.
svn:r8761
|
| |
|
|
|
|
|
| |
Fix an XXX in handling destroy cells: when we get a destroy cell with reason FOO, do not tell the controller REASON=FOO. Instead, say REASON=DESTROYED REMOTE_REASON=FOO. Suggested by a conversation with Mike Perry.
svn:r8760
|
| | |
|
| |
|
|
|
|
|
| |
Move a changelog item; add a TODO.
svn:r8758
|
| | |
|
| |
|
|
|
|
|
| |
Change to BadExit logic: Let authorities set an "I list bad exits" flag. Consider an exit bad if it is listed as bad by more than half of *those* authorities. This gives us a better migration path.
svn:r8756
|
| |
|
|
|
|
|
| |
Try to detect windows properly when cross-compiling
svn:r8755
|
| |
|
|
|
|
|
| |
Oops, forgot the patch: Use corect macro to detect cygwin builds (patch from Pei Hanru)
svn:r8754
|
| |
|
|
|
|
|
| |
Use corect macro to detect cygwin builds (patch from Pei Hanru)
svn:r8753
|
| |
|
|
| |
svn:r8751
|
| |
|
|
|
|
|
| |
Another patch from Mike Perry; sprintfing a NULL pointer. (with comment).
svn:r8747
|
| |
|
|
|
|
|
| |
Add comments on questions in control-spec.txt
svn:r8746
|
| |
|
|
| |
svn:r8745
|
| |
|
|
|
|
|
|
| |
an explanation for spurious messageboxes for those curious as to their
existence
svn:r8744
|
| |
|
|
|
|
|
| |
installed into Firefox without user intervention is step 2.
svn:r8743
|
| |
|
|
|
|
|
| |
Fix -Wlots with command.c (a uchar is never -1). Note also that one of our ifs is very stupid.
svn:r8741
|
| |
|
|
|
|
|
| |
Oops. Libevent 1.2 exists. Add it to our enum, even though we dont care yet.
svn:r8740
|
| |
|
|
|
|
|
| |
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.)
svn:r8739
|
| |
|
|
| |
svn:r8737
|
| |
|
|
| |
svn:r8736
|
| |
|
|
|
|
|
|
| |
this way vidalia has some guess about how freaked out we are, even if
it doesn't recognize the status name.
svn:r8735
|
| |
|
|
| |
svn:r8728
|
| |
|
|
| |
svn:r8727
|
| |
|
|
|
|
|
|
| |
this still occurs on moria sometimes if it's swapping to death.
so be it.
svn:r8725
|
| |
|
|
| |
svn:r8715
|
| |
|
|
|
|
|
| |
Fix for last patch. "", though empty, is true. This ain't Python, Nick.
svn:r8701
|
| |
|
|
|
|
|
| |
Fix extraneous space in CIRC events when path is empty.
svn:r8700
|
| |
|
|
|
|
|
| |
Second patch to work on circuit close reasons from Mike Perry. Disabled partially; see comment. Whitespace cleaned up.
svn:r8699
|
| |
|
|
| |
svn:r8695
|
| |
|
|
| |
svn:r8694
|
| |
|
|
| |
svn:r8693
|
| |
|
|
| |
svn:r8692
|
| |
|
|
|
|
|
| |
Also expand on anonymity effects from becoming a bridge relay.
svn:r8691
|
| |
|
|
|
|
|
|
| |
Add client support for a 'BadExit' flag, so authorities can say "Server X is a poor choise for your nytimes.com connections, as it seems to direct them to HoorayForMao.com or (more likely) WouldYouLikeToBuyTheseFineEncyclopedias.com"
svn:r8690
|
| |
|
|
| |
svn:r8689
|
| |
|
|
|
|
|
| |
Remove -Winline from standard list, add -Wswitch-enum.
svn:r8687
|
| |
|
|
|
|
|
| |
Make --enable-gcc-warnings work on gcc3.3, not just on gcc4.0
svn:r8686
|
| |
|
|
|
|
|
| |
Fix a signed/unsigned compare in eventdns.c
svn:r8685
|
| |
|
|
|
|
|
|
| |
service circuits.
(also found by mwenge)
svn:r8682
|