aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Appease make check-spacesAndrea Shepard2014-03-18
|
* Update to latest tinytestNick Mathewson2014-03-14
| | | | (This pulls in some fixes to tinytest_demo.c, which Tor doesn't build.)
* Fix some leaks/missed checks in the unit testsNick Mathewson2014-03-13
| | | | Coverity spotted these.
* Merge remote-tracking branch 'asn/bug5018_notice'Nick Mathewson2014-03-12
|\
| * Tone down the log message for when we don't need a PT proxy.George Kadianakis2014-03-10
| |
* | Merge remote-tracking branch 'asn/bug11069_take2'Nick Mathewson2014-03-11
|\ \ | |/ |/|
| * Throw control port warning if we failed to connect to all our bridges.George Kadianakis2014-03-10
| |
* | Merge branch 'bug11156_squashed'Nick Mathewson2014-03-10
|\ \
| * | Don't do directory fetches before all PTs have been configured.George Kadianakis2014-03-10
| |/
* | Merge branch 'bug11043_take2_squashed'Nick Mathewson2014-03-10
|\ \
| * | Improve the log message for when the Extended ORPort is not enabled.George Kadianakis2014-03-10
| |/
* | Upgrade to the latest version of tinytest.Nick Mathewson2014-03-06
| | | | | | | | | | | | | | This brings us to tinytest commit 709a36ba63ff16d8. The only big change tor-side is that we don't need our own test_mem_op operation any longer.
* | tinytest tt_{mem,str}_op now handle NULLs betterNick Mathewson2014-03-06
| | | | | | | | | | | | Now a NULL argument to either makes it fail, not crash. Fies bug 9004; bugfix on 0.2.2.4-alpha.
* | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-03-06
|\ \
| * | Correct the URL in the "a relay on win95???" messageNick Mathewson2014-03-06
| | | | | | | | | | | | | | | | | | This is a fix for 9393; it's not a bugfix on any Tor version per se, but rather on whatever Tor version was current when we reorganized the wiki.
| * | Merge remote-tracking branch 'public/no_itime_queue' into maint-0.2.4Nick Mathewson2014-02-25
| |\ \
* | \ \ Merge branch 'bug11108'Nick Mathewson2014-03-06
|\ \ \ \
| * | | | Warn if ports are specified in {Socks,Dir}PolicyNick Mathewson2014-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have ignored any ports listed here since 80365b989 (0.0.7rc1), but we didn't warn the user that we were ignoring them. This patch adds a warning if you put explicit ports in any of the options {Socks,Dir}Policy or AuthDir{Reject,Invalid,BadDir,BadExit}. It also adjusts the manpage to say that ports are ignored. Fixes ticket 11108.
* | | | | Fix whitespace errors, all of them mine.Nick Mathewson2014-03-05
| | | | |
* | | | | Rename PredictedCircsRelevanceTime->PredictedPortsRelevanceTimeNick Mathewson2014-03-05
| | | | | | | | | | | | | | | | | | | | All circuits are predictive; it's the ports that are expiring here.
* | | | | Merge branch 'ticket9176_squashed'Nick Mathewson2014-03-05
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tor.1.txt
| * | | | | Fix wide lines.Nick Mathewson2014-03-05
| | | | | |
| * | | | | Lower the maximum for PrecictedCircsRelevanceTime to one hourNick Mathewson2014-03-05
| | | | | |
| * | | | | Fixed spacing.unixninja922014-03-05
| | | | | |
| * | | | | Added max value to PredictedCircsRelevanceTime.unixninja922014-03-05
| | | | | |
| * | | | | PredictedCircsRelevanceTime: limit how long we predict a port will be usedunixninja922014-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, after you've made a connection to port XYZ, we assume you might still want to have an exit ready to connect to XYZ for one hour. This patch lets you lower that interval. Implements ticket 91
* | | | | | Merge remote-tracking branch 'arma/ticket5528'Nick Mathewson2014-03-05
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/router.c src/test/test_dir.c
| * | | | | | stop setting, or using, router->addressRoger Dingledine2013-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | resolves ticket 5528.
| * | | | | | use me->addr when adding our address to our exit policyRoger Dingledine2013-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (rather than me->address)
| * | | | | | use router->addr for log messages and controller eventsRoger Dingledine2013-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (rather than router->address)
| * | | | | | stop passing "address" around the directory_initiate_command* funcsRoger Dingledine2013-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | since it was always just the string version of "addr" anyway
| * | | | | | Stop checking if ri->address is an IPRoger Dingledine2013-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since router_parse_entry_from_string() already checks whether !tor_inet_aton(router->address, &in) (And no need to print address, since router_describe does that.)
* | | | | | | Merge remote-tracking branch 'public/bug8788'Nick Mathewson2014-03-05
|\ \ \ \ \ \ \
| * | | | | | | eventdns.c: survive broken resolv.conf filesNick Mathewson2014-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you had a resolv.conf file with a nameserver line containing no nameserver IP, we would crash. That's not terrible, but it's not desirable. Fixes bug 8788; bugfix on 0.1.1.23. Libevent already has this fix.
* | | | | | | | Include v3 in documented 'protocols' in rend_service_descriptor_tNick Mathewson2014-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also make it unsigned and document that it's for INTRODUCE cell versions. Fixes 9099; bugfix on 0.2.1.5-alpha, which introduced the v3 protocol.
* | | | | | | | Merge branch 'bug10169_025_v2'Nick Mathewson2014-03-04
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/test/test.c
| * \ \ \ \ \ \ \ Merge remote-tracking branch 'public/bug10169_024' into bug10169_025_v2Nick Mathewson2014-03-04
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/compat_libevent.h src/or/relay.c
| | * \ \ \ \ \ \ \ Merge remote-tracking branch 'public/bug10169_023' into bug10169_024Nick Mathewson2014-03-04
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/relay.c
| | | * | | | | | | | Monotonize the OOM-killer data timersNick Mathewson2014-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a couple of places, to implement the OOM-circuit-killer defense against sniper attacks, we have counters to remember the age of cells or data chunks. These timers were based on wall clock time, which can move backwards, thus giving roll-over results for our age calculation. This commit creates a low-budget monotonic time, based on ratcheting gettimeofday(), so that even in the event of a time rollback, we don't do anything _really_ stupid. A future version of Tor should update this function to do something even less stupid here, like employ clock_gettime() or its kin.
| | | * | | | | | | | On OOM, also log N circuits remainingNick Mathewson2014-02-12
| | | | | | | | | | |
| * | | | | | | | | | More unit tests for OOM handling.Nick Mathewson2014-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gets us up to no interesting untested new or changed lines for the 10169 code.
| * | | | | | | | | | Initial unit tests for OOM handlingNick Mathewson2014-02-12
| | | | | | | | | | |
| * | | | | | | | | | Refactor OOM-handling functions for more testabilityNick Mathewson2014-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch splits out some of the functions in OOM handling so that it's easier to check them without involving the rest of Tor or requiring that the circuits be "wired up".
| * | | | | | | | | | Add tests for buffer time tracking.Nick Mathewson2014-02-12
| | | | | | | | | | |
| * | | | | | | | | | Several tests for buffer allocationNick Mathewson2014-02-12
| | | | | | | | | | |
| * | | | | | | | | | Start writing tests for 10169.Nick Mathewson2014-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we cover more chunk allocation functions.
| * | | | | | | | | | Debugging code inbuffers.c for debugging chunk allocation.Nick Mathewson2014-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently on; will disable later in this branch.
| * | | | | | | | | | Merge remote-tracking branch 'public/bug10169_024' into bug10169_025_v2Nick Mathewson2014-02-12
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/circuitlist.c
| | * | | | | | | | | Merge remote-tracking branch 'public/bug10169_023' into bug10169_024Nick Mathewson2014-02-12
| | |\| | | | | | | |
| | | * | | | | | | | Actually release buffer freelists when handling OOM conditions.Nick Mathewson2014-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise freeing buffers won't help for a little while.