Roger Dingledine
|
1e62d24ddc
bugfix: only require the correct key if the nickname is for
|
20 years ago |
Roger Dingledine
|
84b8f8e04a
fix some bool logic
|
20 years ago |
Roger Dingledine
|
e547ab293b
make connection_tls_finish_handshake() more plausible.
|
20 years ago |
Nick Mathewson
|
334de84cbe
Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify behavior
|
20 years ago |
Roger Dingledine
|
73ffcc5cef
add a new advertised_server_mode() to distinguish ORs that
|
20 years ago |
Nick Mathewson
|
54c129d8dc
abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mode(), etc. Dont change underlying comments.
|
20 years ago |
Nick Mathewson
|
c2103eb63a
Finish most pre2 items: make running-routers list work right; rename secret key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname.
|
20 years ago |
Roger Dingledine
|
538655cd80
if connecting to an OR fails immediately, mark it as down
|
20 years ago |
Nick Mathewson
|
7d8de8cd10
More digest/nickname fixes
|
20 years ago |
Roger Dingledine
|
62dcf9e20f
some of the infrastructure to let ORs connect on demand
|
20 years ago |
Nick Mathewson
|
cbab134bd9
Switch most uses of *_by_addr_port to *_by_identity_digest
|
20 years ago |
Nick Mathewson
|
541add90a1
Track routers by hash of identity key; use hex hash of identity key in place of nickname; accept (and use) hash of identity key in EXTEND cells.
|
20 years ago |
Roger Dingledine
|
630e930799
don't flush the buf from inside connection_write_to_buf
|
20 years ago |
Roger Dingledine
|
1cf1836990
break connection_edge_end out of connection_mark_for_close
|
20 years ago |
Nick Mathewson
|
f1bc7af9f5
Make "connected" a different case from "finished_flushing"; always close_immediate whhen connect() fails.
|
20 years ago |
Nick Mathewson
|
81922a125c
More doxygenation.
|
20 years ago |
Roger Dingledine
|
658873eb01
tweak comment in connection_or
|
20 years ago |
Roger Dingledine
|
c6d4a00c5f
more doxygen markup
|
20 years ago |
Roger Dingledine
|
b384c5a18d
bugfix: do directory_send_command only after we've established a socket
|
20 years ago |
Roger Dingledine
|
fa3db976df
comment the functions in connection_or.c
|
20 years ago |
Nick Mathewson
|
2ba0776b02
Only connection_add connections once they have conn->s sett; refactor code around this. Should make stuff more bulletproof.
|
20 years ago |
Nick Mathewson
|
908ccb9dcd
Handle windows socket errors correctly; comment most of common.
|
20 years ago |
Roger Dingledine
|
25d54257fb
use tor_assert
|
20 years ago |
Nick Mathewson
|
0fca143ea1
Remove onion_pkey from connection, since onion keys can change more often than connections. Also add more log messages
|
20 years ago |
Nick Mathewson
|
220e859912
Note router addr:port in log messages
|
20 years ago |
Nick Mathewson
|
2e47a0f009
Compare nicknames casei.
|
20 years ago |
Nick Mathewson
|
c44016e86e
Merge flagday into main branch.
|
20 years ago |
Nick Mathewson
|
aa2189b406
note which preexisting or connection we found.
|
20 years ago |
Nick Mathewson
|
75c19716a8
Put ourself in router list; act accordingly.
|
20 years ago |
Roger Dingledine
|
8c3999c964
make it less noisy for normal ORs when a server uses a false nickname
|
20 years ago |