aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* ORPort must be defined if ORBindAddress is defined.Roger Dingledine2004-12-07
| | | | svn:r3100
* Fix leakable rsa keyNick Mathewson2004-12-07
| | | | svn:r3099
* clean up docs a bit for default log lines.Roger Dingledine2004-12-07
| | | | svn:r3098
* when recommending new-format log lines, if the upper bound is LOG_ERR,Roger Dingledine2004-12-07
| | | | | | | leave it implicit. svn:r3097
* Renormalize whitespaceNick Mathewson2004-12-07
| | | | svn:r3095
* Make unit tests work on win32Nick Mathewson2004-12-07
| | | | svn:r3094
* More win32 fixes: 1) tolerate extra "readable" events better. 2) when being ↵Nick Mathewson2004-12-06
| | | | | | multithreaded, leave parent fdarray open. svn:r3092
* Fix parse_iso_time on platforms without strptime.Nick Mathewson2004-12-06
| | | | svn:r3091
* bump us to 0.0.9rc6Roger Dingledine2004-12-06
| | | | svn:r3089
* answer resolved ip in network orderRoger Dingledine2004-12-06
| | | | svn:r3087
* avoid using uninitialized variableRoger Dingledine2004-12-06
| | | | svn:r3086
* don't use cache for resolving .foo.exit names, but do reply immediatelyRoger Dingledine2004-12-06
| | | | | | | if we're asked to resolve an IP.foo.exit. svn:r3085
* fix indentingRoger Dingledine2004-12-06
| | | | svn:r3084
* send an end to the streams we close when we hibernate, ratherRoger Dingledine2004-12-05
| | | | | | | than just chopping them off svn:r3083
* check if we have a cached resolve for a tor-resolve address *after*Roger Dingledine2004-12-05
| | | | | | | we remove the .foo.exit part of the address. svn:r3082
* fix a minor leak in my recent commitRoger Dingledine2004-12-05
| | | | svn:r3081
* talk about quotas rather than bandwidths, in the logsRoger Dingledine2004-12-05
| | | | svn:r3080
* int is not necessarily the same size as size_tRoger Dingledine2004-12-05
| | | | svn:r3079
* New circuit building strategy: keep a list of ports that we've used in ↵Roger Dingledine2004-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix commentRoger Dingledine2004-12-04
| | | | svn:r3077
* plus add a comment re: the previous bugRoger Dingledine2004-12-04
| | | | svn:r3076
* bugfix: router_exit_policy_rejects_all() was broken, so we wereRoger Dingledine2004-12-04
| | | | | | | | sometimes picking middleman nodes as our last hop, which wasn't very useful. svn:r3075
* Now we allow writing to the buffer even when the stream if marked forRoger Dingledine2004-12-04
| | | | | | | | | | | 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
* React to eof immediately on non-open edge connections.Roger Dingledine2004-12-04
| | | | | | | | | | | 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
* bugfix: When we were checking to see if an ap_conn should time outRoger Dingledine2004-12-04
| | | | | | | | | | | | | 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
* whoopsRoger Dingledine2004-12-04
| | | | | | | just because it says snprintf doesn't mean it's a noop svn:r3071
* Add function to check that addr_policy_t is okay; change struct ↵Nick Mathewson2004-12-04
| | | | | | addr_policy_t to addr_policy_t. svn:r3070
* bump us to 0.0.9rc6-cvsRoger Dingledine2004-12-04
| | | | | | | darn these bugs svn:r3069
* make circuit building and router parsing less noisyRoger Dingledine2004-12-04
| | | | svn:r3068
* while hibernating, hup should not regrow our listeners.Roger Dingledine2004-12-03
| | | | svn:r3067
* Be more proactive about noticing underflows: size_t values greater than ↵Nick Mathewson2004-12-02
| | | | | | 0x800...00 are likely to be trouble. svn:r3064
* clean up 3 more underflow possibilitiesRoger Dingledine2004-12-02
| | | | svn:r3063
* fix redundant (and dangerous) NUL terminationRoger Dingledine2004-12-02
| | | | svn:r3062
* check for duplicate circuit ID _after_ updating circ_id_type.Nick Mathewson2004-12-01
| | | | svn:r3058
* bump to 0.0.9rc5Roger Dingledine2004-12-01
| | | | svn:r3056
* move StatusFetchPeriod to 15 minutes so it's within bounds by defaultRoger Dingledine2004-12-01
| | | | svn:r3055
* one more typoRoger Dingledine2004-12-01
| | | | svn:r3054
* Fix windows build.Nick Mathewson2004-12-01
| | | | svn:r3053
* Spell-check strings and commentsNick Mathewson2004-12-01
| | | | svn:r3052
* If we are using select, make sure we stay within FD_SETSIZE.Nick Mathewson2004-12-01
| | | | svn:r3051
* do even less inside our signal handler,Roger Dingledine2004-12-01
| | | | | | | just to be extra paranoidly safe svn:r3050
* Clarify chosen tag progressionNick Mathewson2004-11-30
| | | | svn:r3047
* clean obsolete circuit_log_path codeRoger Dingledine2004-11-30
| | | | svn:r3046
* clean up the other "Tell Roger" log that dfc keeps gettingRoger Dingledine2004-11-30
| | | | svn:r3042
* a few minor tweaksRoger Dingledine2004-11-30
| | | | svn:r3041
* write down our "how to have two defaults for dirfetchperiod"Roger Dingledine2004-11-30
| | | | | | | issue, so we don't forget about it. svn:r3040
* Let resolve conns retry/expire also, rather than sticking around forever.Roger Dingledine2004-11-30
| | | | | | | | | | | 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
* refuse .exit addresses immediately if the requested node wouldRoger Dingledine2004-11-30
| | | | | | | refuse the request (e.g. due to exit policy or wrong version) svn:r3038
* Make tor-resolve accept x.y.exit addresses againNick Mathewson2004-11-30
| | | | svn:r3036
* use shorter minimum key lifetime until 008 is deadNick Mathewson2004-11-30
| | | | svn:r3035