summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2006-08-28 r8605@Kushana: nickm | 2006-08-27 14:01:11 -0400Nick Mathewson
divide eventdns log messages into warn and info messages. svn:r8252
2006-08-27comment out an unused variable; nick, feel free to excise it further.Roger Dingledine
svn:r8241
2006-08-27stop a big memory leak: we were leaking the whole contentsRoger Dingledine
of cached-routers.new every time we read it. svn:r8236
2006-08-27stop three memory leaks. nick, fix these if i'm wrong.Roger Dingledine
svn:r8235
2006-08-27i'm guessing nick meant to check the return value of dns_init.Roger Dingledine
and revise some log severities to match the convention. svn:r8234
2006-08-27fix typoRoger Dingledine
svn:r8233
2006-08-26remove some more vestiges of cvsRoger Dingledine
svn:r8229
2006-08-26fix a log level -- err is for things that kill tor, warn is forRoger Dingledine
things that tor can recover from. also, avoid situations where people who don't read their logs accumulate ten thousand useless files in their datadir. svn:r8227
2006-08-25 r8576@Kushana: nickm | 2006-08-25 17:16:01 -0400Nick Mathewson
Fix bug 314: Instead of checking address_in_virtualrange, check addressmap_have_mapping(). This should be more accurate. [Rename to addressmap_have_mapping() from addressmap_already_mapped().] svn:r8226
2006-08-25 r8573@Kushana: nickm | 2006-08-25 16:55:19 -0400Nick Mathewson
Resolve bug 321 when using dnsworkers: append a period to every address we resolve at the exit node, so that we do not accidentally pick up local addresses, and so that failing searches are retried in the resolver search domains. (This is already solved for eventdns.) svn:r8225
2006-08-25 r8572@Kushana: nickm | 2006-08-25 16:35:49 -0400Nick Mathewson
Fix for bug 308: When we have a state file we cannot parse, tell the user, and move it aside. svn:r8224
2006-08-24make our socks5 handling more robust to broken socks clients:Roger Dingledine
throw out everything waiting on the buffer in between socks handshake phases, since they can't possibly (so the theory goes) have predicted what we plan to respond to them. svn:r8223
2006-08-24clean up logging conventions in do_list_fingerprint()Roger Dingledine
svn:r8222
2006-08-23tor --verify-config now exits with -1(255) or 0 depending on whetherRoger Dingledine
the config options are bad or good. svn:r8221
2006-08-17 r7411@Kushana: nickm | 2006-08-17 19:00:25 -0400Nick Mathewson
patch suggested by Karsten Loesing: respond to SIGNAL command before we execute the signal, in case the signal shuts us down. svn:r7072
2006-08-16 r7405@Kushana: nickm | 2006-08-16 14:38:46 -0400Nick Mathewson
Implement reverse DNS lookup in eventdns: add new entry point; rename old entry point; revise TODO a little; add facility for parsing dns names. svn:r7070
2006-08-16automatically avoid picking more than one node from the sameRoger Dingledine
/16 network when constructing a circuit. svn:r7068
2006-08-16dns.c:173: warning: control reaches end of non-void functionRoger Dingledine
svn:r7067
2006-08-15 r7398@Kushana: nickm | 2006-08-15 00:49:50 -0400Nick Mathewson
Add missing backslash svn:r7065
2006-08-15 r7397@Kushana: nickm | 2006-08-15 00:46:18 -0400Nick Mathewson
Fix eventdns version of dns.c. Man, we need to get rid of this eventdns/dnsworker split. svn:r7064
2006-08-15 r7393@Kushana: nickm | 2006-08-14 23:51:07 -0400Nick Mathewson
remove extraneous #endif svn:r7063
2006-08-15 r7392@Kushana: nickm | 2006-08-14 23:50:32 -0400Nick Mathewson
Only do the expensive version of router_have_minimum_dir_info() when the dir info has changed. Backport candidate, since oprofile suggests that this function and ones it calls account for 25-35% of oprofile samples. svn:r7062
2006-08-14 r7386@Kushana: nickm | 2006-08-14 17:43:44 -0400Nick Mathewson
Patch from Adam Langley. * I meant getaddrinfo_a, not getaddrinfo_r - fixed * Added more checks to the parsing code. * It seems you switched an alloca to a malloc, but didn't add any frees svn:r7061
2006-08-14 r7046@Kushana: nickm | 2006-08-05 13:57:04 -0400Nick Mathewson
Make it possible for dns_init() to fail; note failure of eventdns configuratoin. svn:r7059
2006-08-14 r7383@Kushana: nickm | 2006-08-14 16:16:03 -0400Nick Mathewson
Stop walking entire dns cache for every request, now that we found our hash table bug. svn:r7057
2006-08-14avoid complaining about our SOCKS proxy proxy.Roger Dingledine
svn:r7053
2006-08-14fix typos and stuffRoger Dingledine
svn:r7049
2006-08-14simplify compare_cached_resolves_by_expiry() to make it matchRoger Dingledine
the idioms of other compare functions. hopefully i didn't break it? svn:r7048
2006-08-14 r7369@Kushana: nickm | 2006-08-14 02:03:10 -0400Nick Mathewson
Shortening fields is only one part of making structs shorter. You must also consider alignment padding. Whee. svn:r7045
2006-08-14save 3-7 bytes per edge connectionRoger Dingledine
svn:r7044
2006-08-13simplify the connection_write_to_buf_zlib() wrapper.Roger Dingledine
svn:r7042
2006-08-11fix funny-looking assignment that crashes unit testsRoger Dingledine
svn:r7027
2006-08-11fix typo, add explanatory commentRoger Dingledine
svn:r7026
2006-08-11 r7328@Kushana: nickm | 2006-08-11 00:04:26 -0700Nick Mathewson
remove an assert that can never be false (an array in a non-null struct cannot be null). svn:r7024
2006-08-11 r7327@Kushana: nickm | 2006-08-11 00:00:36 -0700Nick Mathewson
Fix a pedantic warning svn:r7023
2006-08-11 r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700Nick Mathewson
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation. svn:r7020
2006-08-10Fix crash in first-time option validation. Oops.Nick Mathewson
svn:r7018
2006-08-10 r7304@Kushana: nickm | 2006-08-10 01:58:05 -0700Nick Mathewson
Fix verbose compilation errors; make sure transparent proxy fails when no method is configured. svn:r7012
2006-08-10 r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700Nick Mathewson
whitespace fixes svn:r7011
2006-08-10 r7302@Kushana: nickm | 2006-08-10 01:48:44 -0700Nick Mathewson
Warn about open TransListenAddress values. svn:r7010
2006-08-10 r7301@Kushana: nickm | 2006-08-10 01:41:27 -0700Nick Mathewson
Only open /dev/pf once. svn:r7009
2006-08-10 r7300@Kushana: nickm | 2006-08-10 01:36:40 -0700Nick Mathewson
Distinguish netfilter vs pf at configure time based on headers, not on OS. svn:r7008
2006-08-10 r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700Nick Mathewson
Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS. svn:r7007
2006-08-10a way to make tor more stable in crummy situationsRoger Dingledine
svn:r7005
2006-08-10Experimentally re-enable kqueue on OSX when using libevent 1.1b or later. ↵Nick Mathewson
Log when we are doing this, so we can diagnose it when it fails. svn:r7004
2006-08-10Recommend libevent 1.1b for kqueue and win32 methods; deprecate libevent ↵Nick Mathewson
1.0b harder; make libevent recommendation system saner. svn:r7003
2006-08-05 r7029@Kushana: nickm | 2006-08-04 14:08:41 -0700Nick Mathewson
Remove now-spurious size and data arguments from tor_mmap_file svn:r6987
2006-08-05 r7027@Kushana: nickm | 2006-08-04 13:06:48 -0700Nick Mathewson
Oops. Fix downcast macro. svn:r6985
2006-08-04make svn trunk link again. nick can fix this if it's wrong.Roger Dingledine
svn:r6982
2006-08-04 r7012@Kushana: nickm | 2006-08-03 19:21:25 -0700Nick Mathewson
Add an "mmap handle" type to encapsulate bookkeeping elements of mmap issues; add prelim win32 impl svn:r6980