| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r3811
|
|
|
|
| |
svn:r3799
|
|
|
|
| |
svn:r3789
|
|
|
|
|
|
| |
address our "Ah, you allow 1.2.3.4:80. You are a good choice for google.com" problem.
svn:r3786
|
|
|
|
| |
svn:r3758
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add 'testing' circuit purpose, for reachability testing.
Notice when our IP changes, and reset stats.
Try to pull down a directory via Tor to see if our DirPort is working.
Try to extend a circuit back to us to see if our ORPort is working.
Only publish a descriptor if they're both reachable.
These mostly work, and I'd better get them in before I cause conflicts.
svn:r3703
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Mapaddress
- Postdescriptor
- GetInfo on descriptors
Required changes elsewhere:
- Keep the most recent running_routers_t in the routerlist_t. That way we
can learn about new routers and remember whether we were last told that
they were up or down. Also enables more simplifications.
- Keep the signed descriptor inside routerinfo_t. This makes
descriptor_entry_t in dirservers.c unneeded.
- Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun.
- Check addresses for plausibility before mapping them.
svn:r3696
|
|
|
|
|
|
|
| |
not sure if it works. i don't have an https proxy.
svn:r3682
|
|
|
|
| |
svn:r3676
|
|
|
|
| |
svn:r3613
|
|
|
|
|
|
|
| |
launch an attempt to get a fresh one.
svn:r3609
|
|
|
|
| |
svn:r3566
|
|
|
|
| |
svn:r3549
|
|
|
|
|
|
|
|
| |
something goes wrong. this should only be used by people actively
tracking bugs.
svn:r3487
|
|
|
|
|
|
|
| |
the directory yet and somebody asks for it.
svn:r3464
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
formed", when parsing server descriptors.
svn:r3458
|
|
|
|
| |
svn:r3457
|
|
|
|
| |
svn:r3410
|
|
|
|
| |
svn:r3401
|
|
|
|
|
|
|
| |
content-encoding
svn:r3397
|
|
|
|
|
|
|
|
| |
isn't a verified OR, don't complain very loudly -- it's probably him
that's wrong.
svn:r3395
|
|
|
|
|
|
| |
status. Also fix return values of dirserv_add_descriptor to work as advertised.
svn:r3391
|
|
|
|
| |
svn:r3387
|
|
|
|
|
|
| |
(Messages still need to be better.)
svn:r3386
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
"plausible".
svn:r3375
|
|
|
|
|
|
| |
autodetect compressed directories and compression itself. (resolves bug 65)
svn:r3374
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
server. only give up hope on network reachability when no other servers
are reachable either.
svn:r3335
|
|
|
|
|
|
|
|
|
|
|
|
| |
tried they were all unreachable, assume we are not connected to
the network.
when an application request comes in during this state, be
optimistic and assume we just reconnected. fetch a new directory
and if it works, begin making circuits.
svn:r3327
|
|
|
|
|
|
|
|
| |
now by default they refuse router descriptors that have non-IP
or private-IP addresses.
svn:r3321
|
|
|
|
|
|
| |
otherwise we will think it is recent and not fetch a newer one.
svn:r3319
|
|
|
|
| |
svn:r3273
|
|
|
|
| |
svn:r3258
|
|
|
|
| |
svn:r3257
|
|
|
|
|
|
| |
runningrouters as well as directory fetches; note that the do-we-need-to-give-up test is wrong.
svn:r3256
|
|
|
|
|
|
|
| |
tell him so.
svn:r3243
|
|
|
|
| |
svn:r3234
|
|
|
|
|
|
|
|
|
| |
make it clearer which warns are bugs,
make the control log event match its specification,
point out a bug in how we deal with failure when renewing the tls context.
svn:r3138
|
|
|
|
|
|
| |
We learned that, so we casted. But it is also a bad idea to cast a signed char to an int and expect things to work on win32. Now we cast to unsigned char, then to int, then pass to isspace. Ug
svn:r3120
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
addr_policy_t to addr_policy_t.
svn:r3070
|
|
|
|
|
|
| |
every file.
svn:r3019
|
|
|
|
|
|
| |
authdirservers, and servers running 0.0.9rc5-cvs or later.)
svn:r3018
|
|
|
|
|
|
| |
to get when requesting it.
svn:r3013
|
|
|
|
|
|
|
| |
totally unacceptable to me.
svn:r3005
|
|
|
|
| |
svn:r3003
|
|
|
|
| |
svn:r2989
|