aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-10-10Add a sha256 hmac function, with testsNick Mathewson
2011-10-10Turn X509 certificates into a first-class type and add some functionsNick Mathewson
2011-10-10New function to get all digests of a public keyNick Mathewson
2011-10-10Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-10-10Merge remote-tracking branch 'sebastian/osxcompile'Nick Mathewson
2011-10-11Consider hibernation before dropping privsSebastian Hahn
Without this patch, Tor wasn't sure whether it would be hibernating or not, so it postponed opening listeners until after the privs had been dropped. This doesn't work so well for low ports. Bug was introduced in the fix for bug 2003. Fixes bug 4217, reported by Zax and katmagic. Thanks!
2011-10-11Fix a compile warning on OS X 10.6 and upSebastian Hahn
2011-10-10Add a missing comma in tor_check_port_forwardingNick Mathewson
My fault; fix for bug 4213.
2011-10-10Update documentation comment for rend_client_reextend_intro_circuitRobert Ransom
One of its callers assumes a non-zero result indicates a permanent failure (i.e. the current attempt to connect to this HS either has failed or is doomed). The other caller only requires that this function's result never equal -2. Bug reported by Sebastian Hahn.
2011-10-10Don't launch a useless circuit in rend_client_reextend_intro_circuitRobert Ransom
Fixes bug 4212. Bug reported by katmagic and found by Sebastian.
2011-10-07Merge remote-tracking branch 'karsten/feature3951' into maint-0.2.2Nick Mathewson
2011-10-07Merge remote-tracking branch 'public/bug2003_nm'Nick Mathewson
2011-10-07reinstate a notice for the non-loopback socksport caseNick Mathewson
Thanks to prop171, it's no longer a crazy thing to do, but you should make sure that you really meant it!
2011-10-07Merge remote-tracking branch 'rransom-tor/bug4018'Nick Mathewson
2011-10-07Merge remote-tracking branch 'asn2/bug3656'Nick Mathewson
Conflicts: src/common/util.c src/common/util.h src/or/config.h src/or/main.c src/test/test_util.c
2011-10-07Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-10-07Avoid running DNS self-tests if we're operating as a bridgewarms0x
2011-10-07Revive our beautiful unit tests.George Kadianakis
They broke when the PT_PROTO_INFANT proxy state was added.
2011-10-07Make it compile on Windows™.George Kadianakis
2011-10-07Support multiple transports in a single transport line.George Kadianakis
Support multiple comma-separated transpotrs in a single {Client,Server}TransportPlugin line.
2011-10-05Turn on directory request statistics by default.Karsten Loesing
Change the default values for collecting directory request statistics and inlcuding them in extra-info descriptors to 1. Don't break if we are configured to collect directory request or entry statistics and don't have a GeoIP database. Instead, print out a notice and skip initializing the affected statistics code. This is the cherry-picked 499661524b0a572303087af721325608dd91f7ce.
2011-10-03Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-10-03Fix compilation of 3335 and 3825 fixesNick Mathewson
In master, they ran into problems with the edge_conn/entry_conn split.
2011-10-03Merge remote-tracking branch 'rransom-tor/bug3335-v2'Nick Mathewson
Conflicts: src/or/connection_edge.c src/or/rendclient.c
2011-10-03Rephrase the log messages emitted if the TestSocks check is positiveFabian Keil
Previously Tor would always claim to have been given a hostname by the client, while actually only verifying that the client is using SOCKS4A or SOCKS5 with hostnames. Both protocol versions allow IP addresses, too, in which case the log messages were wrong. Fixes #4094.
2011-10-02Remove an HS's last_hid_serv_requests entries when a conn. attempt endsRobert Ransom
2011-10-02Record the HS's address in last_hid_serv_request keysRobert Ransom
2011-10-02Fix comment typoRobert Ransom
2011-10-02Detect and remove unreachable intro pointsRobert Ransom
2011-10-02Clear the timed_out flag when an HS connection attempt endsRobert Ransom
2011-10-02Record intro point timeouts in rend_intro_point_tRobert Ransom
2011-10-02Refetch an HS's desc if we don't have a usable oneRobert Ransom
Previously, we wouldn't refetch an HS's descriptor unless we didn't have one at all. That was equivalent to refetching iff we didn't have a usable one, but the next commit will make us keep some non-usable HS descriptors around in our cache. Code bugfix on the release that introduced the v2 HS directory system, because rend_client_refetch_v2_renddesc's documentation comment should have described what it actually did, not what its behaviour happened to be equivalent to; no behaviour change in this commit.
2011-10-01Looks like Windows version 6.2 will be Windows 8Sebastian Hahn
Thanks to funkstar for the report
2011-09-28bump to 0.2.3.5-alphator-0.2.3.5-alphaRoger Dingledine
2011-09-28refill our token buckets 10 times/sec, not 100Roger Dingledine
refilling often is good, but refilling often has unclear side effects on a) cpu load, and b) making sure every cell, ever, is sent out one at a time
2011-09-28Merge branch 'maint-0.2.2'Roger Dingledine
2011-09-28bridges should use create_fast cells for their own circuitsRoger Dingledine
fixes bug 4124, as noticed in bug 4115
2011-09-28Merge branch 'maint-0.2.2'Roger Dingledine
2011-09-28bug 4115: make bridges use begindir for their dir fetchesRoger Dingledine
removes another avenue for enumerating bridges.
2011-09-28Make sure the microdesc cache is loaded before setting a v3 md consensusNick Mathewson
Otherwise, we can wind up munging our reference counts if we set it in the middle of loading the nodes. This happens because nodelist_set_consensus() and microdesc_reload_cache() are both in the business of adjusting microdescriptors' references.
2011-09-28Add some debugging code to microdesc.[ch]Nick Mathewson
2011-09-28Fix a crash bug in tor_assert(md->held_by_node)Nick Mathewson
The fix is to turn held_by_node into a reference count. Fixes bug 4118; bugfix on 0.2.3.1-alpha.
2011-09-27if we have enough usable guards, just pick oneRoger Dingledine
we don't need to check whether we don't have enough guards right after concluding that we do have enough. slight efficiency fix suggested by an anonymous fellow on irc.
2011-09-24Merge branch 'maint-0.2.2'Roger Dingledine
2011-09-24trivial whitespace changes, take twoRoger Dingledine
2011-09-24Trivial whitespace fixesNick Mathewson
2011-09-24Ticket #4063 - change circuit build timeout log entries from NOTICE to INFOTom Lowenthal
2011-09-23Improve wording in some comments and log messages.George Kadianakis
2011-09-22Fix issues in 3630 patch noted by KarstenNick Mathewson
2011-09-22Make bufferevents work with TokenBucketRefillIntervalNick Mathewson