| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r951
|
|
|
|
|
|
|
|
|
|
| |
than use fixed-size strings
reorganize directory_handle_command so it'll be easier to do more with
our directory servers
svn:r950
|
|
|
|
|
|
|
|
| |
initialize digests from shared secrets at handshake
make circuit_send_next_onion_skin use connection_edge_send_command
svn:r948
|
|
|
|
|
|
|
|
| |
make circuit_consider_sending_sendme use connection_edge_send_command
fix endian bug in relay length handling (maybe)
svn:r946
|
|
|
|
| |
svn:r944
|
|
|
|
|
|
|
|
|
| |
move length to 2 bytes, put it in the relay header
remove 4 reserved bytes in cell
add 4 bytes to relay header for the integrity check
svn:r942
|
|
|
|
|
|
|
|
|
|
| |
verify it at the client end
abstract the onionskin handshake lengths
breaks backward compatibility (again)
svn:r941
|
|
|
|
| |
svn:r936
|
|
|
|
| |
svn:r932
|
|
|
|
| |
svn:r919
|
|
|
|
| |
svn:r905
|
|
|
|
|
|
|
| |
no need to have new circs handle it too.
svn:r896
|
|
|
|
| |
svn:r893
|
|
|
|
|
|
|
|
|
|
|
| |
never work.
fix vicious bug in choose_good_exit_server that caused it to *skip over*
pending circuits, and look only at *non-pending circuits*, when choosing
a good exit node for the new circuit.
bugfix: remove incorrect asserts in circuit_get_newest()
svn:r876
|
|
|
|
| |
svn:r857
|
|
|
|
| |
svn:r848
|
|
|
|
|
|
|
|
| |
Increment failure counts only when circuits close without having been built.
Reset failure counts only on the second, and when circuits are done building.
svn:r847
|
|
|
|
|
|
|
| |
and it didn't notice
svn:r841
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bugfix: keep going when a circ fails in circuit_n_conn_open
(make circuit_enumerate_by_naddr_nport obsolete)
bugfix: make circuit_n_conn_open only look at circ's that start at us
bugfix: only try circuit_n_conn_open if we're an OP. Otherwise we
expect connections to always already be up.
bugfix: when choosing path length, pay attention to whether the directory
says a router is down.
bugfix: when picking good exit, skip routers which are known to be down
(more work needs to be done on this one)
svn:r838
|
|
|
|
| |
svn:r837
|
|
|
|
|
|
|
| |
expire circs that have been building for too long
svn:r835
|
|
|
|
|
|
| |
OP/OR servers
svn:r830
|
|
|
|
| |
svn:r829
|
|
|
|
| |
svn:r827
|
|
|
|
| |
svn:r825
|
|
|
|
| |
svn:r824
|
|
|
|
| |
svn:r823
|
|
|
|
| |
svn:r821
|
|
|
|
|
|
|
| |
quickly notice streams that don't have a circ on the way, and start one
svn:r819
|
|
|
|
|
|
|
| |
not quite happy with it yet
svn:r817
|
|
|
|
| |
svn:r816
|
|
|
|
| |
svn:r814
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and bitcounts
18.0.0.0/8. Policies are parsed on startup, not when comparing to them.
- desired_path_len is now part of an opaque cpath_build_state_t structure.
- END_REASON_EXITPOLICY cells no longer include a port.
- RELAY_COMMAND_CONNECTED cells now include the IP address we've connected
to.
- connection_edge now has a client_dns cache to remember resolved addresses.
It gets populated by RELAY_COMMAND_CONNECTED cells and END_REASON_EXITPOLICY
cells. It gets used by connection_ap_handshake_send_begin. We don't
compare it to exit policies yet.
svn:r812
|
|
|
|
| |
svn:r811
|
|
|
|
| |
svn:r805
|
|
|
|
| |
svn:r796
|
|
|
|
| |
svn:r795
|
|
|
|
| |
svn:r794
|
|
|
|
| |
svn:r793
|
|
|
|
|
|
|
|
|
|
|
| |
is a the first step in computing hops one step at a time. Next, we move
the responsibility for calling onion_extend_cpath into circuit.c
(Later, we may want to special-case onion_extend_cpath to treat entry
and exit routers differently.)
svn:r792
|
|
|
|
| |
svn:r790
|
|
|
|
| |
svn:r784
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also:
- Refactor socks request into a separate struct
- Add a separate 'waiting for circuit' state to AP connections
between 'waiting for socks' and 'open'.
Arma: can you check out the XXX's I've added to connection_edge? I may
be mishandling some async and close logic.
svn:r783
|
|
|
|
|
|
|
|
| |
rename APPort to SocksPort
introduce new tor_free() macro
svn:r642
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not when we're closing the stream.
this lets us put a payload in the end cell if we want to,
to describe why we're closing the stream.
there are still some places where we don't send the end cell
immediately. i need to track them down. but it's a low priority,
since i've made it send the end cell when we close the stream if
we haven't already sent it.
svn:r640
|
|
|
|
| |
svn:r592
|
|
|
|
|
|
|
| |
and fix a few typos
svn:r571
|
|
|
|
| |
svn:r569
|
|
|
|
| |
svn:r560
|
|
|
|
| |
svn:r539
|