aboutsummaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
Commit message (Collapse)AuthorAge
* Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\ | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| |
| * Update copyright to 2009.Karsten Loesing2009-05-04
| |
* | Make the DNSPort option work with libevent 2.xSebastian Hahn2010-02-19
| | | | | | | | | | | | | | | | | | We need to use evdns_add_server_port_with_base() when configuring our DNS listener, because libevent segfaults otherwise. Add a macro in compat_libevent.h to pick the correct implementation depending on the libevent version. Fixes bug 1143, found by SwissTorExit
* | Refactor the safe_str_*() API to make more sense.Nick Mathewson2009-12-15
| | | | | | | | | | | | 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".
* | LetsKillNoConnect removes support for .noconnectJacob Appelbaum2009-08-08
| | | | | | | | | | This is a patch to remove support for .noconnect. We are removing .noconnect because of a talk at Defcon 17 by Gregory Fleischer.
* | Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson2009-06-12
| | | | | | | | | | | | | | | | | | | | 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).
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Port some mostly cosmetic eventdns changes from libeventNick Mathewson2009-02-11
| | | | svn:r18492
* Make outgoing DNS requests respect OutboundBindAddress.Nick Mathewson2009-01-06
| | | | | | Fixes the bug part of bug 789. svn:r17983
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | 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
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson2008-12-22
| | | | | | comments so that they will get recognized as doxygen. svn:r17729
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this ↵Nick Mathewson2008-12-18
| | | | | | patch. svn:r17686
* fix wide linesNick Mathewson2008-11-07
| | | | svn:r17198
* Work better with tools that resist DNS poisoning by using the 0x20 hack: ↵Nick Mathewson2008-10-29
| | | | | | make DNSPort replies perserve case. svn:r17170
* Refactor use of connection_new so that we get more verifiable typesafety.Nick Mathewson2008-09-05
| | | | svn:r16785
* r17666@tombo: nickm | 2008-08-07 15:12:30 -0400Nick Mathewson2008-08-07
| | | | | | | Make tor_addr_from_sockaddr also give away the port in a useful format svn:r16458
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400Nick Mathewson2008-08-05
| | | | | | | Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435
* r17346@aud-055: nickm | 2008-07-24 15:37:19 +0200Nick Mathewson2008-07-24
| | | | | | | Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start. svn:r16178
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson2008-02-22
| | | | | | | More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
* r14181@tombo: nickm | 2008-02-15 16:48:17 -0500Nick Mathewson2008-02-15
| | | | | | | Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs). svn:r13529
* r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson2008-02-12
| | | | | | | Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17913@catbus: nickm | 2008-02-05 16:11:33 -0500Nick Mathewson2008-02-05
| | | | | | | Correctly register failures in connection_add() in dnsserv_launch_request() svn:r13387
* r17612@catbus: nickm | 2008-01-14 13:46:04 -0500Nick Mathewson2008-01-14
| | | | | | | Oops; fix compile svn:r13131
* r17611@catbus: nickm | 2008-01-14 13:44:16 -0500Nick Mathewson2008-01-14
| | | | | | | add some missing checks for failing return values. svn:r13130
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* r14327@Kushana: nickm | 2007-09-04 20:06:04 -0400Nick Mathewson2007-09-05
| | | | | | | Better comment in dnsserv.c svn:r11376
* r13908@catbus: nickm | 2007-07-25 18:55:47 -0400Nick Mathewson2007-07-25
| | | | | | | Patch from Robert Hogan: set conn->dns_server_port correctly so that we can close dns server ports when they change, thus avoiding crashes and dangling references and other sources of unhappiness. svn:r10933
* r13676@catbus: nickm | 2007-07-10 13:41:24 -0400Nick Mathewson2007-07-10
| | | | | | | Man. I thought I removed that code. svn:r10785
* r13666@catbus: nickm | 2007-07-10 13:10:00 -0400Nick Mathewson2007-07-10
| | | | | | | Get the RESOLVE controller code working. svn:r10781
* r13637@catbus: nickm | 2007-07-06 14:24:27 -0400Nick Mathewson2007-07-10
| | | | | | | | | | fix copy-paste error in config message src/or/config.c . Apply initial (but pared-down) version of launch-resolve-via-controller patch from Robert Hogan. svn:r10780
* r13453@kushana: nickm | 2007-06-20 10:01:37 -0400Nick Mathewson2007-07-05
| | | | | | | Fix a type error in the last checkin. svn:r10738
* r13452@kushana: nickm | 2007-06-20 09:52:55 -0400Nick Mathewson2007-07-05
| | | | | | | Patch from Robert Hogan: Generate STREAM NEW events for dnsport requests and tunneled directory connections. Log when we are testing for hijacking. svn:r10737
* r13471@catbus: nickm | 2007-06-17 11:59:25 -0400Nick Mathewson2007-06-17
| | | | | | | Report address and por correctly on requests to dnsport. (Patch from Robert Hogan.) svn:r10641
* r13401@catbus: nickm | 2007-06-13 15:50:16 -0400Nick Mathewson2007-06-13
| | | | | | | Add dnsport connection to the global connection list. (Bug found by mwenge.) svn:r10592
* r13266@catbus: nickm | 2007-06-05 16:38:08 -0400Nick Mathewson2007-06-05
| | | | | | | Patch from peter palfrader: control interface via unix domain socket svn:r10504
* r13143@catbus: nickm | 2007-06-01 16:43:40 -0400Nick Mathewson2007-06-02
| | | | | | | Try to fix some mipspro compiler warnings. There will still be some left. svn:r10444
* r13117@catbus: nickm | 2007-05-31 19:40:32 -0400Nick Mathewson2007-05-31
| | | | | | | Patch from Tup: treat RESOLVED_TYPE_ERROR_TRANSIENT as a SERVERFAILED, and RESOLVED_TYPE_ERROR as NOTEXIST. Generate transient/nontransient errors more sensibly. Set flags better on DNS replies. svn:r10427
* r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson2007-05-29
| | | | | | | Resolve all but 3 DOCDOCs. svn:r10393
* r12958@catbus: nickm | 2007-05-25 14:19:29 -0400Nick Mathewson2007-05-25
| | | | | | | Fix more dnsport bugs: set state correctly, and actually cache the answers. svn:r10328
* r12942@catbus: nickm | 2007-05-24 16:31:22 -0400Nick Mathewson2007-05-24
Well, that was easier than I thought it would be. Tor is now a DNS proxy as well as a socks proxy. Probably some bugs remain, but since it A) has managed to resolve one address for me successfully, and B) will not affect anybody who leaves DNSPort unset, it feel like a good time to commit. svn:r10317