Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-15 | sched: Groundwork before KIST implementation | Matt Traudt | |
- HT_FOREACH_FN defined in an additional place because nickm did that in an old kist prototype - Make channel_more_to_flush mockable for future sched tests - Add empty scheduler_{vanilla,kist}.c files and put in include.am Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-15 | sched: Remove vanilla sched options that will be going away | Matt Traudt | |
- massive change to src/tgest/test_options.c since the sched options were added all over the place in it - removing the sched options caused some tests to pass/fail in new ways so I assumed current behavior is correct and made them pass again - ex: "ConnLimit must be greater" lines - ex: "Authoritative directory servers must" line - remove test_options_validate__scheduler in prep for new sched tests Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-07 | consensus: Add a generic notification function on new consensus | Matt Traudt | |
Some groundwork for the KIST scheduler implementation. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-07 | Whoops -- I messed a calltool target | Nick Mathewson | |
2017-09-07 | Merge branch 'calltool' | Nick Mathewson | |
2017-09-07 | Add support for running "calltool" on Tor via "make callgraph". | Nick Mathewson | |
Closes #19307. | |||
2017-09-07 | Talk about assertions in CodingStandards.md | Nick Mathewson | |
2017-09-07 | Add a module comment to util_bug.h | Nick Mathewson | |
Closes ticket 22824. | |||
2017-09-07 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-09-07 | Add a stack trace to the warning at issue with 23105. | Nick Mathewson | |
With luck, this will help us diagnose 23105 and fix it. I also added a stack trace to the warning right before it, since why not. | |||
2017-09-07 | Merge branch 'bug23361_032_01_squashed2' | Nick Mathewson | |
2017-09-07 | prop224: Pick rendezvous point of protover HSRend=2 | David Goulet | |
Version 3 hidden service needs rendezvous point that have the protocol version HSRend >= 2 else the rendezvous cells are rejected. Fixes #23361 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-06 | Better error on failure to load seccomp2 sandbox | Nick Mathewson | |
There are two reasons this is likeliest to happen -- no kernel support, and some bug in Tor. We'll ask people to check the former before they report. Closes 23090. | |||
2017-09-06 | Merge remote-tracking branch 'dgoulet/bug23123_032_01' | Nick Mathewson | |
2017-09-06 | Correctly describe which inputs would confuse the old BSD strtol | Nick Mathewson | |
This fixes our changelog's description of 22789. | |||
2017-09-05 | Make url-canonicalizer canonicalize correctly. | Nick Mathewson | |
2017-09-05 | Fix an erroneous ! | Nick Mathewson | |
2017-09-05 | Resolve inconsistencies between buf refactor and HTTP connect | Nick Mathewson | |
2017-09-05 | Merge branch 'http_tunnel_squashed' | Nick Mathewson | |
2017-09-05 | Add a fuzzer for HTTP CONNECT | Nick Mathewson | |
2017-09-05 | Add a manpage entry and changes file for for HTTPTunnelPort | Nick Mathewson | |
2017-09-05 | Add stream isolation support for HTTP CONNECT tunnels | Nick Mathewson | |
I'm doing this using the Proxy-Authorization: header to support clients that understand it, and with a new tor-specific header that makes more sense for our use. | |||
2017-09-05 | Add support for HTTP Connect tunnels | Nick Mathewson | |
2017-09-05 | Export http-command parsing functions. | Nick Mathewson | |
2017-09-05 | Make preferred_chunk_size nonstatic, and add a prefix to it | Nick Mathewson | |
2017-09-05 | Merge branch 'refactor_buffers_api_3' | Nick Mathewson | |
2017-09-05 | Refactor buffer APIs to put a buf_t first. | Nick Mathewson | |
By convention, a function that frobs a foo_t should be called foo_frob, and it should have a foo_t * as its first argument. But for many of the buf_t functions, the buf_t was the final argument, which is silly. | |||
2017-09-05 | Repair wide lines from previous commit. | Nick Mathewson | |
2017-09-05 | Repair buffer API so everything starts with buf_. | Nick Mathewson | |
Our convention is that functions which manipulate a type T should be named T_foo. But the buffer functions were super old, and followed all kinds of conventions. Now they're uniform. Here's the perl I used to do this: \#!/usr/bin/perl -w -i -p s/read_to_buf\(/buf_read_from_socket\(/; s/flush_buf\(/buf_flush_to_socket\(/; s/read_to_buf_tls\(/buf_read_from_tls\(/; s/flush_buf_tls\(/buf_flush_to_tls\(/; s/write_to_buf\(/buf_add\(/; s/write_to_buf_compress\(/buf_add_compress\(/; s/move_buf_to_buf\(/buf_move_to_buf\(/; s/peek_from_buf\(/buf_peek\(/; s/fetch_from_buf\(/buf_get_bytes\(/; s/fetch_from_buf_line\(/buf_get_line\(/; s/fetch_from_buf_line\(/buf_get_line\(/; s/buf_remove_from_front\(/buf_drain\(/; s/peek_buf_startswith\(/buf_peek_startswith\(/; s/assert_buf_ok\(/buf_assert_ok\(/; | |||
2017-09-05 | Move buffers.c and buffers_tls.c into src/common | Nick Mathewson | |
These are no longer tor-specific, so they can be part of the infrastructure. | |||
2017-09-05 | Move the tls parts of buffers.c into buffers_tls.c | Nick Mathewson | |
2017-09-05 | Make buffers.c independent of or.h | Nick Mathewson | |
Also, put ext_or function in new module; it had accidentally gotten into proto_socks.c | |||
2017-09-05 | Make buf_pullup() expose the pulled-up data. | Nick Mathewson | |
This lets us drop the testing-only function buf_get_first_chunk_data(), and lets us implement proto_http and proto_socks without looking at buf_t internals. | |||
2017-09-05 | Replace buf->datalen usage in proto_*.c with buf_datalen() call. | Nick Mathewson | |
This lets us remove BUFFERS_PRIVATE from two of the modules. | |||
2017-09-05 | Move protocol-specific functions out of buffers.c | Nick Mathewson | |
This commit does not change the implementation of any function: it only moves code and adds new includes as necessary. Part of #23149. | |||
2017-09-05 | Not all invizbox people have the same TLD... :/ | Nick Mathewson | |
2017-09-05 | Remove changes files that are already merged in 0.3.1.6-rc | Nick Mathewson | |
2017-09-05 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
"ours" merge to avoid version bump. | |||
2017-09-05 | Bump to 0.3.1.6-rc-dev | Nick Mathewson | |
2017-09-05 | forward-port the 0.3.1.6-rc changelog | Nick Mathewson | |
2017-09-05 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-09-05 | test: Fix memory leak in hs_descriptor/decode_bad_signature | David Goulet | |
Fixes #23319 Cherry-picked from master; bug not in any released Tor. | |||
2017-09-05 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
"ours" merge to avoid version bump | |||
2017-09-05 | Bump version to 0.3.1.6-rc | Nick Mathewson | |
2017-09-05 | Merge branch 'bug23331_032_01_squashed' | Nick Mathewson | |
2017-09-05 | hs: Don't enter the HS v3 subsystem without a live consensus | David Goulet | |
The service needs the latest SRV and set of relays for the best accurate hashring to upload its descriptor to so it needs a live consensus thus don't do anything until we have it. Fixes #23331 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-04 | Merge branch 'maint-0.3.1' | Nick Mathewson | |
2017-09-04 | Merge branch 'bug22752_031_simple' into maint-0.3.1 | Nick Mathewson | |
2017-09-04 | Merge remote-tracking branch 'dgoulet/bug23366_032_01' | Nick Mathewson | |
2017-09-04 | Merge remote-tracking branch 'asn/bug23346' | Nick Mathewson | |