| Commit message (Expand) | Author | Age |
* | Stop crashing when we're asking to close_if_marked a conn that•••hasn't been connection_added yet. This happens when an exit conn
is in dns_wait and we get a relay end cell for it before it finishes.
We were silently leaking each of these marked conns in 0.0.9.x. Now
we actually free them.
svn:r3470
| Roger Dingledine | 2005-01-30 |
* | be safe: if you got a resolvefailed end cell but you're not an AP, bail.•••svn:r3469
| Roger Dingledine | 2005-01-30 |
* | try to find the corrupt closeable_connection_lst entry early•••svn:r3468
| Roger Dingledine | 2005-01-30 |
* | we should handle the case where the client has no cert, for•••backwards compatibility with jap clients.
svn:r3466
| Roger Dingledine | 2005-01-30 |
* | give a better log message when we don't have a good mirror of•••the directory yet and somebody asks for it.
svn:r3464
| Roger Dingledine | 2005-01-30 |
* | comment about a bug wrt clock skew•••svn:r3461
| Roger Dingledine | 2005-01-30 |
* | if we fetch the dir from a mirror that has a wildly skewed•••clock, then don't bother checking recommended-versions: it will
just make us sad.
as a side effect, people running obsolete versions and whose
clocks are wildly skewed will not be auto-shut-down. but they
will still get warns about their clock skew.
svn:r3459
| Roger Dingledine | 2005-01-29 |
* | distinguish between "well-formed and rejected" and "not well•••formed", when parsing server descriptors.
svn:r3458
| Roger Dingledine | 2005-01-29 |
* | accept LDAP (389/tcp) and LDAPS (636/tcp) in default exit policy•••svn:r3457
| Roger Dingledine | 2005-01-29 |
* | don't let a corrupt directory cache keep us from starting•••svn:r3456
| Roger Dingledine | 2005-01-29 |
* | forward-port the shutting up•••svn:r3450
| Roger Dingledine | 2005-01-28 |
* | forward-port the dns and maxconn fixes•••svn:r3448
| Roger Dingledine | 2005-01-28 |
* | Forward-port win32 service patch; try to clean it a touch.•••svn:r3438
| Nick Mathewson | 2005-01-27 |
* | fwd-port win32 isprint fix•••svn:r3410
| Nick Mathewson | 2005-01-22 |
* | Fix dumb bug in unittests.•••svn:r3409
| Nick Mathewson | 2005-01-22 |
* | clean a couple of messages•••svn:r3401
| Nick Mathewson | 2005-01-21 |
* | special case so we don't yell when an empty http body doesn't specify a•••content-encoding
svn:r3397
| Roger Dingledine | 2005-01-21 |
* | if we get an incredibly skewed timestamp from a dirserver mirror that•••isn't a verified OR, don't complain very loudly -- it's probably him
that's wrong.
svn:r3395
| Roger Dingledine | 2005-01-21 |
* | Log the offending policy, not the first policy•••svn:r3394
| Nick Mathewson | 2005-01-20 |
* | Appease another 64-bit warning•••svn:r3392
| Nick Mathewson | 2005-01-20 |
* | Have reason string for serverdesc post requests contain actual serverdesc sta...•••svn:r3391
| Nick Mathewson | 2005-01-20 |
* | Appease weasel's paranoid 64-bit compiler.•••svn:r3389
| Nick Mathewson | 2005-01-20 |
* | start to fix http status stuff, more work needed•••svn:r3387
| Roger Dingledine | 2005-01-20 |
* | Give better reason phrases in HTTP status lines. Start resolving task #67. (M...•••svn:r3386
| Nick Mathewson | 2005-01-20 |
* | Warn when exit policy implicitly allows local addresses.•••svn:r3383
| Nick Mathewson | 2005-01-20 |
* | The crowning hidden-service patch: prefer non-internal circuits•••for normal connections, so we don't spend our internal circs on
other stuff and not have them when we need them.
svn:r3380
| Roger Dingledine | 2005-01-20 |
* | Handle unavailable hidden services better. We try each intro point•••until none are left, then we try to refetch the descriptor. If it's
the same one we had before, then close streams right then. Whenever
a new stream arrives, even if it's right after, optimistically try
refetching the descriptor, just in case.
svn:r3379
| Roger Dingledine | 2005-01-19 |
* | make cannibalizing for rend circs prey on the pleb circs first•••if possible, rather than the elite ones.
svn:r3378
| Roger Dingledine | 2005-01-19 |
* | Add unittests for compression detection. Make all rendezvous descriptors "pla...•••svn:r3375
| Nick Mathewson | 2005-01-19 |
* | Workaround for webservers that lie about Content-Encoding: Tor now tries to a...•••svn:r3374
| Nick Mathewson | 2005-01-19 |
* | Give more useful log messages when the tor process closes dns/cpuworker conne...•••svn:r3373
| Nick Mathewson | 2005-01-19 |
* | fix another bug where general exit circs were looking at rendezvous•••streams. consolidate the looking into one function so it doesn't
happen again.
svn:r3372
| Roger Dingledine | 2005-01-19 |
* | bugfix for cvs: we were needing a rendezvous circ, so we cannibalized•••a general circ, and called rend_client_rendcirc_has_opened(), which
called connection_ap_attach_pending(), which was needing a rendezvous
circ, so it cannibalized a general circuit, and called ...
svn:r3370
| Roger Dingledine | 2005-01-19 |
* | Basic windows libevent fixes•••svn:r3366
| Nick Mathewson | 2005-01-18 |
* | allow bandwidthburst to be smaller, but whine if it's small.•••svn:r3364
| Roger Dingledine | 2005-01-18 |
* | remove some extra-verbose logs•••svn:r3361
| Roger Dingledine | 2005-01-17 |
* | Introduce a notion of 'internal' circs, which are chosen without regard•••to the exit policy of the last hop. Intro and rendezvous circs must
be internal circs, to avoid leaking information. Resolve and connect
streams can use internal circs if they want.
New circuit pooling algorithm: make sure to have enough circs around
to satisfy any predicted ports, and also make sure to have 2 internal
circs around if we've required internal circs lately (with high uptime
if we've seen that lately).
Split NewCircuitPeriod config option into NewCircuitPeriod (30 secs),
which describes how often we retry making new circuits if current ones
are dirty, and MaxCircuitDirtiness (10 mins), which describes how long
we're willing to make use of an already-dirty circuit.
Once rendezvous circuits are established, keep using the same circuit as
long as you attach a new stream to it at least every 10 minutes. (So web
browsing doesn't require you to build new rend circs every 30 seconds.)
Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
circ as necessary, if there are any completed ones lying around when
we try to launch one.
Re-instate the ifdef's to use version-0 style introduce cells, since
there was yet another bug in handling version-1 style. We'll try switching
over again after 0.0.9 is obsolete.
Bugfix: when choosing an exit node for a new non-internal circ, don't take
into account whether it'll be useful for any pending x.onion addresses --
it won't.
Bugfix: we weren't actually publishing the hidden service descriptor when
it became dirty. So we only published it every 20 minutes or so, which
means when you first start your Tor, the hidden service will seem broken.
svn:r3360
| Roger Dingledine | 2005-01-17 |
* | reset published uptime when you wake up from hibernation,•••since if you hibernate daily a published uptime of >1day
will be misleading.
svn:r3356
| Roger Dingledine | 2005-01-14 |
* | when the hidden service launches a rendezvous circ, make sure it•••provides good uptime if any virtual_port of the service wants that.
svn:r3355
| Roger Dingledine | 2005-01-14 |
* | Move call to event_init() immediately after start_daemon(); move start_daemon...•••svn:r3354
| Nick Mathewson | 2005-01-13 |
* | get rid of 0.0.8 backwards compatibility•••svn:r3353
| Roger Dingledine | 2005-01-13 |
* | start generating version 1 style introduce cells•••svn:r3352
| Roger Dingledine | 2005-01-13 |
* | when deciding if a port is handled and the port demands uptime, don't•••consider it handled if there's a circ that fits but isn't high-uptime.
svn:r3349
| Roger Dingledine | 2005-01-13 |
* | more cleanup•••svn:r3347
| Roger Dingledine | 2005-01-12 |
* | fix another integer underflow caused by buckets going negative•••svn:r3346
| Roger Dingledine | 2005-01-12 |
* | fix up some comments•••svn:r3345
| Roger Dingledine | 2005-01-12 |
* | tolerate bandwidtch buckets going negative (i hope)•••svn:r3344
| Roger Dingledine | 2005-01-12 |
* | Make Tor use Niels Provos's libevent instead of it's current•••poll-but-sometimes-select mess. This will let us use faster async cores
(like epoll, kpoll, and /dev/poll), and hopefully work better on Windows
too.
There are some fairly nasty changes to main.c here; this will almost
certainly break something. But hey, that's what alphas are for.
svn:r3341
| Nick Mathewson | 2005-01-12 |
* | add more chat and interactive protocols to LongLivedPorts•••svn:r3340
| Roger Dingledine | 2005-01-12 |
* | Annotate circuits w/ whether they aim to contain high uptime nodes and/or•••high capacity nodes. When building circuits, choose appropriate nodes.
New config option LongLivedPorts to indicate application streams
that will want high uptime circuits.
When attaching a stream to a circuit, pay attention to its requirements.
This means that every single node in an intro rend circuit, not just
the last one, will have a minimum uptime.
Boost the min uptime from an hour to 24 hours.
svn:r3339
| Roger Dingledine | 2005-01-12 |