aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
Commit message (Expand)AuthorAge
* Fix bug reported by peter palfrader: an empty address is unresolvable, but no...•••svn:r2015 Nick Mathewson2004-07-06
* When tor_lookup_hostname says 0.0.0.0, treat it as an error.•••svn:r2003 Nick Mathewson2004-07-04
* Implement RESOLVE/RESOLVED cells and socks resolve code•••svn:r1978 Nick Mathewson2004-06-17
* Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config settings too•••svn:r1950 Nick Mathewson2004-06-06
* be sure to detach streams from the circuit linked list before freeing them•••also, don't bother marking a conn for close if you're about to free it svn:r1935 Roger Dingledine2004-06-02
* Only connection_dns_remove resolving exit connections•••svn:r1934 Nick Mathewson2004-06-02
* Add more asserts to dns-pending connections; fix a couple seeming bugs.•••svn:r1931 Nick Mathewson2004-06-01
* when the dns resolve is cancelled, or fails, be sure to remove•••conn from circ->resolving_streams otherwise it gets freed and stays there, causing seg faults. svn:r1915 Roger Dingledine2004-05-21
* do all the heavy lifting in connection_about_to_close_connection,•••not in _connection_mark_for_close this will hopefully clean up the huge cyclical function mess svn:r1903 Roger Dingledine2004-05-19
* break connection_edge_end out of connection_mark_for_close•••svn:r1858 Roger Dingledine2004-05-12
* Make some functions static•••svn:r1857 Nick Mathewson2004-05-12
* it's amazing what a bit of punctuation can do for appearances•••svn:r1843 Roger Dingledine2004-05-10
* a few more pieces of markup•••svn:r1841 Roger Dingledine2004-05-10
* more cleanup, including fleshing out or.h more•••svn:r1839 Roger Dingledine2004-05-10
* More doxygenation.•••svn:r1832 Nick Mathewson2004-05-10
* more doxygen markup•••plenty more remains svn:r1824 Roger Dingledine2004-05-09
* bugfix: add a circ->resolving_streams field, and make dns resolving ...•••bugfix: actually complain if we duplicate mark-for-close a circuit add more logging for relay ends that claim dns resolve failed, so we can find out why they're not being retried. svn:r1798 Roger Dingledine2004-05-06
* Comments for nearly all non-tricky files•••svn:r1796 Nick Mathewson2004-05-05
* Working strerror for windows socket errors, plus some snide comments.•••svn:r1775 Nick Mathewson2004-05-02
* Use socketclose on windows as appropriate; end pid files with newline•••svn:r1745 Nick Mathewson2004-04-28
* bug resolved (hopefully), so remove comment•••svn:r1738 Roger Dingledine2004-04-28
* clean dns.c better•••svn:r1737 Roger Dingledine2004-04-28
* fix a bug in dns.c, note but don't fix another one•••svn:r1735 Roger Dingledine2004-04-28
* Workarounds for a couple of pieces of windows strangeness.•••svn:r1734 Nick Mathewson2004-04-28
* use tor_assert•••remove obsolete BUF_OK macro svn:r1697 Roger Dingledine2004-04-25
* Cosmetic patch for arma's fix for The Bug: Don't set the state to•••RESOLVEFAILED if the resolve didn't fail; set it to CONNECTING instead. svn:r1590 Nick Mathewson2004-04-11
* continue beating at pieces of The Bug•••svn:r1588 Roger Dingledine2004-04-09
* if dns resolve is valid, but our exit policy rejects it or•••the connect attempt fails immediately, we were trying to double-remove it from the dns pending list. i think this might have been The Bug. (thanks weasel!) svn:r1587 Roger Dingledine2004-04-09
* get more serious about hunting The Bug•••(it has been haunting us since the days of 0.0.2preX) svn:r1576 Roger Dingledine2004-04-09
* Delete trailing whitespace and expand tabs; remove unused aes decrypt code•••svn:r1522 Nick Mathewson2004-04-07
* clean up a few more bugs•••svn:r1365 Roger Dingledine2004-03-29
* make normal exit nodes less likely to crash from the conn-munging bug•••but leave dirservers just as likely to crash svn:r1363 Roger Dingledine2004-03-29
* make dns resolves a lot faster•••(but only enable this once we've found the bug) svn:r1358 Roger Dingledine2004-03-28
* there is yet another dns-pending-conn-clobbering bug•••somewhere svn:r1354 Roger Dingledine2004-03-28
* deal with hardware word alignment•••this was causing the seg faults on sparc processors i wonder if i got them all. svn:r1314 Roger Dingledine2004-03-20
* don't close all the fd's when you spawn a thread, only when you fork•••svn:r1267 Roger Dingledine2004-03-12
* bugfix: we were caching transient dns failures•••svn:r1266 Roger Dingledine2004-03-12
* Make all the other read/writes into recv/sends, except when they shouldn't be.•••svn:r1260 Nick Mathewson2004-03-11
* stop asserting that computers always go forward in time•••it's simply not true svn:r1236 Roger Dingledine2004-03-06
* make workers explain their death better when tor dies•••and make them say it at log level info rather than err svn:r1232 Roger Dingledine2004-03-04
* bugfix: don't pass complex things to the connection_mark_for_close macro•••svn:r1231 Roger Dingledine2004-03-04
* Clean up dns->connection_mark_for_close->dns_remove path•••svn:r1230 Nick Mathewson2004-03-04
* fix the function comment•••svn:r1169 Roger Dingledine2004-02-28
* Split dns_cancel_pending_resolve into dns_cancel_pending_resolve (kill a•••resolve in response to a DNS worker dying) and connection_dns_remove (remove a pending connection from the resolve structure.) svn:r1168 Nick Mathewson2004-02-28
* add a log_warn to notify us of yet another potential dns.c bug•••svn:r1167 Roger Dingledine2004-02-28
* Make dns_cancel_pending_resolve less agressive.•••svn:r1166 Nick Mathewson2004-02-28
* Fix bug on dns_found_answer from mark_to_close stuff.•••svn:r1165 Nick Mathewson2004-02-28
* remove assert from dns.c that's no longer true:•••typically the resolve will be pending, but it could be failed if it just failed and we're working through the 'pending' list, or it could be valid if some other dnsworker raced us to fill in the entry. svn:r1164 Roger Dingledine2004-02-28
* Push responsibility for connection marking down as far as possible; have only...•••svn:r1149 Nick Mathewson2004-02-28
* Refactor mark_for_close, connection_edge_end and friends. Now, everybody•••who wants to shut down a connection calls connection_mark_for_close instead of setting marked_for_close to 1. This automatically removes the connection from the DNS cache if needed, sends a RELAY END cell if appropriate, and can be changed to do whatever else is needed. Still to do: - The same for circuits, maybe. - Add some kind of hold_connection_open_until_flushed flag, maybe. - Change stuff that closes connections with return -1 to use mark_for_close, maybe. svn:r1145 Nick Mathewson2004-02-27