Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-22 | Add parsing+verification for bw weight values. | Mike Perry | |
2010-02-22 | Perform calculation of consensus bandwidth weights. | Mike Perry | |
Also add bwweightscale consensus param. Use it as our fixed-point calculation width. | |||
2010-02-22 | Add %lld compat defines. | Mike Perry | |
2010-02-22 | Merge remote branch 'sebastian/coverity' | Nick Mathewson | |
2010-02-22 | Merge remote branch 'sebastian/bug1254' | Nick Mathewson | |
2010-02-22 | Make expand_filename into a tor_strdup() alias on windows. | Nick Mathewson | |
On Windows, we don't have a notion of ~ meaning "our homedir", so we were deliberately using an #ifdef to avoid calling expand_filename() in multiple places. This is silly: The right place to turn a function into a no-op on a single platform is in the function itself, not in every single call-site. | |||
2010-02-22 | Remove some redundant code in options_save_current() | Sebastian Hahn | |
get_torrc_fname() does the same thing we did in this code, so let's replace it. | |||
2010-02-22 | Expand homedirs in paths passed to tor-checkkey | Sebastian Hahn | |
This is so that coverity stops complaining about using a user-supplied string with the open() syscall. Let's see if it works. | |||
2010-02-22 | Zero a cipher completely before freeing it | Sebastian Hahn | |
We used to only zero the first ptrsize bytes of the cipher. Since cipher is large enough, we didn't zero too many bytes. Discovered and fixed by ekir. Fixes bug 1254. | |||
2010-02-22 | Break early on unknown extendcircuit purpose | Sebastian Hahn | |
Don't continue handling EXTENDCIRCUIT messages when we get an unknown purpose. | |||
2010-02-22 | Fix a memory leak, found by coverity | Sebastian Hahn | |
2010-02-22 | Remove some redundand code in control.c | Sebastian Hahn | |
Found by coverity | |||
2010-02-22 | network-status-version must come first in a vote/consensus | Sebastian Hahn | |
Spec conformance issue: The code didn't force the network-status-version token to be the first token in a v3 vote or consensus. Problem discovered by Parakeep. | |||
2010-02-22 | prepare for 0.2.2.9-alpha | Roger Dingledine | |
2010-02-21 | fix typo and garbage grammar | Roger Dingledine | |
2010-02-20 | Merge remote branch 'public/cbt-status' | Nick Mathewson | |
Conflicts: ChangeLog | |||
2010-02-19 | Merge remote branch 'sebastian/bug1143' | Nick Mathewson | |
2010-02-19 | Make the DNSPort option work with libevent 2.x | Sebastian Hahn | |
We need to use evdns_add_server_port_with_base() when configuring our DNS listener, because libevent segfaults otherwise. Add a macro in compat_libevent.h to pick the correct implementation depending on the libevent version. Fixes bug 1143, found by SwissTorExit | |||
2010-02-18 | Future-proof the control protocol by ignoring unrecognized keyword args | Nick Mathewson | |
2010-02-18 | Make more arguments in control.c properly case-insensitive. | Nick Mathewson | |
2010-02-18 | Describe the recent timeouts reallocation behavior. | Mike Perry | |
2010-02-18 | Move CBT params into consensus. | Mike Perry | |
2010-02-18 | Add an event for a case where we drop guards. | Mike Perry | |
Also add a comment about an odd CBT timeout edgecase. | |||
2010-02-18 | Allow "EXTENDCIRCUIT 0" to omit a path. | Mike Perry | |
2010-02-18 | Add BUILDTIMEOUT_SET event for CBT stress testing. | Mike Perry | |
2010-02-18 | Merge remote branch 'origin/maint-0.2.1' | Nick Mathewson | |
Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h | |||
2010-02-18 | Bump version to 0.2.1.23-dev | Nick Mathewson | |
2010-02-18 | Fix compile | Sebastian Hahn | |
2010-02-17 | Even more conservative option-setting for SSL renegotiation. | Nick Mathewson | |
This time, set the SSL3_FLAGS_ALLOW_UNSAFE_RENEGOTIATION flag on every version before OpenSSL 0.9.8l. I can confirm that the option value (0x0010) wasn't reused until OpenSSL 1.0.0beta3. | |||
2010-02-15 | Build correctly with Libevent 2.0.4-alpha and later | Nick Mathewson | |
2010-02-12 | Remove the --enable-iphone option as needless. | Nick Mathewson | |
On or-talk, Marco Bonetti reports that recent iPhone SDKs build Tor fine without it. | |||
2010-02-12 | new dannenberg address; make moria2's demise official. | Roger Dingledine | |
2010-02-12 | prepare for 0.2.1.23 | Roger Dingledine | |
2010-02-10 | Add Windows version detection for Vista and 7 | Sebastian Hahn | |
Vista is Windows 6.0, and 7 is Windows 6.1. Fixes bug 1097. Also fix a coding style violation. | |||
2010-02-09 | Merge remote branch 'origin/maint-0.2.1' | Nick Mathewson | |
2010-02-09 | Merge remote branch 'sebastian/bug925' | Nick Mathewson | |
2010-02-09 | Merge remote branch 'sebastian/bug1238' | Nick Mathewson | |
2010-02-09 | Merge remote branch 'sebastian/exit-notice' | Nick Mathewson | |
2010-02-09 | Make tor_addr_copy() conform to memcpy requirements | Nick Mathewson | |
The src and dest of a memcpy() call aren't supposed to overlap, but we were sometimes calling tor_addr_copy() as a no-op. Also, tor_addr_assign was a redundant copy of tor_addr_copy(); this patch removes it. | |||
2010-02-09 | Fix a whitespace violation | Sebastian Hahn | |
2010-02-09 | Speed up the execution of exit_policy_is_general_exit_helper() | Sebastian Hahn | |
It isn't necessary to walk through all possible subnets when the policy we're looking at doesn't touch that subnet. | |||
2010-02-09 | Another unit test for exit_policy_is_general_exit() | Sebastian Hahn | |
2010-02-08 | Fix the path to the exit-notice file in torrc.sample | Sebastian Hahn | |
Also reword it slightly to reflect the fact that no packagers ship the file. | |||
2010-02-08 | 0/8 doesn't count as a /8 subnet towards an Exit flag | Sebastian Hahn | |
2010-02-08 | Don't spam controllers with TOO_MANY_CONNECTIONS events | Sebastian Hahn | |
We implemented ratelimiting for warnings going into the logfile, but didn't rate-limit controller events. Now both log warnings and controller events are rate-limited. | |||
2010-02-08 | Don't use gethostbyname() in resolve_my_address() | Sebastian Hahn | |
Tor has tor_lookup_hostname(), which prefers ipv4 addresses automatically. Bug 1244 occured because gethostbyname() returned an ipv6 address, which Tor cannot handle currently. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik. | |||
2010-02-07 | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | |
2010-02-07 | lookup_last_hid_serv_request() could overflow and leak memory | Sebastian Hahn | |
The problem was that we didn't allocate enough memory on 32-bit platforms with 64-bit time_t. The memory leak occured every time we fetched a hidden service descriptor we've fetched before. | |||
2010-02-04 | Another unit test for exit_policy_is_general_exit() | Sebastian Hahn | |
2010-02-04 | Call exit_policy_is_general_exit less | Sebastian Hahn | |
When calculating the is_exit flag for a routerinfo_t, we don't need to call exit_policy_is_general_exit() if router_exit_policy_rejects_all() tells us it definitely is an exit. This check is much cheaper than running exit_policy_is_general_exit(). |