summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-01-18Merge remote-tracking branch 'public/bug4533_part1'Nick Mathewson
Conflicts: src/common/compat.h
2012-01-18Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2012-01-18Use tor_socket_t, not unsigned, in tor-fw-helper-natmp.cNick Mathewson
2012-01-18Fix SOCKET_OK test on win64.Nick Mathewson
Bugfix on 0.2.2.29-beta; partial fix for 4533; found by wanoskarnet
2012-01-17Warn if sizeof(tor_socket_t) != sizeof(SOCKET)Nick Mathewson
2012-01-17Use SOCKET_OK macros in even more placesNick Mathewson
Add a TOR_INVALID_SOCKET macro to wrap -1/INVALID_SOCKET. Partial work for bug4533.
2012-01-16fix crash bug in original feature4207 branchRoger Dingledine
PLURAL() assumes that the plural is the canonical name for the option, so now it is.
2012-01-16Merge remote-tracking branch 'asn-mytor/bug4751'Nick Mathewson
2012-01-16Merge remote-tracking branch 'public/bug3325'Nick Mathewson
2012-01-16whitespace fixesNick Mathewson
2012-01-16Convert instances of tor_malloc+tor_snprintf into tor_asprintfNick Mathewson
These were found by looking for tor_snprintf() instances that were preceeded closely by tor_malloc(), though I probably converted some more snprintfs as well. (In every case, make sure that the length variable (if any) is removed, renamed, or lowered, so that anything else that might have assumed a longer buffer doesn't exist.)
2012-01-16Convert instances of tor_snprintf+strdup into tor_asprintfNick Mathewson
These were found by looking for tor_snprintf() instances that were followed closely by tor_strdup(), though I probably converted some other snprintfs as well.
2012-01-16Try to use smartlist_add_asprintf consistentlyNick Mathewson
(To ensure correctness, in every case, make sure that the temporary variable is deleted, renamed, or lowered in scope, so we can't have any bugs related to accidentally relying on the no-longer-filled variable.)
2012-01-16Rename smartlist_{v,}asprintf_add to smartlist_add_{v,}asprintfNick Mathewson
2012-01-16check-spaces fixSebastian Hahn
2012-01-16Provide consensus params to constrain the threshold for FastNick Mathewson
resolves ticket 3946
2012-01-16Comment fixups on 4207 suggested by armaNick Mathewson
2012-01-13Allow authorities to baddir/badexit/invalid/reject nodes by ccNick Mathewson
Implements ticket #4207
2012-01-13Improve names of some pluggable transport-related functions.George Kadianakis
2012-01-12Don't crash when HS circs which have not yet found an OR conn time outRobert Ransom
Fixes bug #4897, not yet in any release. Using n_circ_id alone here (and below, when n_conn is NULL) really sucks, but that's a separate bug which will need a changes/ file.
2012-01-11Move logging of bad hostnames into parse_extended_hostnameNick Mathewson
This fixes bug 3325, where a bad .exit would get logged as a bad .onion
2012-01-11Make openssl 0.9.8l log message accurateNick Mathewson
fixes 4837
2012-01-11Do not pretend to allow PADDING as the first cell of a v3 handshakeNick Mathewson
2012-01-11Merge branch 'prop187_squashed'Nick Mathewson
2012-01-11Fix a missing iso_time_nospace_usecNick Mathewson
Apparently I missed a case when converting sec,usec to yyyy-mm-ddThh:mm:ss.uuuuuu .
2012-01-11Merge branch 'feature3457-v4-nm-squashed'Nick Mathewson
Conflicts: src/or/rendclient.c
2012-01-11Use spaceless ISO8601 time format, not sec,usec.Nick Mathewson
2012-01-11Implement proposal 187: reserve a cell type for client authorizationNick Mathewson
This needs a changes file and more testing.
2012-01-11defensive programming to catch duplicate calls to ↵Nick Mathewson
connection_init_or_handshake_state
2012-01-11Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2012-01-11Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2012-01-11Fix a compilation warning for our bug4822 fix on 64-bit linuxNick Mathewson
2012-01-11Add clarity/typesafety wrappers for control_event_circuit_status_minorNick Mathewson
2012-01-11Rename CIRC2 to CIRC_MINORNick Mathewson
Also give the arguments to control_event_circuit_status_minor real names.
2012-01-10Chop out the intro point calculation until it is simple enough for nickm to grokNick Mathewson
2012-01-10Use my original formula for number of replacements for an intro pointRobert Ransom
A fixup commit which was intended to make this formula easier to read broke it instead.
2012-01-10Merge remote-tracking branch 'public/bug4650_nm_squashed'Nick Mathewson
2012-01-10whitespace and warning fixes for bug4746Nick Mathewson
2012-01-10Merge remote-tracking branch 'asn-mytor/bug4746'Nick Mathewson
2012-01-10Merge branch 'absolute_cookie_file'Nick Mathewson
2012-01-10Add missing documentation for counter-mode checksNick Mathewson
2012-01-10Clean up indentation in aes.cNick Mathewson
2012-01-10Test for broken counter-mode at runtimeNick Mathewson
To solve bug 4779, we want to avoid OpenSSL 1.0.0's counter mode. But Fedora (and maybe others) lie about the actual OpenSSL version, so we can't trust the header to tell us if it's safe. Instead, let's do a run-time test to see whether it's safe, and if not, use our built-in version. fermenthor contributed a pretty essential fixup to this patch. Thanks!
2012-01-10We no longer need to detect openssl without RAND_poll()Nick Mathewson
We require openssl 0.9.7 or later, and RAND_poll() was first added in openssl 0.9.6.
2012-01-10Add macros to construct openssl version numbersNick Mathewson
It's a pain to convert 0x0090813f to and from 0.9.8s-release on the fly, so these macros should help.
2012-01-10Log which votes we still need to fetchSebastian Hahn
This might help us see which authorities are problematic in getting their vote published the first time.
2012-01-10Advertise dirport if accountingmax is large enoughSebastian Hahn
When we have an effective bandwidthrate configured so that we cannot exceed our bandwidth limit in one accounting interval, don't disable advertising the dirport. Implements ticket 2434.
2012-01-10Merge remote-tracking branch 'rransom-tor/bug4883'Nick Mathewson
2012-01-09Fix brown-paper-bag bug in #4759 fixRobert Ransom
Fixes #4883, not yet in any release.
2012-01-10Make sure MAX_DNS_LABEL_SIZE is definedSebastian Hahn
MAX_DNS_LABEL_SIZE was only defined for old versions of openssl, which broke the build. Spotted by xiando. Fixes bug 4413; not in any released version.