Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
Tor
Commits
4f5192b2
Commit
4f5192b2
authored
Mar 31, 2005
by
Roger Dingledine
Browse files
...and use it to make sure we only conclude reachability if
we didn't initiate the conn. svn:r3932
parent
4a82ac12
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/circuitbuild.c
View file @
4f5192b2
...
...
@@ -774,9 +774,11 @@ int onionskin_answer(circuit_t *circ, unsigned char *payload, unsigned char *key
connection_or_write_cell_to_buf
(
&
cell
,
circ
->
p_conn
);
log_fn
(
LOG_DEBUG
,
"Finished sending 'created' cell."
);
if
(
!
is_local_IP
(
circ
->
p_conn
->
addr
))
{
/* record that we could process create cells; presumably this means
that create cells can reach us too. */
if
(
!
is_local_IP
(
circ
->
p_conn
->
addr
)
&&
tor_tls_is_server
(
circ
->
p_conn
->
tls
))
{
/* record that we could process create cells from a non-local conn
* that we didn't initiate; presumably this means that create cells
* can reach us too. */
router_orport_found_reachable
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment