Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-04 | Turn orconn watermarks into consensus parameters. | Mike Perry | |
Tuning these may reduce memory usage and latency. | |||
2021-03-12 | Update copyrights to 2021, using "make update-copyright" | Nick Mathewson | |
2020-07-17 | or_connection_t: replace real_addr with canonical_orport. | Nick Mathewson | |
Instead of replacing connection_t.{addr,port} with a canonical orport, and tracking the truth in real_addr, we now leave connection_t.addr alone, and put the canonical address in canonical_orport. Closes #40042 Closes #33898 | |||
2020-06-24 | addr: Rename resolved_addr_is_local() | David Goulet | |
Better function name. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2020-06-24 | addr: Refactor is_local_addr() to support IPv6 | David Goulet | |
Series of changes: 1. Rename function to reflect the namespace of the file. 2. Use the new last resolved cache instead of the unused last_resolved_addr_v4 (which is also removed in this commit). 3. Make the entire code base use the new resolved_addr_is_local() function. You will notice that this function uses /24 to differentiate subnets where the rest of tor uses /16 (including documentation of EnforceDistinctSubnets). Ticket #40009 has been opened for that. But that the moment, the function keeps looking at /24. Part of #33233 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2020-05-05 | config: New file resolve_addr.{c|h} | David Goulet | |
Move a series of function from config.c into that new file which is related to address resolving. Part of #33789 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2020-01-08 | It's 2020. Update the copyright dates with "make update-copyright" | Nick Mathewson | |
2019-12-20 | Replace several C identifiers. | teor | |
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ EXPOSE_CLEAN_BACKTRACE BACKTRACE_PRIVATE \ TOR_CHANNEL_INTERNAL_ CHANNEL_OBJECT_PRIVATE \ CHANNEL_PRIVATE_ CHANNEL_FILE_PRIVATE \ EXPOSE_ROUTERDESC_TOKEN_TABLE ROUTERDESC_TOKEN_TABLE_PRIVATE \ SCHEDULER_PRIVATE_ SCHEDULER_PRIVATE | |||
2019-01-16 | Bump copyright date to 2019 | Nick Mathewson | |
2018-11-14 | Move buffers.c out of lib/containers to resolve a circularity. | Nick Mathewson | |
2018-07-05 | Fix every include path changed in the previous commit (automated) | Nick Mathewson | |
I am very glad to have written this script. | |||
2018-07-01 | Extract more constants from or.h | Nick Mathewson | |
2018-06-28 | Fix paths for buffers.h; automated. | Nick Mathewson | |
2018-06-27 | rectify include paths (automatic) for address.h | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-06-15 | Move or_connection_t to its own header. | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_null.cocci | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_int.cocci | Nick Mathewson | |
2017-08-24 | Fix operator usage in src/test/*.c | Alexander Færøy | |
This patch fixes the operator usage in src/test/*.c to use the symbolic operators instead of the normal C comparison operators. This patch was generated using: ./scripts/coccinelle/test-operator-cleanup src/test/*.[ch] | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2016-11-03 | Merge branch 'feature_15055_v2' | Nick Mathewson | |
2016-11-03 | Add "Ed ID" arguments to a bunch of connection-ID-related fns. | Nick Mathewson | |
In particular, these functions are the ones that set the identity of a given connection or channel, and/or confirm that we have learned said IDs. There's a lot of stub code here: we don't actually need to use the new keys till we start looking up connections/channels by Ed25519 IDs. Still, we want to start passing the Ed25519 IDs in now, so it makes sense to add these stubs as part of 15055. | |||
2016-09-11 | Merge remote-tracking branch 'public/solaris_warnings_028' | Nick Mathewson | |
2016-08-02 | Search for remaining references to 'bufferevent'. | Nick Mathewson | |
Remove or adjust as appropriate. | |||
2016-07-28 | Fix a large pile of solaris warnings for bug 19767. | Nick Mathewson | |
In nearly all cases, this is a matter of making sure that we include orconfig.h before we include any standard c headers. | |||
2016-06-11 | Use -Wdouble-promotion in GCC >= 4.6 | Nick Mathewson | |
This warning triggers on silently promoting a float to a double. In our code, it's just a sign that somebody used a float by mistake, since we always prefer double. | |||
2016-06-11 | Add -Wfloat-conversion for GCC >= 4.9 | Nick Mathewson | |
This caught quite a few minor issues in our unit tests and elsewhere in our code. | |||
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2015-12-15 | Replace usage of INLINE with inline | cypherpunks | |
This patch was generated using; sed -i -e "s/\bINLINE\b/inline/" src/*/*.[ch] src/*/*/*.[ch] | |||
2015-01-02 | Bump copyright dates to 2015, in case someday this matters. | Nick Mathewson | |
2014-12-22 | Fix a bunch of memory leaks in the unit tests. Found with valgrind | Nick Mathewson | |
2014-09-30 | Update test_channeltls.c for recent test suite changes and --enable-mempools ↵ | Andrea Shepard | |
support | |||
2014-09-30 | Add channel_tls_num_cells_writeable_method() coverage to ↵ | Andrea Shepard | |
channeltls/num_bytes_queued unit test | |||
2014-09-30 | Add channeltls/num_bytes_queued unit test | Andrea Shepard | |
2014-09-30 | Implement tlschan create and overhead estimate unit tests | Andrea Shepard | |
2014-09-30 | Initial test_channeltls.c | Andrea Shepard | |