summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2013-08-15Make 0x01==SAFECOOKIE a macro, not a magic numberNick Mathewson
2013-08-15Expose/mock some functions to make ext_orport.c testing possibleNick Mathewson
2013-08-15Unit test for basic ext_or_cookie authentication backendNick Mathewson
2013-08-15Split the cryptographic part of handle_client_auth_nonce into new fnNick Mathewson
2013-08-15Fix some ext_orport.c DOCDOCs.George Kadianakis
2013-08-15Tests for connection_write_ext_or_command.Nick Mathewson
2013-08-15Unit tests for ext_or_id_map.Nick Mathewson
2013-08-15Unit tests for fetch_ext_or_cmdNick Mathewson
2013-08-15Add a clientmap_entry_free().Nick Mathewson
Remove a nedless strdup/free pair.
2013-08-15Fix hash functions for transport_name in client entryNick Mathewson
2013-08-15Use memdup_nulterm and check for NULs in handle_cmd_transportNick Mathewson
2013-08-15Fix a variety of issues in 4773Nick Mathewson
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.
2013-08-15Break up <??> differently, and explain whyNick Mathewson
2013-08-15Add guards to ext_orport.h, rename get_file to get_file_nameNick Mathewson
2013-08-15Use only uintptr_t for the value of transport_countNick Mathewson
2013-08-15If a single client connects with multiple transports, note all transports.George Kadianakis
2013-08-15Fix a number of issues with the #5040 code.George Kadianakis
- 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)
2013-08-15Make check-spaces happy.George Kadianakis
2013-07-18Write extra-info bridge-ip-transports lines.George Kadianakis
2013-07-18Make a channel getter method to retrieve transport names.George Kadianakis
2013-07-18Add transport information to the GeoIP database.George Kadianakis
2013-07-18Make the Extended ORPort understand the TRANSPORT command.George Kadianakis
2013-07-18Fix logging severities and remove some trivial XXXs.George Kadianakis
2013-07-18More Extended ORPort code improvements.George Kadianakis
* Change name of init_ext_or_auth_cookie_authentication(). * Add a small comment.
2013-07-18Move Extended ORPort code to its own module.George Kadianakis
Move the code from the connection_or module to ext_orport. This commit only moves code: it shouldn't modify anything.
2013-07-18Satisfy check-spaces.George Kadianakis
2013-07-18Various Extended ORPort code improvements.George Kadianakis
* Add documentation. * Free ext_or_auth_correct_client_hash. * Use VPORT(ExtORPort) instead of V(ExtORPOrt). See dfe03d36c8749eb07e9bb2ea47e88ff05e9e3127 for details.
2013-07-18Move USERADDR handling to a dedicated function.George Kadianakis
2013-07-18Implement Extended ORPort authentication.George Kadianakis
2013-07-18Prepare codebase for the implementation of Extended ORPort auth.George Kadianakis
2013-07-18Create the Extended ORPort authentication cookie file.George Kadianakis
2013-07-18Document code and change the Extended ORPort command numbers.George Kadianakis
2013-07-18Skeleton ExtORPort implementation. Needs testing, documentation.Nick Mathewson
Does not implement TransportControlPort yet.
2013-07-18Start of a unit test for options_validate.Nick Mathewson
I added this so I could write a unit test for ServerTransportOptions, but it incidentally exercises the succeed-on-defaults case of options_validate too.
2013-07-18Add a test for n_cells_in_circuit_queuesNick Mathewson
2013-07-18Unit tests for cell queues.Nick Mathewson
This removes some INLINE markers from functions that probably didn't need them.
2013-07-18Use TOR_SIMPLEQ for packed_cell_tNick Mathewson
2013-07-18Remove a redundant declarationNick Mathewson
2013-07-18Merge branch 'bug8978_rebase_2'Nick Mathewson
Conflicts: src/test/test_pt.c
2013-07-18Merge branch 'bug8929_rebase_2'Nick Mathewson
2013-07-18Improve test coverage of 8929 codeNick Mathewson
2013-07-18Insert the environment variable only if we have options to pass.George Kadianakis
2013-07-18Place the options in the environment after processing them properly.George Kadianakis
2013-07-18Rename tor_escape_str_for_socks_arg() to something more generic.George Kadianakis
Since we are going to be using that function to also escape parameters passed to transport proxies using environment variables.
2013-07-18Pass characters to be escaped to tor_escape_str_for_socks_arg().George Kadianakis
This is in preparation for using tor_escape_str_for_socks_arg() to escape server-side pluggable transport parameters.
2013-07-18Write function that parses ServerTransportOptions torrc lines.George Kadianakis
And use it to validate them.
2013-07-18Add a basic unit test for pt_get_extra_info_descriptor_string.Nick Mathewson
2013-07-18Write transport ARGS to extra-info descriptor.George Kadianakis
2013-07-18Extract ARGS from SMETHOD line and attach them to transport.George Kadianakis
2013-07-16Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson