| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r4964
|
|
|
|
| |
svn:r4553
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a new extend_info_t datatype to hold information needed to
extend a circuit (addr,port,keyid,onion_key). Use it in cpath and
build_state. Make appropriate functions take or return it instead of
routerinfo_t or keyid.
- #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this
error in 0.1.0.10, nobody will trigger it.
- Implement new hidden service descriptor format, which contains "extend
info" for introduction points, along with protocol version list.
- Parse new format.
- Generate new format
- Cache old and new formats alongside each other.
- Directories serve "old" format if asked in old way, "newest available"
format if asked in new way.
- Use new format to find introduction points if possible; otherwise fall
back. Keep nickname lists and extendinfo lists in sync.
- Tests for new format.
- Implement new "v2" INTRODUCE cell format.
- Accept new format
- Use new format if we have a versioned service descriptor that says the
server accepts the new format.
- Add documentation for functions and data types.
svn:r4506
|
|
|
|
|
|
| |
function definition format uniform.
svn:r4411
|
|
|
|
| |
svn:r4382
|
|
|
|
| |
svn:r4378
|
|
|
|
|
|
|
| |
also generally clean up log messages.
svn:r4174
|
|
|
|
|
|
| |
Watch out when we bump the version to 0.1.0.6-rc!
svn:r4162
|
|
|
|
|
|
|
|
|
| |
60 seconds fetching the hidserv descriptor, which made them
more likely to fail on the first attempt, yet they work fine
on the second. so now give them extra time for the first try.
svn:r4127
|
|
|
|
|
|
| |
called on a marked connection; rename it to connection_mark_unattached_ap.
svn:r3990
|
|
|
|
| |
svn:r3982
|
|
|
|
|
|
|
| |
add a few more reasons so we can be more informative.
svn:r3895
|
|
|
|
|
|
|
|
| |
the socks reject. audit for remaining ones. also make things more
uniform so we always remember to hold-open-until-flushed, etc.
svn:r3891
|
|
|
|
|
|
| |
cpaths from freed ones. I audited this once; it could use another audit.
svn:r3831
|
|
|
|
| |
svn:r3798
|
|
|
|
|
|
|
|
| |
Also refactor circuit building so we plan the whole path ahead
of time.
svn:r3797
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r3352
|
|
|
|
| |
svn:r3257
|
|
|
|
| |
svn:r3115
|
|
|
|
| |
svn:r3052
|
|
|
|
|
|
| |
every file.
svn:r3019
|
|
|
|
|
|
|
|
|
|
| |
decide what exit node to use; based on a patch by geoff goodell.
needs more work: e.g. it goes bananas building new circuits when the
chosen exit node's exit policy rejects the connection.
svn:r3015
|
|
|
|
|
|
|
| |
totally unacceptable to me.
svn:r3005
|
|
|
|
| |
svn:r3003
|
|
|
|
| |
svn:r2989
|
|
|
|
|
|
|
|
| |
this may have some bugs in it still.
and it may end up not being what we want to do.
svn:r2928
|
|
|
|
|
|
| |
clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs.
svn:r2808
|
|
|
|
|
|
| |
target; fix a braino in dirserv.c
svn:r2758
|
|
|
|
|
|
|
|
| |
Break connection_consider_empty_buckets() out of
connection_read_bucket_decrement().
svn:r2698
|
|
|
|
| |
svn:r2644
|
|
|
|
|
|
|
|
| |
that made them fail. Fix the bug, and revert clients to use version 0
until 0.0.9pre4 is obsolete.
svn:r2641
|
|
|
|
| |
svn:r2586
|
|
|
|
| |
svn:r2544
|
|
|
|
| |
svn:r2487
|
|
|
|
|
|
|
| |
plus a whitespace patch on config.c from vicman
svn:r2482
|
|
|
|
| |
svn:r2412
|
|
|
|
| |
svn:r2000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* \file circuitbuild.c
* \brief The actual details of building circuits.
* \file circuitlist.c
* \brief Manage the global circuit list.
* \file circuituse.c
* \brief Launch the right sort of circuits, attach streams to them.
* \file connection_edge.c
* \brief Handle edge streams.
* \file onion.c
* \brief Functions to queue create cells, and handle onionskin
* parsing and creation.
* \file relay.c
* \brief Handle relay cell encryption/decryption, plus packaging and
* receiving from circuits.
svn:r1863
|
|
|
|
| |
svn:r1860
|
|
|
|
| |
svn:r1858
|
|
|
|
| |
svn:r1857
|
|
|
|
| |
svn:r1832
|
|
|
|
|
|
|
| |
plenty more remains
svn:r1824
|
|
|
|
| |
svn:r1796
|
|
|
|
|
|
|
| |
remove obsolete BUF_OK macro
svn:r1697
|
|
|
|
| |
svn:r1666
|
|
|
|
|
|
|
| |
count it as a nack
svn:r1665
|