Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Clean up copyrights. | Roger Dingledine | 2004-11-07 |
| | | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698 | ||
* | Make options no longer a global variable. | Roger Dingledine | 2004-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 | ||
* | Fix windows build | Nick Mathewson | 2004-10-27 |
| | | | | svn:r2613 | ||
* | Use strlcpy, not strcpy. | Nick Mathewson | 2004-10-27 |
| | | | | svn:r2610 | ||
* | Use strlcpy, not strncpy | Nick Mathewson | 2004-10-27 |
| | | | | svn:r2603 | ||
* | don't assert multiple things in the same tor_assert() | Roger Dingledine | 2004-10-16 |
| | | | | svn:r2544 | ||
* | fix memory leak in router.c; start relying on NULL==(zero bytes) | Nick Mathewson | 2004-10-16 |
| | | | | svn:r2538 | ||
* | more int to size_t conversions, fixing one or more amd64 bugs | Roger Dingledine | 2004-10-14 |
| | | | | | | | plus a whitespace patch on config.c from vicman svn:r2482 | ||
* | people are starting to bump into the limit of 50 dns workers. | Roger Dingledine | 2004-09-22 |
| | | | | | | | | | raise it to 100 for now. we need a better solution long-term. but alas, there are no better solutions that are also portable. hm. svn:r2363 | ||
* | Attach dummy resolve connections to a circuit *before* calling ↵ | Nick Mathewson | 2004-09-21 |
| | | | | | | dns_resolve(). This fixes a bug where cached answers would never be sent in RESOLVED cells. svn:r2360 | ||
* | bugfix: when a resolve fails for a begin request, actually send | Roger Dingledine | 2004-09-21 |
| | | | | | | | the end cell back. also, give a better reason for failure. svn:r2358 | ||
* | Bugfix: When a dns request failed, we would detach any "resolving" streams ↵ | Nick Mathewson | 2004-09-21 |
| | | | | | | from the circuit before we would send a the resolve_failed cells. svn:r2355 | ||
* | Fix a symptom for a bug that straycat found. | Roger Dingledine | 2004-08-25 |
| | | | | | | | | | | | | Apparently in rare cases poll() is returning POLLIN for an idle dns worker. It reads no bytes, presumably because the idle dns worker didn't write anything in the first place. Gosh, who knows. Now we only trigger the assert if the idle dns worker actually tries to send an answer to us. svn:r2311 | ||
* | let children survive sigint, sigterm, etc. | Roger Dingledine | 2004-08-08 |
| | | | | | | | | this was biting us because ^c would get delivered to all of them, maybe because they were all still listening to stdin? svn:r2197 | ||
* | note a bug in our dns error handling. we should fix this sometime. | Roger Dingledine | 2004-08-05 |
| | | | | svn:r2149 | ||
* | stop using atexit() to remove our pid, since it's called | Roger Dingledine | 2004-07-22 |
| | | | | | | | | | immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111 | ||
* | Fix bug reported by peter palfrader: an empty address is unresolvable, but ↵ | Nick Mathewson | 2004-07-06 |
| | | | | | | not an occasion for an assertion failure in a dnsworker. svn:r2015 | ||
* | When tor_lookup_hostname says 0.0.0.0, treat it as an error. | Nick Mathewson | 2004-07-04 |
| | | | | svn:r2003 | ||
* | Implement RESOLVE/RESOLVED cells and socks resolve code | Nick Mathewson | 2004-06-17 |
| | | | | svn:r1978 | ||
* | Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config settings too | Nick Mathewson | 2004-06-06 |
| | | | | svn:r1950 | ||
* | be sure to detach streams from the circuit linked list before freeing them | Roger Dingledine | 2004-06-02 |
| | | | | | | | also, don't bother marking a conn for close if you're about to free it svn:r1935 | ||
* | Only connection_dns_remove resolving exit connections | Nick Mathewson | 2004-06-02 |
| | | | | svn:r1934 | ||
* | Add more asserts to dns-pending connections; fix a couple seeming bugs. | Nick Mathewson | 2004-06-01 |
| | | | | svn:r1931 | ||
* | when the dns resolve is cancelled, or fails, be sure to remove | Roger Dingledine | 2004-05-21 |
| | | | | | | | | | conn from circ->resolving_streams otherwise it gets freed and stays there, causing seg faults. svn:r1915 | ||
* | do all the heavy lifting in connection_about_to_close_connection, | Roger Dingledine | 2004-05-19 |
| | | | | | | | | | not in _connection_mark_for_close this will hopefully clean up the huge cyclical function mess svn:r1903 | ||
* | break connection_edge_end out of connection_mark_for_close | Roger Dingledine | 2004-05-12 |
| | | | | svn:r1858 | ||
* | Make some functions static | Nick Mathewson | 2004-05-12 |
| | | | | svn:r1857 | ||
* | it's amazing what a bit of punctuation can do for appearances | Roger Dingledine | 2004-05-10 |
| | | | | svn:r1843 | ||
* | a few more pieces of markup | Roger Dingledine | 2004-05-10 |
| | | | | svn:r1841 | ||
* | more cleanup, including fleshing out or.h more | Roger Dingledine | 2004-05-10 |
| | | | | svn:r1839 | ||
* | More doxygenation. | Nick Mathewson | 2004-05-10 |
| | | | | svn:r1832 | ||
* | more doxygen markup | Roger Dingledine | 2004-05-09 |
| | | | | | | | plenty more remains svn:r1824 | ||
* | bugfix: add a circ->resolving_streams field, and make dns resolving ↵ | Roger Dingledine | 2004-05-06 |
| | | | | | | | | | | | | streams not actually in the connection_array until they're done 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 | ||
* | Comments for nearly all non-tricky files | Nick Mathewson | 2004-05-05 |
| | | | | svn:r1796 | ||
* | Working strerror for windows socket errors, plus some snide comments. | Nick Mathewson | 2004-05-02 |
| | | | | svn:r1775 | ||
* | Use socketclose on windows as appropriate; end pid files with newline | Nick Mathewson | 2004-04-28 |
| | | | | svn:r1745 | ||
* | bug resolved (hopefully), so remove comment | Roger Dingledine | 2004-04-28 |
| | | | | svn:r1738 | ||
* | clean dns.c better | Roger Dingledine | 2004-04-28 |
| | | | | svn:r1737 | ||
* | fix a bug in dns.c, note but don't fix another one | Roger Dingledine | 2004-04-28 |
| | | | | svn:r1735 | ||
* | Workarounds for a couple of pieces of windows strangeness. | Nick Mathewson | 2004-04-28 |
| | | | | svn:r1734 | ||
* | use tor_assert | Roger Dingledine | 2004-04-25 |
| | | | | | | | remove obsolete BUF_OK macro svn:r1697 | ||
* | Cosmetic patch for arma's fix for The Bug: Don't set the state to | Nick Mathewson | 2004-04-11 |
| | | | | | | | | RESOLVEFAILED if the resolve didn't fail; set it to CONNECTING instead. svn:r1590 | ||
* | continue beating at pieces of The Bug | Roger Dingledine | 2004-04-09 |
| | | | | svn:r1588 | ||
* | if dns resolve is valid, but our exit policy rejects it or | Roger Dingledine | 2004-04-09 |
| | | | | | | | | | | | 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 | ||
* | get more serious about hunting The Bug | Roger Dingledine | 2004-04-09 |
| | | | | | | | (it has been haunting us since the days of 0.0.2preX) svn:r1576 | ||
* | Delete trailing whitespace and expand tabs; remove unused aes decrypt code | Nick Mathewson | 2004-04-07 |
| | | | | svn:r1522 | ||
* | clean up a few more bugs | Roger Dingledine | 2004-03-29 |
| | | | | svn:r1365 | ||
* | make normal exit nodes less likely to crash from the conn-munging bug | Roger Dingledine | 2004-03-29 |
| | | | | | | | but leave dirservers just as likely to crash svn:r1363 | ||
* | make dns resolves a lot faster | Roger Dingledine | 2004-03-28 |
| | | | | | | | (but only enable this once we've found the bug) svn:r1358 | ||
* | there is yet another dns-pending-conn-clobbering bug | Roger Dingledine | 2004-03-28 |
| | | | | | | | somewhere svn:r1354 |