Commit Graph

  • 3129910b11 hs_pow: use the compiled HashX implementation Micah Elizabeth Scott 2023-03-10 17:23:06 -08:00
  • c6b168e141 test_hs_pow: add test vectors for our hs_pow client puzzle Micah Elizabeth Scott 2023-03-10 14:09:45 -08:00
  • 0c11411f35 hashx: trim trailing whitespace Micah Elizabeth Scott 2023-03-15 14:55:17 -07:00
  • ae86d98815 equix: Portability fixes for big endian platforms Micah Elizabeth Scott 2023-03-15 13:34:21 -07:00
  • daa08557ad equix: Build cleanly with -Wall -Werror Micah Elizabeth Scott 2023-03-10 06:52:30 -08:00
  • 246ced3a8c ext: build equix and hashx using automake Micah Elizabeth Scott 2023-03-09 19:33:41 -08:00
  • bfa2102c95 hs_pow: Replace libb2 dependency with hashx's internal blake2 Micah Elizabeth Scott 2023-03-09 15:28:56 -08:00
  • ffa8531fe0 test_crypto: add equix and hashx tests Micah Elizabeth Scott 2023-03-09 15:11:28 -08:00
  • 92f83347f7 test_crypto: add blake2b test vectors Micah Elizabeth Scott 2023-03-08 19:35:44 -08:00
  • dcb9c4df67 hs_pow: Make proof-of-work support optional in configure Micah Elizabeth Scott 2023-03-08 15:44:55 -08:00
  • 9d1a573977 configure: Add --enable-gpl option Micah Elizabeth Scott 2023-03-08 09:08:23 -08:00
  • 557eb81486 hs_pow_solve: use equix_solve more efficiently Micah Elizabeth Scott 2023-03-01 16:46:25 -08:00
  • 0e271dda77 hs_pow: reduce min_effort default to 1 Micah Elizabeth Scott 2023-02-27 18:47:33 -08:00
  • f3b98116b6 hs_pow: Rate limited dequeue Micah Elizabeth Scott 2023-02-27 18:39:43 -08:00
  • 20d7c8ce14 fix typo in HiddenServiceExportCircuitID Micah Elizabeth Scott 2023-02-27 16:12:03 -08:00
  • 98299e0f8b manpage: document HiddenServicePoWDefensesEnabled option Micah Elizabeth Scott 2023-02-27 15:36:22 -08:00
  • a0b9f3546e hs_pow: check for expired params in can_client_refetch_desc Micah Elizabeth Scott 2023-02-27 13:11:49 -08:00
  • 48c67263d9 hs_metrics: Proof of Work pqueue depth, suggested effort Micah Elizabeth Scott 2023-02-24 18:25:25 -08:00
  • 09afc5eacf update_suggested_effort: avoid assert if the pqueue has emptied Micah Elizabeth Scott 2023-02-21 17:06:17 -08:00
  • eba9190933 compute the client-side pow in a cpuworker thread Roger Dingledine 2022-09-04 03:55:27 -04:00
  • aa41d4b939 refactor send_introduce1() Roger Dingledine 2022-09-04 01:25:10 -04:00
  • a5b0c7b404 start the cpuworkers always, even for clients Roger Dingledine 2022-09-04 00:48:42 -04:00
  • 0716cd7cb2 allow suggested effort to be 0 Roger Dingledine 2022-09-04 06:48:28 -04:00
  • d36144ba31 Initialize startup effort at 0. Mike Perry 2022-07-14 17:34:32 +00:00
  • ec9e95cf1e Implement AIMD effort estimation. Mike Perry 2022-07-13 23:33:07 +00:00
  • 5b3a067fe3 Replace the constant bottom-half rate with handled count. Mike Perry 2022-07-13 20:50:38 +00:00
  • 121766e6b8 Make the thing compile. Mike Perry 2022-07-13 23:41:10 +00:00
  • e605620744 clients defend themselves from absurd pow requests Roger Dingledine 2022-07-01 18:32:04 -04:00
  • ec7495d35a log_err is reserved for fatal failures Roger Dingledine 2022-07-01 17:41:21 -04:00
  • e436ce2a3c drop the default min effort to 20 Roger Dingledine 2022-07-01 17:04:14 -04:00
  • a575e35c17 sort pqueue ties by time-added Roger Dingledine 2022-07-01 16:29:46 -04:00
  • 13f6258245 rate-limit low-effort rendezvous responses Roger Dingledine 2022-07-01 15:56:46 -04:00
  • dec3a0af7a make the rend_pqueue_cb event be postloop Roger Dingledine 2022-07-01 13:31:29 -04:00
  • b95bd5017f track how many in-flight hs-side rend circs Roger Dingledine 2022-06-30 22:01:15 -04:00
  • 5e768d5cb9 we were sorting our pqueue the wrong way Roger Dingledine 2022-06-30 21:46:21 -04:00
  • d0c2d4cb43 add a log line for when client succeeds Roger Dingledine 2022-06-30 18:28:10 -04:00
  • 4e55f28220 bump up some log messages for easier debugging Roger Dingledine 2022-06-30 17:55:22 -04:00
  • 8042379c44 new design for handling too many pending rend reqs Roger Dingledine 2022-06-30 17:25:16 -04:00
  • 85cba057e7 make a log message clearer about our actual intent Roger Dingledine 2022-06-30 17:23:48 -04:00
  • 4571faf0c3 pass time around as a parameter Roger Dingledine 2022-06-30 16:10:56 -04:00
  • 047f8c63ee hs: Maximum rend request and trimming of the queue David Goulet 2022-06-30 10:37:53 -04:00
  • bc9fe5a6f8 hs: Handle multiple rend request per mainloop run David Goulet 2022-06-30 09:53:41 -04:00
  • c2f6b057b8 hs: Don't expire RP circuits to HS with PoW David Goulet 2022-06-29 15:00:59 -04:00
  • 35227a7a15 trunnel: Centralize the INTRO1 extension type David Goulet 2022-06-29 12:00:41 -04:00
  • 4eb783e97b hs: Priority queue for rendezvous requests David Goulet 2022-06-29 11:56:05 -04:00
  • f0b63ca242 hs: Move rendezvous circuit data structure David Goulet 2022-06-29 11:05:35 -04:00
  • ca74530b40 hs: Setup service side PoW defenses David Goulet 2022-06-28 13:43:35 -04:00
  • 8b41e09a77 hs: Client now solve PoW if present David Goulet 2022-06-28 11:42:35 -04:00
  • 26957b47ac hs: Descriptor support for PoW David Goulet 2022-06-28 11:09:43 -04:00
  • 51ce0bb6ef hs: Add solve and verify PoW functions David Goulet 2022-06-27 16:03:54 -04:00
  • c611e328de hs: Add data structure needed for PoW David Goulet 2022-06-27 15:17:54 -04:00
  • d79814f1b1 hs: PoW extension encoding David Goulet 2022-06-27 14:04:06 -04:00
  • 5ef811b7d0 trunnel: INTRODUCE1 PoW cell extension David Goulet 2022-06-27 13:41:35 -04:00
  • 95445f49f1 ext: Add Equi-X library David Goulet 2022-06-27 14:46:21 -04:00
  • 9ee71eaf5a CID 1524707: Quiet coverity noise Mike Perry 2023-04-20 21:43:59 +00:00
  • bdf4fef2db CID 1524706: Remove dead assignment Mike Perry 2023-04-20 21:33:20 +00:00
  • 33c3059c82 Handle infinite loop with only one bridge (or snowflake). Mike Perry 2023-04-20 20:55:17 +00:00
  • 61aa4c3657 Actually count exits with conflux support, rather than relays. Mike Perry 2023-04-18 16:51:07 +00:00
  • 7415cdefff gitlab-ci: fix apt conf syntax for Acquire::Retries Hans-Christoph Steiner 2023-04-11 16:26:20 +02:00
  • 2bb8988629 Fix cases where edge connections can stall. David Goulet 2023-04-02 21:18:25 +00:00
  • 7c70f713c3 Avoid closing dirty circs with active half-edges Mike Perry 2023-03-23 20:52:13 +00:00
  • 731a50c8c4 Prop#329: Add conflux to build David Goulet 2023-02-01 22:31:12 +00:00
  • 8d4781e730 Prop#329 Tests: Add tests for the conflux pool Mike Perry 2023-02-15 19:47:52 +00:00
  • 39c2927d6f Prop#329 Pool: Handle pre-building and using conflux sets. David Goulet 2023-03-30 19:42:27 +00:00
  • 46e473f43e Prop#329 Pool: Avoid sharing Guards and Middles between circuits. Mike Perry 2023-02-03 02:11:10 +00:00
  • 336a24754d Prop#329 Pool: Handle linking, unlinking, and relaunching conflux circuit legs. David Goulet 2023-02-01 22:41:03 +00:00
  • 2f865b4bba Prop#329 streams: Handle stream usage with conflux Mike Perry 2023-04-02 21:06:20 +00:00
  • 21c861bfa3 Refactor stream blocking due to channel cell queues Mike Perry 2023-01-20 19:14:33 +00:00
  • a4ee0c29ee Prop#329: Add purposes for conflux circuits Mike Perry 2023-02-09 01:43:14 +00:00
  • cf715a56f1 Prop#329 sendme: Adjust sendme sending and tracking for conflux Mike Perry 2023-01-18 22:48:43 +00:00
  • b999051e44 Prop#329 OOM: Handle freeing conflux queues on OOM David Goulet 2023-03-03 14:28:18 -05:00
  • e0881a669a Prop#329 Algs: Conflux multiplexed cell sending decision algs Mike Perry 2023-01-24 23:05:17 +00:00
  • 2bd1eca78c Prop#329 Algs: Conflux multiplexed cell receive handling Mike Perry 2022-12-14 21:03:52 +00:00
  • a1794ef687 Prop#329 Headers: Header files for conflux Mike Perry 2022-12-14 21:03:32 +00:00
  • eac2bad86b Prop#329 params: Consensus parameter and torrc handling Mike Perry 2023-03-07 19:11:38 +00:00
  • 0d14d6b44a Prop#329 Tests: Add tests for conflux cells. David Goulet 2023-02-01 22:32:33 +00:00
  • 8b185b2ac3 Prop#329 Cells: Building and parsing parsing conflux commands David Goulet 2023-02-01 21:51:58 +00:00
  • 45432175fe trunnel: Add Conflux related cell definition David Goulet 2022-12-12 13:09:27 -05:00
  • a9fc6c937c protover: Support Relay=5 for Conflux (prop329) David Goulet 2022-11-30 13:48:53 -05:00
  • 738785ead8 Test both \r and \r\n with the expected failure conditions added Saksham Mittal 2023-03-31 11:04:18 +05:30
  • c5889d3f15 Test \r more effectively using 2 lines Saksham Mittal 2023-03-27 20:22:24 +05:30
  • 0c634999c1 don't emit key expiration metric instead of setting it to zero trinity-1686a 2023-03-19 10:31:28 +01:00
  • bbb3396d79 Add test for \r in directory parsing Saksham Mittal 2023-03-19 08:27:42 +05:30
  • aef76beccc Merge branch 'maint-0.4.7' into release-0.4.7 David Goulet 2023-03-15 11:14:02 -04:00
  • 447775a5e0 Merge branch 'maint-0.4.7' David Goulet 2023-03-15 11:14:02 -04:00
  • 33d5a7da9e gitignore: Add tags file from ctags David Goulet 2023-03-15 11:13:43 -04:00
  • 59456cb3cf Merge branch 'tor-gitlab/mr/700' David Goulet 2023-03-13 11:22:31 -04:00
  • 1a60fa547f metrics: Add HS service side circuit build time metrics. Gabriela Moldovan 2023-03-08 17:52:20 +00:00
  • d1264d11c3 metrics: Add support for histograms. Gabriela Moldovan 2023-03-08 17:51:58 +00:00
  • 8f50f490a6 Update 3 files nonameformee 2023-03-12 11:40:52 +00:00
  • 3fa08dc9a7 Merge branch 'tor-gitlab/mr/697' David Goulet 2023-03-07 09:49:53 -05:00
  • 16c6788fbc metrics: Add a reason label to the HS error metrics. Gabriela Moldovan 2023-02-15 14:52:35 +00:00
  • 85f5318f7f Merge branch 'tor-gitlab/mr/696' David Goulet 2023-03-07 08:52:34 -05:00
  • 322c1ed8fb Merge branch 'maint-0.4.7' into release-0.4.7 David Goulet 2023-03-07 08:39:48 -05:00
  • 73eab76e6d Merge branch 'maint-0.4.7' David Goulet 2023-03-07 08:39:48 -05:00
  • 0222fc4d71 add new metrics entry for cert expiration trinity-1686a 2023-03-05 19:43:09 +01:00
  • 119b84c365 scripts: Bye bye 0.4.5, you have reached end of life David Goulet 2023-02-16 15:25:16 -05:00
  • db4c4d656a metrics: Add metrics for rendezvous and introduction request failures. Gabriela Moldovan 2023-02-10 12:20:23 +00:00
  • c71f31dccc Reworded OpenSSL bug 7712 detection warning to avoid OpenSSL 1.1.1b detection false positive. Richard Pospesel 2023-02-16 13:27:30 +00:00
  • 36612b9bf8 vote AuthDirMaxServersPerAddr in consensus params Roger Dingledine 2023-02-12 15:50:55 -05:00