aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-06-04
|\
| * Update the rest of the geoip file.Karsten Loesing2009-06-04
| |
| * Update the geoip fileNick Mathewson2009-06-03
| |
| * Fix gprof bottlenecks on exit nodes found by Jacob.Nick Mathewson2009-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | Apparently all the stuff that does a linear scan over all the DNS cache entries can get really expensive when your DNS cache is very large. It's hard to say how much this will help performance, since gprof doesn't count time spent in OpenSSL or zlib, but I'd guess 10%. Also, this patch removes calls to assert_connection_ok() from inside the read and write callbacks, which are similarly unneeded, and a little costlier than I'm happy with. This is probably worth backporting to 0.2.0.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-31
|\|
| * Do not report a node as a "chosen exit" when it is not in fact an exit.Nick Mathewson2009-05-31
| | | | | | | | | | | | Provide a useful warning when launch_circuit tries to make us use a node we don't want to use. Just give an info message when this is a normal and okay situation. Fix for logging issues in bug 984.
| * Make the second argument to routerset_contains_extendinfo constNick Mathewson2009-05-31
| |
| * Don't attempt to log messages to a controller from a worker thread.Nick Mathewson2009-05-30
| | | | | | | | | | | | | | | | | | | | | | This patch adds a function to determine whether we're in the main thread, and changes control_event_logmsg() to return immediately if we're in a subthread. This is necessary because otherwise we will call connection_write_to_buf, which modifies non-locked data structures. Bugfix on 0.2.0.x; fix for at least one of the things currently called "bug 977".
| * Clean up a bit of C logic, and fix an erroneous warning.Nick Mathewson2009-05-29
| | | | | | | | | | (Simplify "if (cond) return 1; return 0;" to "return cond;", and don't give a warning when we start with accounting on but dirport off.)
| * Consider *ListenAddress when warning about low ports and hibernationSebastian Hahn2009-05-30
| | | | | | | | | | | | | | Tas (thanks!) noticed that when *ListenAddress is set, Tor would still warn on startup when *Port is low and hibernation is active. The patch parses all the *ListenAddress lines, and checks the ports. Bugfix on 0.2.1.15-rc
* | Merge branch 'hardware_accel_improvements'Nick Mathewson2009-05-31
|\ \
| * | Fix-ups for dynamic OpenSSL engine patch.Nick Mathewson2009-05-31
| | | | | | | | | | | | Include a changelog, and don't try to compare strings with !=.
| * | Add support for dynamic OpenSSL hardware crypto acceleration engines.Martin Peck2009-05-23
| | |
* | | Warn and exit when we are configured to measure GeoIP statistics, but have ↵Karsten Loesing2009-05-30
| | | | | | | | | | | | no GeoIP database.
* | | Restore changes from Karsten's "Remove unused rendversion parameters".Nick Mathewson2009-05-28
| | | | | | | | | | | | These were made undone by a merge.
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-28
|\ \ \ | | |/ | |/|
| * | Two more spelling fix fixes.Nick Mathewson2009-05-28
| | |
| * | Fixes to spelling fixes. Thanks, Roger!Nick Mathewson2009-05-28
| | |
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\| |
| * | Fix unit tests that were broken after last fix of #932.Karsten Loesing2009-05-27
| | | | | | | | | | | | | | | | | | | | | | | | With the last fix of task 932 (5f03d6c), client requests are only added to the history when they happen after the start of the current history. This conflicts with the unit tests that insert current requests first (defining the start of the client request history) followed by requests in the past. The fix is to insert requests in chronological order in the unit tests.
| * | Spell-check Tor.Nick Mathewson2009-05-27
| | |
| * | Spelling fixes in comments and stringsNick Mathewson2009-05-27
| | |
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\| |
| * | Improve documentation for the last fix of bug 932.Karsten Loesing2009-05-27
| | |
| * | Fix bug 932 even more.Karsten Loesing2009-05-27
| | | | | | | | | | | | Ignore connections two hours after switching from bridge to relay or back.
* | | Fix a signed/unsigned comparison warningNick Mathewson2009-05-27
| | |
* | | Change the way how directories that are configured with --enable-geoip-stats ↵Karsten Loesing2009-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | write geoip stats to disk. - Write geoip stats to disk every 24 hours, not every hour. - Remove configuration options and define reasonable defaults. - Clear history of client requests every 24 hours (which wasn't done at all before).
* | | Some cleanups on geoip.c.Karsten Loesing2009-05-26
| | | | | | | | | | | | | | | Use two bitfields for last_seen and action in clientmap_entry_t rather than having both share a 32-bit. Also, documentation fixes.
* | | Merge commit 'origin/maint-0.2.1' into master.Nick Mathewson2009-05-25
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h
| * | Use tor_socket_strerror in eventdns.c. Fixes bug 987.Nick Mathewson2009-05-25
| | |
| * | Bump version to 0.2.1.15-rc-dev.Nick Mathewson2009-05-25
| | |
| * | bump to 0.2.1.15-rcRoger Dingledine2009-05-25
| | |
* | | Update newer control_event_stream_bandwidth code to revised control implNick Mathewson2009-05-25
| | |
* | | Remove support for events without the extended format or long names.Nick Mathewson2009-05-25
| | | | | | | | | | | | | | | Supporting the old formats made our code complex; running without them has been discouraged since 0.2.1.x.
* | | simplify options_act()Roger Dingledine2009-05-24
| | |
* | | fix a commentRoger Dingledine2009-05-24
| | |
* | | fix codestyle issuesSebastian Hahn2009-05-24
| |/ |/|
* | Log the number and size of DNS cache entries on SIGUSR1.Jacob Appelbaum2009-05-22
| | | | | | | | | | | | | | | | | | Specifically if you send SIGUSR1, it will add two lines to the log file: May 22 07:41:59.576 [notice] Our DNS cache has 3364 entries. May 22 07:41:59.576 [notice] Our DNS cache size is approximately 1022656 bytes. [tweaked a bit by nickm]
* | Add a quick macro to calculate hashtable memory usageNick Mathewson2009-05-22
| |
* | Improved bug-957 fix for 0.2.2.Nick Mathewson2009-05-22
| | | | | | | | | | | | | | | | | | Really, our idiocy was that we were calling event_set() on the same event more than once, which sometimes led to us calling event_set() on an event that was already inserted, thus making it look uninserted. With this patch, we just initialize the timeout events when we create the requests and nameservers, and we don't need to worry about double-add and double-del cases at all.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-22
|\|
| * Finish up the 0.2.1 version of the bug 957 fix.Nick Mathewson2009-05-22
| | | | | | | | | | | | Basically, all this means is downgrading our warning messages to debug messages, since the bug workaround code here is adequate to stop the bug.
| * fix a spelling mistake in config.c for "contries"phobos2009-05-22
| |
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-18
|\|
| * Possible fix for crash bug related to event timeouts. [Bug 957]Nick Mathewson2009-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If we ever add an event, then set it, then add it again, there will be now two pointers to the event in the event base. If we delete one and free it, the first pointer will still be there, and possibly cause a crash later. This patch adds detection for this case to the code paths in eventdns.c, and works around it. If the warning message ever displays, then a cleverer fix is in order. {I am not too confident that this *is* the fix, since bug 957 is very tricky. If it is, it is a bugfix on 0.2.0.}
* | Merge branch 'maint-0.2.1' into merge_tmpNick Mathewson2009-05-17
|\|
| * Fix a memory leak when v3 directory authorities load their keysRoger Dingledine2009-05-17
| | | | | | | | and cert from disk. Bugfix on 0.2.0.1-alpha.
| * Fix valgrind error when marking a descriptor as never-downloadable.Nick Mathewson2009-05-17
| | | | | | | | | | | | When we got a descriptor that we (as an authority) rejected as totally bad, we were freeing it, then using the digest in its RAM to look up its download status. Caught by arma with valgrind. Bugfix on 0.2.1.9-alpha.
| * Stop using malloc_usable_size(): valgrind hates it.Nick Mathewson2009-05-17
| |
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-17
|\|