aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
Commit message (Collapse)AuthorAge
* Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells. Also, add ↵Nick Mathewson2005-09-02
| | | | | | a missing ntohl in connection_ap_handshake_socks_resolved. svn:r4894
* rotate dns and cpu workers if the controller changes options thatRoger Dingledine2005-08-15
| | | | | | | will affect them. svn:r4787
* initialize the dns worker cache tree whether or not we startRoger Dingledine2005-08-15
| | | | | | | out as a server. svn:r4785
* predict required circuits better, with an eye toward makingRoger Dingledine2005-08-13
| | | | | | | hidden services faster on the service end. svn:r4772
* Be consistent about preferring foo* to struct foo*Nick Mathewson2005-07-22
| | | | svn:r4637
* Make errors retrievable from tor_socketpair; resolve bug 163.Nick Mathewson2005-06-30
| | | | svn:r4509
* whitespace fixRoger Dingledine2005-06-28
| | | | svn:r4500
* we were printing the number of idle dns workers incorrectly.Roger Dingledine2005-06-23
| | | | svn:r4477
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* flesh out the source file descriptions for doxygenRoger Dingledine2005-06-11
| | | | svn:r4404
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* New whitespace normalization rule: no blank line at EOF.Nick Mathewson2005-06-09
| | | | svn:r4378
* Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson2005-05-07
| | | | svn:r4184
* fix compile error if you're not multithreadedRoger Dingledine2005-05-03
| | | | svn:r4177
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174
* Call tor_free_all instead of connections_free_all after forkingNick Mathewson2005-05-03
| | | | svn:r4173
* a bit more debug infoRoger Dingledine2005-04-26
| | | | svn:r4119
* add more debugging info to help us find the weird dns freebsd pthreads bug.Roger Dingledine2005-04-26
| | | | svn:r4117
* clean up this TOR_FRAGILE businessRoger Dingledine2005-04-26
| | | | svn:r4116
* stop wasting time doing a case insensitive comparison for every dns nameRoger Dingledine2005-04-06
| | | | | | | | every time we do any lookup. canonicalize the names to lowercase and be done with it. svn:r4035
* Rename circuit_get_by_stream to circuit_get_by_edge_conn, and actually start ↵Nick Mathewson2005-04-06
| | | | | | using it. Watch out, kids! svn:r4026
* Add a pointer from edge connections to their corresponding circuit (ulp!); ↵Nick Mathewson2005-04-06
| | | | | | add some debugging sanity-checking for cirid_orconn_map stuff svn:r4024
* Fix format warningNick Mathewson2005-04-06
| | | | svn:r4022
* a bit more data on gene's dns threading bugRoger Dingledine2005-04-06
| | | | svn:r4019
* Make last fix work on windows too.Nick Mathewson2005-04-04
| | | | svn:r4009
* Fix possible bug on threading platforms with running out of fds do to ↵Nick Mathewson2005-04-04
| | | | | | cpuworkers and dnsworkers. svn:r4008
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* fix an assert trigger in cvs: if a resolve request fails, and the circuitRoger Dingledine2005-03-14
| | | | | | | | has vanished in the meantime, then we would both mark it for close (i.e. put it on the closeable list) and also immediately free it. svn:r3759
* Renormalize whitespaceNick Mathewson2005-03-14
| | | | svn:r3757
* Revise all calls to connection_edge_end to avoid sending MISC, and to take ↵Nick Mathewson2005-03-01
| | | | | | errno into account where possible. svn:r3720
* Free even more things on shutdown. Temporarily move tor_free_all out from ↵Nick Mathewson2005-02-11
| | | | | | #ifdef so it gets tested more. svn:r3614
* Fix tor-resolve implementation to prevent crashes and send resolves when we ↵Nick Mathewson2005-02-05
| | | | | | should. svn:r3561
* forward-port the logic skew and double-free thingRoger Dingledine2005-02-04
| | | | svn:r3549
* define TOR_FRAGILE if you want tor to give you a core whenRoger Dingledine2005-02-01
| | | | | | | | something goes wrong. this should only be used by people actively tracking bugs. svn:r3487
* forward-port the dns and maxconn fixesRoger Dingledine2005-01-28
| | | | svn:r3448
* Give more useful log messages when the tor process closes dns/cpuworker ↵Nick Mathewson2005-01-19
| | | | | | connections. "Error: Success!" makes us seem like crazy people." svn:r3373
* fix duplicate dns_cancel_pending_resolve reported by Giorgos PallasRoger Dingledine2005-01-04
| | | | svn:r3293
* bandaid: make Giorgos Pallas's dns assert bug not actually crash on him.Roger Dingledine2005-01-04
| | | | | | | one day we should try to figure out what's actually going on here. svn:r3280
* More work on task #43: fix race conditions on multithreaded (win32) servers.Nick Mathewson2005-01-03
| | | | svn:r3251
* Possible fix for task #43: when running on a multithreaded environment ↵Nick Mathewson2005-01-03
| | | | | | (currently only windows), threads should not close opposite sides of their socketpairs, and workers should not call connection_free_all(). This may fix win32 servers. svn:r3247
* clean up logging,Roger Dingledine2004-12-13
| | | | | | | | | make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138
* More win32 fixes: 1) tolerate extra "readable" events better. 2) when being ↵Nick Mathewson2004-12-06
| | | | | | multithreaded, leave parent fdarray open. svn:r3092
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine2004-11-28
| | | | | | | totally unacceptable to me. svn:r3005
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* break reached_eof() out of process_inbuf()Roger Dingledine2004-11-21
| | | | svn:r2930
* Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson2004-11-12
| | | | | | clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs. svn:r2808
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
* Make options no longer a global variable.Roger Dingledine2004-11-06
| | | | | | | | | Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692