summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-12-06bump us to 0.0.9rc6tor-0.0.9rc6Roger Dingledine
svn:r3089
2004-12-06answer resolved ip in network orderRoger Dingledine
svn:r3087
2004-12-06avoid using uninitialized variableRoger Dingledine
svn:r3086
2004-12-06don't use cache for resolving .foo.exit names, but do reply immediatelyRoger Dingledine
if we're asked to resolve an IP.foo.exit. svn:r3085
2004-12-06fix indentingRoger Dingledine
svn:r3084
2004-12-05send an end to the streams we close when we hibernate, ratherRoger Dingledine
than just chopping them off svn:r3083
2004-12-05check if we have a cached resolve for a tor-resolve address *after*Roger Dingledine
we remove the .foo.exit part of the address. svn:r3082
2004-12-05fix a minor leak in my recent commitRoger Dingledine
svn:r3081
2004-12-05talk about quotas rather than bandwidths, in the logsRoger Dingledine
svn:r3080
2004-12-05int is not necessarily the same size as size_tRoger Dingledine
svn:r3079
2004-12-05New circuit building strategy: keep a list of ports that we've used in ↵Roger Dingledine
the past 6 hours, and always try to have 2 circuits open or on the way that will handle each such port. (We can extend this to include addresses if exit policies shift to require that.) Seed us with port 80 so web browsers won't complain that Tor is "slow to start up". This was necessary because our old circuit building strategy just involved counting circuits, and as time went by we would build up a big pile of circuits that had peculiar exit policies (e.g. only exit to 9001-9100) which would take up space in the circuit pile but never get used. Fix router_compare_addr_to_addr_policy: it was not treating a port of * as always matching, so we were picking reject *:* nodes as exit nodes too. If you haven't used a clean circuit in an hour, throw it away, just to be on the safe side. This means after 6 hours a totally unused Tor client will have no circuits open. svn:r3078
2004-12-04fix commentRoger Dingledine
svn:r3077
2004-12-04plus add a comment re: the previous bugRoger Dingledine
svn:r3076
2004-12-04bugfix: router_exit_policy_rejects_all() was broken, so we wereRoger Dingledine
sometimes picking middleman nodes as our last hop, which wasn't very useful. svn:r3075
2004-12-04Now we allow writing to the buffer even when the stream if marked forRoger Dingledine
close, if we're planning to wait to flush it. This is important because we were sending a socks reject back if we're closing and hadn't already sent one, but it wasn't actually getting written since the conn was already marked-for-close. svn:r3074
2004-12-04React to eof immediately on non-open edge connections.Roger Dingledine
Stop keeping track of num_retries for apconns, since they expire after 60 seconds anyway. When warning about retrying or giving up, print the address, so the user knows which one it's talking about. svn:r3073
2004-12-04bugfix: When we were checking to see if an ap_conn should time outRoger Dingledine
waiting for its connected cell, we were calculating time from when the ap_conn was created. So if it waited say 20 seconds before being attached, then we would immediately decide that the circuit had timed out. Also, make circuit_dump_by_conn() display actual circuit progress, including circuits that haven't been attached to the conn yet but hope to when it finishes connecting. svn:r3072
2004-12-04whoopsRoger Dingledine
just because it says snprintf doesn't mean it's a noop svn:r3071
2004-12-04Add function to check that addr_policy_t is okay; change struct ↵Nick Mathewson
addr_policy_t to addr_policy_t. svn:r3070
2004-12-04bump us to 0.0.9rc6-cvsRoger Dingledine
darn these bugs svn:r3069
2004-12-04make circuit building and router parsing less noisyRoger Dingledine
svn:r3068
2004-12-03while hibernating, hup should not regrow our listeners.Roger Dingledine
svn:r3067
2004-12-02Be more proactive about noticing underflows: size_t values greater than ↵Nick Mathewson
0x800...00 are likely to be trouble. svn:r3064
2004-12-02clean up 3 more underflow possibilitiesRoger Dingledine
svn:r3063
2004-12-02fix redundant (and dangerous) NUL terminationRoger Dingledine
svn:r3062
2004-12-01check for duplicate circuit ID _after_ updating circ_id_type.tor-0.0.9rc5Nick Mathewson
svn:r3058
2004-12-01bump to 0.0.9rc5Roger Dingledine
svn:r3056
2004-12-01move StatusFetchPeriod to 15 minutes so it's within bounds by defaultRoger Dingledine
svn:r3055
2004-12-01one more typoRoger Dingledine
svn:r3054
2004-12-01Fix windows build.Nick Mathewson
svn:r3053
2004-12-01Spell-check strings and commentsNick Mathewson
svn:r3052
2004-12-01If we are using select, make sure we stay within FD_SETSIZE.Nick Mathewson
svn:r3051
2004-12-01do even less inside our signal handler,Roger Dingledine
just to be extra paranoidly safe svn:r3050
2004-11-30Clarify chosen tag progressionNick Mathewson
svn:r3047
2004-11-30clean obsolete circuit_log_path codeRoger Dingledine
svn:r3046
2004-11-30clean up the other "Tell Roger" log that dfc keeps gettingRoger Dingledine
svn:r3042
2004-11-30a few minor tweaksRoger Dingledine
svn:r3041
2004-11-30write down our "how to have two defaults for dirfetchperiod"Roger Dingledine
issue, so we don't forget about it. svn:r3040
2004-11-30Let resolve conns retry/expire also, rather than sticking around forever.Roger Dingledine
Put the check-if-requested-exitrouter-will-reject-us code in the circuit_attach loop, so it gets checked periodically and not just once at the beginning. This is useful in case the routerlist changes, but also in case the address gets resolved into something that we learn we'll reject. svn:r3039
2004-11-30refuse .exit addresses immediately if the requested node wouldRoger Dingledine
refuse the request (e.g. due to exit policy or wrong version) svn:r3038
2004-11-30Make tor-resolve accept x.y.exit addresses againNick Mathewson
svn:r3036
2004-11-30use shorter minimum key lifetime until 008 is deadNick Mathewson
svn:r3035
2004-11-30doxygen uses backslashes, not forward-slashesNick Mathewson
svn:r3033
2004-11-30clarify why strlcpy is safe in truncated log messagesNick Mathewson
svn:r3032
2004-11-30Fix last patchNick Mathewson
svn:r3031
2004-11-30Rename parse_address to parse_extended_hostname (since we have other kinds ↵Nick Mathewson
of addresses); make its output an enum; support HEXDIGEST.exit hostnames. svn:r3029
2004-11-30Make version parsing tests passNick Mathewson
svn:r3028
2004-11-30Give an early error if you pass a .onion or a .exit hostname to tor-resolveNick Mathewson
svn:r3027
2004-11-30Add casei versions of strcmpstart/strcmpendNick Mathewson
svn:r3026
2004-11-30Enforce coding style.Nick Mathewson
svn:r3025