aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Add '--digests' to "that which implies --hush."Nick Mathewson2013-09-13
| | | | | And have these various commandline options imply "hush", not "quiet", since we like to see warnings.
* Integration test for parsing arguments on the commandlineNick Mathewson2013-09-13
| | | | (incomplete)
* Disallow --hash-password with no commandline arguments.Nick Mathewson2013-09-13
| | | | | | Fixes bug 9573. Bugfix on 59453ac6e in 0.0.9pre5, which fixed a crash in a silly way.
* Make config_parse_commandline table-driven for its list of cmdline argsNick Mathewson2013-09-13
|
* Use commandline parser for other optionsNick Mathewson2013-09-13
| | | | | These were previously allowed only in the initial position: --help, -h , --version, --digests, --list-torrc-options
* Expose commandline parser so that we can use it for --quiet,etc.Nick Mathewson2013-09-13
| | | | Fix for bug 9578.
* Patch for 4647 (rewrite command line parser)Cristian Toader2013-09-13
|
* Cleanup whitespacesNick Mathewson2013-08-25
|
* Basic unit test for EVENT_TRANSPORT_LAUNCHEDNick Mathewson2013-08-25
|
* Widen event_mask_t to 64 bitsNick Mathewson2013-08-25
|
* Implement the TRANSPORT_LAUNCHED control port event.George Kadianakis2013-08-25
|
* Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-08-25
|\
| * Merge remote-tracking branch 'public/bug9546_v2' into maint-0.2.4Nick Mathewson2013-08-25
| |\
| | * Make bridges send AUTH_CHALLENGE cellsNick Mathewson2013-08-21
| | | | | | | | | | | | | | | | | | | | | | | | The spec requires them to do so, and not doing so creates a situation where they can't send-test because relays won't extend to them because of the other part of bug 9546. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
| | * Send NETINFO on receiving a NETINFO if we have not yet sent one.Nick Mathewson2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relays previously, when initiating a connection, would only send a NETINFO after sending an AUTHENTICATE. But bridges, when receiving a connection, would never send AUTH_CHALLENGE. So relays wouldn't AUTHENTICATE, and wouldn't NETINFO, and then bridges would be surprised to be receiving CREATE cells on a non-open circuit. Fixes bug 9546.
| * | Merge remote-tracking branch 'public/bug9366' into maint-0.2.4Nick Mathewson2013-08-25
| |\ \
| | * | Don't allow all ORPort values to be NoAdvertiseNick Mathewson2013-08-05
| | | | | | | | | | | | | | | | Fix for bug #9366
| * | | Merge remote-tracking branch 'public/bug9543' into maint-0.2.4Nick Mathewson2013-08-25
| |\ \ \
| | * | | Add a 30-day maximum on user-supplied MaxCircuitDirtinessNick Mathewson2013-08-21
| | | |/ | | |/| | | | | | | | | Fix for bug 9543.
* | | | fix typosRoger Dingledine2013-08-23
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-08-22
|\| | |
| * | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-08-22
| |\ \ \ | | |/ / | |/| |
| | * | Replace return with continue in update_consensus_networkstatus_downloadsNick Mathewson2013-08-22
| | | | | | | | | | | | | | | | Fix for bug 9564; bugfix on 0.2.3.14-alpha.
* | | | Hide the contents of the circuit_build_times structure.Nick Mathewson2013-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There were only two functions outside of circuitstats that actually wanted to know what was inside this. Making the structure itself hidden should help isolation and prevent us from spaghettifying the thing more.
* | | | Documentation for new cbt accessorsNick Mathewson2013-08-22
| | | |
* | | | Separate mutable/const accessors for circuit_build_timesNick Mathewson2013-08-22
| | | | | | | | | | | | | | | | (These have proved invaluable for other global accessors.)
* | | | Rename get_circuit_nbuild_* to end with _msNick Mathewson2013-08-22
| | | |
* | | | Make circ_times static and add accessor functions.vagrant2013-08-22
| | | | | | | | | | | | | | | | | | | | | | | | Change the global circ_times to a static variable and use accessor functions throughout the code, instead of accessing it directly.
* | | | Tweak/cleanup 5526 fix.Nick Mathewson2013-08-21
| | | |
* | | | Print accounting information in heartbeat messages.Peter Retzlaff2013-08-21
| | | | | | | | | | | | | | | | Implements ticket 5526.
* | | | Rename circuit_get_global_list to remove trailing _Nick Mathewson2013-08-15
| | | |
* | | | Merge remote-tracking branch 'majek/bug9108'Nick Mathewson2013-08-15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/circuitlist.h
| * | | | Fix #9108 - make global_circuitlist a doubly linked listMarek Majkowski2013-06-20
| | | | |
| * | | | Don't access global_circuitlist variable directly. Use a getter instead.Marek Majkowski2013-06-20
| | | | |
* | | | | Fix a wide line in test_geoip_with_ptNick Mathewson2013-08-15
| | | | |
* | | | | Merge branch 'bug5040_4773_rebase_3'Nick Mathewson2013-08-15
|\ \ \ \ \
| * | | | | Test ExtORPort cookie initialization when file writing is broken.George Kadianakis2013-08-15
| | | | | |
| * | | | | Test some fail conditions of ext_orport.c USERADDR/TRANSPORT parsing.George Kadianakis2013-08-15
| | | | | |
| * | | | | Fix some #5040 bugs found by Nick's tests.George Kadianakis2013-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Set conn->address when we receive a USERADDR command. - Set conn->state to a sane value when we transition from Extended ORPort to ORPort.
| * | | | | Write some free_all functions to free the auth. cookies.George Kadianakis2013-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We started allocating space for them on the heap in the previous commit. Conflicts: src/or/ext_orport.h
| * | | | | Implement and use a generic auth. cookie initialization function.George Kadianakis2013-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | Warn if the Extended ORPort listens on a public IP address.George Kadianakis2013-08-15
| | | | | |
| * | | | | Better documentation for ext_or_auth_correct_client_hash.George Kadianakis2013-08-15
| | | | | |
| * | | | | White-box tests for the succeeding case of ext_or_port handshake.Nick Mathewson2013-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Okay, white-box plus mocking enough other functions so they don't crash.)
| * | | | | Test for initializing ext_or_auth_cookie fileNick Mathewson2013-08-15
| | | | | |
| * | | | | Make 0x01==SAFECOOKIE a macro, not a magic numberNick Mathewson2013-08-15
| | | | | |
| * | | | | Unit test for the ext_orport safe_cookie handshakeNick Mathewson2013-08-15
| | | | | |
| * | | | | Expose/mock some functions to make ext_orport.c testing possibleNick Mathewson2013-08-15
| | | | | |
| * | | | | More unit tests for handle_client_auth_nonceNick Mathewson2013-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incidentally, this business here where I make crypto_rand mockable: this is exactly the kind of thing that would make me never want to include test-support stuff in production builds.
| * | | | | Unit test for basic ext_or_cookie authentication backendNick Mathewson2013-08-15
| | | | | |