George Kadianakis
|
794447d03d
Fix some #5040 bugs found by Nick's tests.
|
11 éve |
George Kadianakis
|
f549e4c36d
Write some free_all functions to free the auth. cookies.
|
11 éve |
George Kadianakis
|
33c3e60a37
Implement and use a generic auth. cookie initialization function.
|
11 éve |
George Kadianakis
|
13784d4753
Warn if the Extended ORPort listens on a public IP address.
|
11 éve |
George Kadianakis
|
bdeddecd29
Better documentation for ext_or_auth_correct_client_hash.
|
11 éve |
Nick Mathewson
|
28bb673584
White-box tests for the succeeding case of ext_or_port handshake.
|
11 éve |
Nick Mathewson
|
636aeb1f24
Test for initializing ext_or_auth_cookie file
|
11 éve |
Nick Mathewson
|
ba78a3c800
Make 0x01==SAFECOOKIE a macro, not a magic number
|
11 éve |
Nick Mathewson
|
4e868a9bc3
Unit test for the ext_orport safe_cookie handshake
|
11 éve |
Nick Mathewson
|
d7358e8598
Expose/mock some functions to make ext_orport.c testing possible
|
11 éve |
Nick Mathewson
|
fd6749203e
More unit tests for handle_client_auth_nonce
|
11 éve |
Nick Mathewson
|
4526c3e0b6
Unit test for basic ext_or_cookie authentication backend
|
11 éve |
Nick Mathewson
|
b64351ed17
Split the cryptographic part of handle_client_auth_nonce into new fn
|
11 éve |
George Kadianakis
|
e1d1d7a8da
Fix some ext_orport.c DOCDOCs.
|
11 éve |
Nick Mathewson
|
03e3881043
Tests for connection_write_ext_or_command.
|
11 éve |
Nick Mathewson
|
c342ea9879
Unit tests for ext_or_id_map.
|
11 éve |
Nick Mathewson
|
7da59721a9
Unit tests for fetch_ext_or_cmd
|
11 éve |
Nick Mathewson
|
7a12cbc03d
Split out buffers and socks tests into separate modules.
|
11 éve |
Nick Mathewson
|
9d8ffa91ce
Add a clientmap_entry_free().
|
11 éve |
Nick Mathewson
|
34d02484c0
Fix hash functions for transport_name in client entry
|
11 éve |
Nick Mathewson
|
50136b6698
Use memdup_nulterm and check for NULs in handle_cmd_transport
|
11 éve |
Nick Mathewson
|
550af7be0a
Fix a variety of issues in 4773
|
11 éve |
Nick Mathewson
|
6dd8ff0ad9
Break up <??> differently, and explain why
|
11 éve |
Nick Mathewson
|
e4a241af11
Add guards to ext_orport.h, rename get_file to get_file_name
|
11 éve |
Nick Mathewson
|
6568424410
Use only uintptr_t for the value of transport_count
|
11 éve |
George Kadianakis
|
6ad535e6dc
If a single client connects with multiple transports, note all transports.
|
11 éve |
George Kadianakis
|
cb54e44587
Fix a number of issues with the #5040 code.
|
11 éve |
George Kadianakis
|
85c556a4c2
Trivially change unittests to make them more readable.
|
11 éve |
George Kadianakis
|
b2c7379aec
Make check-spaces happy.
|
11 éve |
George Kadianakis
|
4d32518288
Add a changes file for #5040.
|
11 éve |