aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
Commit message (Expand)AuthorAge
* Create relay.hSebastian Hahn2010-07-27
* Create policies.hSebastian Hahn2010-07-27
* Create main.hSebastian Hahn2010-07-27
* Create dns.hSebastian Hahn2010-07-27
* Create control.hSebastian Hahn2010-07-27
* Create connection_edge.hSebastian Hahn2010-07-27
* Create connection.hSebastian Hahn2010-07-27
* Create config.hSebastian Hahn2010-07-27
* Create circuituse.hSebastian Hahn2010-07-27
* Create circuitlist.hSebastian Hahn2010-07-27
* Create router.hSebastian Hahn2010-07-27
* Log the correct address when purging a mismatchd DNS cache addressvalerino2010-05-20
* Fix a segfault when a client is hup'd.•••We need to make sure we have an event_base in dns.c before we call anything that wants one. Make sure we always have one in dns_reset() when we're a client. Fixes bug 1341. Sebastian Hahn2010-04-03
* Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Build correctly with Libevent 2.0.4-alpha and laterNick Mathewson2010-02-15
* | Make tor_addr_copy() conform to memcpy requirements•••The src and dest of a memcpy() call aren't supposed to overlap, but we were sometimes calling tor_addr_copy() as a no-op. Also, tor_addr_assign was a redundant copy of tor_addr_copy(); this patch removes it. Nick Mathewson2010-02-09
* | Merge branch 'ewma'Nick Mathewson2009-12-18
|\ \
| * | Enhance pqueue so we can remove items from the middle.•••This changes the pqueue API by requiring an additional int in every structure that we store in a pqueue to hold the index of that structure within the heap. Nick Mathewson2009-12-12
* | | Merge branch 'safelogging2'•••Conflicts: ChangeLog Nick Mathewson2009-12-15
|\ \ \ | |/ / |/| |
| * | Refactor the safe_str_*() API to make more sense.•••The new rule is: safe_str_X() means "this string is a piece of X information; make it safe to log." safe_str() on its own means "this string is a piece of who-knows-what; make it safe to log". Nick Mathewson2009-12-15
| * | Allow SafeLogging to exclude client related informationSebastian Hahn2009-12-12
* | | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
* | | *_free functions now accept NULL•••Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary. Sebastian Hahn2009-12-12
|/ /
* | Another event2 evdns fix.Nick Mathewson2009-10-13
* | Fix a crash when using evdns from Libevent 2.•••When we tried to use the deprecated non-threadsafe evdns interfaces in Libevent 2 without using the also-deprecated event_init() interface, Libevent 2 would sensibly crash, since it has no guess where to find the Libevent library. Here we use the evdns_base_*() functions instead if they're present, and fake them if they aren't. Nick Mathewson2009-10-13
* | fix comments and other typosRoger Dingledine2009-07-13
* | Isolate Libevent API dependency to just main.c and dns.c in src/or.•••The rest of the code was only including event.h so that it could see EV_READ and EV_WRITE, which we were using as part of the connection_watch_events interface for no very good reason. Nick Mathewson2009-06-12
* | Update Tor to use Libevent 2.0 APIs when available.•••This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920). Nick Mathewson2009-06-12
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-06-04
|\|
| * Fix gprof bottlenecks on exit nodes found by Jacob.•••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. Nick Mathewson2009-06-03
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\|
| * Spell-check Tor.Nick Mathewson2009-05-27
| * Update copyright to 2009.Karsten Loesing2009-05-04
* | fix codestyle issuesSebastian Hahn2009-05-24
* | Log the number and size of DNS cache entries on SIGUSR1.•••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] Jacob Appelbaum2009-05-22
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* fix a wide line.•••svn:r18341 Nick Mathewson2009-01-30
* Support setting serverdnsrandomizecase during sighup. Backportable, unless t...•••svn:r18307 Nick Mathewson2009-01-28
* Fix ServerDNSRandomizeCase so that setting it to 0 works.•••Bugfix on 0.2.1.7-alpha. Backport candidate. Fixes bug 905. svn:r18063 Nick Mathewson2009-01-10
* Make outgoing DNS requests respect OutboundBindAddress.•••Fixes the bug part of bug 789. svn:r17983 Nick Mathewson2009-01-06
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Add some early checks to keep ipv6 addresses from failing by accident. Now, ...•••svn:r17791 Nick Mathewson2008-12-26
* Use the literal parse of an address in dns_resolve_impl if parsing the addres...•••svn:r17758 Nick Mathewson2008-12-24
* Fix most DOCDOCs remaining and/or added by redox.•••svn:r17734 Nick Mathewson2008-12-22
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ...•••svn:r17729 Nick Mathewson2008-12-22
* Move in-addr.arpa parsing and generation into address.c, and simplify the cod...•••svn:r17707 Nick Mathewson2008-12-19
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this p...•••svn:r17686 Nick Mathewson2008-12-18
* Remove fixed xxx020s; downgrade unfixed ones.•••(The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.) svn:r17682 Nick Mathewson2008-12-18
* Resolve many DOCDOCs.•••svn:r17662 Nick Mathewson2008-12-17