aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* whitespace fixesNick Mathewson2012-01-16
|
* Convert instances of tor_malloc+tor_snprintf into tor_asprintfNick Mathewson2012-01-16
| | | | | | | | | | 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.)
* Convert instances of tor_snprintf+strdup into tor_asprintfNick Mathewson2012-01-16
| | | | | | 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.
* Try to use smartlist_add_asprintf consistentlyNick Mathewson2012-01-16
| | | | | | | (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.)
* Rename smartlist_{v,}asprintf_add to smartlist_add_{v,}asprintfNick Mathewson2012-01-16
|
* check-spaces fixSebastian Hahn2012-01-16
|
* Provide consensus params to constrain the threshold for FastNick Mathewson2012-01-16
| | | | resolves ticket 3946
* Comment fixups on 4207 suggested by armaNick Mathewson2012-01-16
|
* Allow authorities to baddir/badexit/invalid/reject nodes by ccNick Mathewson2012-01-13
| | | | Implements ticket #4207
* Don't crash when HS circs which have not yet found an OR conn time outRobert Ransom2012-01-12
| | | | | | | 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.
* Make openssl 0.9.8l log message accurateNick Mathewson2012-01-11
| | | | fixes 4837
* Do not pretend to allow PADDING as the first cell of a v3 handshakeNick Mathewson2012-01-11
|
* Merge branch 'prop187_squashed'Nick Mathewson2012-01-11
|\
| * Implement proposal 187: reserve a cell type for client authorizationNick Mathewson2012-01-11
| | | | | | | | This needs a changes file and more testing.
| * defensive programming to catch duplicate calls to ↵Nick Mathewson2012-01-11
| | | | | | | | connection_init_or_handshake_state
* | Fix a missing iso_time_nospace_usecNick Mathewson2012-01-11
| | | | | | | | | | Apparently I missed a case when converting sec,usec to yyyy-mm-ddThh:mm:ss.uuuuuu .
* | Merge branch 'feature3457-v4-nm-squashed'Nick Mathewson2012-01-11
|\ \ | |/ |/| | | | | Conflicts: src/or/rendclient.c
| * Use spaceless ISO8601 time format, not sec,usec.Nick Mathewson2012-01-11
| |
| * Add clarity/typesafety wrappers for control_event_circuit_status_minorNick Mathewson2012-01-11
| |
| * Rename CIRC2 to CIRC_MINORNick Mathewson2012-01-11
| | | | | | | | | | Also give the arguments to control_event_circuit_status_minor real names.
| * Include circ creation time in CIRC events, etc.Robert Ransom2011-11-24
| |
| * Send CIRC2 event when a circuit is cannibalizedRobert Ransom2011-11-24
| |
| * Add CIRC2 control-port event, and send it when a circ's purpose changesRobert Ransom2011-11-24
| |
| * Log whenever a circuit's purpose is changedRobert Ransom2011-11-24
| |
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-01-11
|\ \
| * \ Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2012-01-11
| |\ \
| | * | Fix a compilation warning for our bug4822 fix on 64-bit linuxNick Mathewson2012-01-11
| | | |
* | | | Chop out the intro point calculation until it is simple enough for nickm to grokNick Mathewson2012-01-10
| | | |
* | | | Use my original formula for number of replacements for an intro pointRobert Ransom2012-01-10
| | | | | | | | | | | | | | | | | | | | A fixup commit which was intended to make this formula easier to read broke it instead.
* | | | Merge remote-tracking branch 'public/bug4650_nm_squashed'Nick Mathewson2012-01-10
|\ \ \ \
| * | | | Disallow disabling DisableDebuggerAttachment on runnning TorSebastian Hahn2012-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | Also, have tor_disable_debugger_attach() return a tristate of success/failure/don't-know-how , and only log appropriately.
* | | | | whitespace and warning fixes for bug4746Nick Mathewson2012-01-10
| | | | |
* | | | | Merge remote-tracking branch 'asn-mytor/bug4746'Nick Mathewson2012-01-10
|\ \ \ \ \
| * | | | | Add an informative header on the 'keys/dynamic_dh_params' file.George Kadianakis2011-12-19
| | | | | |
* | | | | | Merge branch 'absolute_cookie_file'Nick Mathewson2012-01-10
|\ \ \ \ \ \
| * | | | | | Report cookie file location as absolute in protocolinfo messageNick Mathewson2012-01-09
| | | | | | |
* | | | | | | Add missing documentation for counter-mode checksNick Mathewson2012-01-10
| | | | | | |
* | | | | | | Clean up indentation in aes.cNick Mathewson2012-01-10
| | | | | | |
* | | | | | | Test for broken counter-mode at runtimeNick Mathewson2012-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | | | | | We no longer need to detect openssl without RAND_poll()Nick Mathewson2012-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We require openssl 0.9.7 or later, and RAND_poll() was first added in openssl 0.9.6.
* | | | | | | Add macros to construct openssl version numbersNick Mathewson2012-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's a pain to convert 0x0090813f to and from 0.9.8s-release on the fly, so these macros should help.
* | | | | | | Log which votes we still need to fetchSebastian Hahn2012-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This might help us see which authorities are problematic in getting their vote published the first time.
* | | | | | | Advertise dirport if accountingmax is large enoughSebastian Hahn2012-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge remote-tracking branch 'rransom-tor/bug4883'Nick Mathewson2012-01-10
|\ \ \ \ \ \ \
| * | | | | | | Fix brown-paper-bag bug in #4759 fixRobert Ransom2012-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4883, not yet in any release.
* | | | | | | | Make sure MAX_DNS_LABEL_SIZE is definedSebastian Hahn2012-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Tweaks for bug4413 fixNick Mathewson2012-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The thing that's limited to 63 bytes is a "label", not a hostname. Docment input constraints and behavior on bogus inputs. Generally it's better to check for overflow-like conditions before than after. In this case, it's not a true overflow, so we're okay, but let's be consistent. pedantic less->fewer in the documentation
* | | | | | | | Remove (untriggerable) overflow in crypto_random_hostname()Stephen Palmateer2012-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 4413; bugfix on xxxx. Hostname components cannot be larger than 63 characters. This simple check makes certain randlen cannot overflow rand_bytes_len.
* | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-01-09
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | / / / | | |_|_|/ / / | |/| | | | |
| * | | | | | Fix comment about TLSv1_method() per comments by wanoskarnetNick Mathewson2012-01-09
| | | | | | |