aboutsummaryrefslogtreecommitdiff
path: root/src/or/ext_orport.c
Commit message (Expand)AuthorAge
* Fix some #5040 bugs found by Nick's tests.•••- Set conn->address when we receive a USERADDR command. - Set conn->state to a sane value when we transition from Extended ORPort to ORPort. George Kadianakis2013-08-15
* Write some free_all functions to free the auth. cookies.•••We started allocating space for them on the heap in the previous commit. Conflicts: src/or/ext_orport.h George Kadianakis2013-08-15
* Implement and use a generic auth. cookie initialization function.•••Use the generic function for both the ControlPort cookie and the ExtORPort cookie. Also, place the global cookie variables in the heap so that we can pass them around more easily as pointers. Also also, fix the unit tests that broke by this change. Conflicts: src/or/config.h src/or/ext_orport.c George Kadianakis2013-08-15
* Make 0x01==SAFECOOKIE a macro, not a magic numberNick Mathewson2013-08-15
* Unit test for basic ext_or_cookie authentication backendNick Mathewson2013-08-15
* Split the cryptographic part of handle_client_auth_nonce into new fnNick Mathewson2013-08-15
* Fix some ext_orport.c DOCDOCs.George Kadianakis2013-08-15
* Tests for connection_write_ext_or_command.Nick Mathewson2013-08-15
* Use memdup_nulterm and check for NULs in handle_cmd_transportNick Mathewson2013-08-15
* Fix a variety of issues in 4773•••memwipe some stack-allocated stuff Add DOCDOC comments for state machines Use memdup_nulterm as appropriate Check for NULs in useraddr Add a macro so that <= AUTH_MAX has a meaning. Nick Mathewson2013-08-15
* Break up <??> differently, and explain whyNick Mathewson2013-08-15
* Add guards to ext_orport.h, rename get_file to get_file_nameNick Mathewson2013-08-15
* Fix a number of issues with the #5040 code.•••- Don't leak if a transport proxy sends us a TRANSPORT command more than once. - Don't use smartlist_string_isin() in geoip_get_transport_history(). (pointed out by Nick) - Use the 'join' argument of smartlist_join_strings() instead of trying to write the separator on our own. (pointed out by Nick) - Document 'ext_or_transport' a bit better. (pointed out by Nick) - Be a bit more consistent with the types of the values of 'transport_counts'. (pointed out by Nick) George Kadianakis2013-08-15
* Make check-spaces happy.George Kadianakis2013-08-15
* Make the Extended ORPort understand the TRANSPORT command.George Kadianakis2013-07-18
* Fix logging severities and remove some trivial XXXs.George Kadianakis2013-07-18
* More Extended ORPort code improvements.•••* Change name of init_ext_or_auth_cookie_authentication(). * Add a small comment. George Kadianakis2013-07-18
* Move Extended ORPort code to its own module.•••Move the code from the connection_or module to ext_orport. This commit only moves code: it shouldn't modify anything. George Kadianakis2013-07-18