summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-04-25only call the connection open once we've decided we like the cert.Roger Dingledine
svn:r4112
2005-04-25bugfix: stop trying to print a null pointer if an OR conn failsRoger Dingledine
because we didn't like its cert. svn:r4111
2005-04-25bugfix: make a debug log stop lyingRoger Dingledine
svn:r4110
2005-04-23only complain about wedged cpuworkers after an hour, not 100 secsRoger Dingledine
svn:r4100
2005-04-23Apparently, ASN1 failures are not treated as SSL connection errors, but are ↵Nick Mathewson
just general OpenSSL errors. Or something. Anyway, bulletproof tor_tls_handshake. svn:r4098
2005-04-23let NumCpus be singular without whiningRoger Dingledine
svn:r4097
2005-04-23bump experimental version to 0.1.0.4-rcRoger Dingledine
svn:r4096
2005-04-23bump to 0.1.0.3-rc-cvsRoger Dingledine
svn:r4088
2005-04-23LOG_ERR is for when you're planning to die.Roger Dingledine
svn:r4087
2005-04-23Fix "JAP-client" hideous ASN1 bug, twice. (Fix1: check more thoroughly for ↵debian-version-0.1.0.3-rc-200504231430-1Nick Mathewson
TLS errors when handling certs. Fix2: stop assert(0)ing on uncaught TLS errors.) svn:r4085
2005-04-21add geoff's NoPublish patchRoger Dingledine
svn:r4084
2005-04-17Replace an infinite-stack-recursion bug with a ↵Nick Mathewson
generate-infinite-debug-messages bug. Maybe it isnt such a good idea to send LOG_DEBUG messages to the controller after all? svn:r4082
2005-04-17zero-out errno before calling event_dispatch, just in case we have ↵Nick Mathewson
misdiagnosed poll(2)/EINVAL bug. svn:r4081
2005-04-12be willing to load balance over up to 2mB, not 1mB, of advertised capacityRoger Dingledine
svn:r4080
2005-04-12those should be notices, not warnsRoger Dingledine
svn:r4079
2005-04-11Fix postdescriptor behavior: on non-complete success, only say "done" once.Nick Mathewson
svn:r4073
2005-04-08bump to 0.1.0.3-rcRoger Dingledine
svn:r4064
2005-04-08remove some redundant codeRoger Dingledine
svn:r4062
2005-04-08If it has not been 100 seconds since we told the cpuworker about an onion, ↵Nick Mathewson
complain! Oh, wait... svn:r4059
2005-04-08Make libevent_logging_callback static.Nick Mathewson
svn:r4058
2005-04-08Add kludgy function to force controllers to flush EVENT_ERR_MSG events.Nick Mathewson
svn:r4057
2005-04-08Move a quote, fix a log.Nick Mathewson
svn:r4056
2005-04-08Fixs a signed/unsigned comparisonNick Mathewson
svn:r4055
2005-04-08Add missing "char"Nick Mathewson
svn:r4054
2005-04-07tie MAX_DIR_SIZE to MAX_BUF_SIZERoger Dingledine
resolve bug 80 svn:r4052
2005-04-07fix format bugRoger Dingledine
svn:r4051
2005-04-07only whine about clock skew from the dirserver if he's a trustedRoger Dingledine
dirserver. svn:r4048
2005-04-07Improve conn_*_to_string; add circuit_state_to_string; make ↵Nick Mathewson
skewed-descriptor messages better. svn:r4047
2005-04-07allow servers to publish descriptors from 12 hours in the future.Roger Dingledine
hopefully this will allow more slack and let crummier servers help out too. svn:r4046
2005-04-07Change conn_(type|state)_to_string from const arrays to switch functions so ↵Nick Mathewson
we (I) will not make Tor crash the next time we (I) add a new state. svn:r4045
2005-04-07add function commentRoger Dingledine
svn:r4043
2005-04-07We have a bug that I can't find. Sometimes, very rarely, cpuworkers getRoger Dingledine
stuck in the 'busy' state, even though the cpuworker process thinks of itself as idle. I don't know why. But here's a workaround to kill any cpuworker that's been busy for more than 100 seconds. svn:r4042
2005-04-07Try RB_TREE instead of SPLAY_TREE, but with a single-entry caching optimization.Nick Mathewson
svn:r4041
2005-04-07Make compare_orconn_circid_entries marginally faster and inlined, if that helpsNick Mathewson
svn:r4040
2005-04-06Stop putting nodename in the Platform string of server descriptors.Roger Dingledine
It doesn't actually help, and it is confusing/upsetting some people. svn:r4037
2005-04-06When we connect and finish TLS negotiation with address:port, it is obvious ↵Nick Mathewson
that any other key or nickname we might know about (as an authdirserver) does not actually exist at address:port. svn:r4036
2005-04-06stop wasting time doing a case insensitive comparison for every dns nameRoger Dingledine
every time we do any lookup. canonicalize the names to lowercase and be done with it. svn:r4035
2005-04-06blow away most calls to assert_all_pending_dns_resolves_ok, sinceRoger Dingledine
they're eating our cpu. svn:r4034
2005-04-06bugfix: chdir to your datadirectory at the *end* of theRoger Dingledine
daemonize process, not the beginning. this was a problem because the first time you run tor, if your datadir isn't there, and you have runasdaemon set to 1, it will try to chdir to it before it tries to create it. oops. svn:r4033
2005-04-06quiet another instance where we whine to an innocent OR operator'sRoger Dingledine
logs when some other server switches keys unexpectedly. svn:r4032
2005-04-06oh, and accept() into the right place, too.Roger Dingledine
svn:r4029
2005-04-06Forward-port the checking ofRoger Dingledine
sin_addr.s_addr == 0 || sin->sin_port == 0. This just happened on moria2, so I guess it happens rarely on Linux as well as OS X. We can't afford to accept OR conns from 0.0.0.0:0, since we send created cells back to the first addr:port that matches, and we'd better not send them to the wrong place. So, let's drop them all for now, and see if we can find a pattern later. svn:r4028
2005-04-06fix an assert trigger: when we have the rare case of acceptingRoger Dingledine
a conn on 0.0.0.0:0, then when we look through the connection array, we'll find any of the workers. this is no good. svn:r4027
2005-04-06Rename circuit_get_by_stream to circuit_get_by_edge_conn, and actually start ↵Nick Mathewson
using it. Watch out, kids! svn:r4026
2005-04-06when using preferred entry or exit nodes, ignore whetherRoger Dingledine
the circuit wants uptime or capacity. they asked for the nodes, they get the nodes. svn:r4025
2005-04-06Add a pointer from edge connections to their corresponding circuit (ulp!); ↵Nick Mathewson
add some debugging sanity-checking for cirid_orconn_map stuff svn:r4024
2005-04-06Fix bug in last commit when no circid can be foundNick Mathewson
svn:r4023
2005-04-06Fix format warningNick Mathewson
svn:r4022
2005-04-06note some features we intend to add.Roger Dingledine
svn:r4021
2005-04-06Hopefully, this will make ORs much faster, and not break them: keep a big ↵Nick Mathewson
splay tree of (circid,orconn)->circuit mappings to make circuit_get_by_circid_conn much faster. svn:r4020