Commit Graph

59 Commits

Author SHA1 Message Date
Tomas Martykan
f4b8c913a0 fix(request-manager): options may be undefined in interceptor 2025-01-30 21:31:08 +01:00
yanas
b96c899ebb chore(packages): autofix for sort-imports eslint rule 2025-01-30 16:34:04 +01:00
Carlos Garcia Ortiz karliatto
9ef2793650 feat(request-manager): support proxy for nodejs fetch 2025-01-23 18:18:13 +01:00
Peter Sanderson
3fe7b9bd57 feat: implement request blocking based on whitelist for the main process of the electrum 2025-01-21 10:13:20 +01:00
Peter Sanderson
dff2584778 chore: code-split of the long (interceptor.ts) file into smaller pieces 2025-01-10 11:24:15 +01:00
Peter Sanderson
9100c99e7a chore: rename interceptor whitelist option to prevent confusion 2025-01-10 11:24:15 +01:00
Carlos Garcia Ortiz karliatto
f73521e750 feat(request-manager): add updatePort method 2025-01-06 13:32:25 +01:00
Carlos Garcia Ortiz karliatto
1b192a582f chore(request-manager): remove snowflake direct support 2024-12-16 18:37:07 +01:00
Carlos Garcia Ortiz karliatto
ba6e82d8fc feat(request-manager): support external Tor 2024-12-16 18:37:07 +01:00
Peter Sanderson
763f9b5fd4 chore: reintroduce no-shadow in minimal form 2024-11-13 19:36:56 +01:00
Peter Sanderson
1ad7b6f9b1 chore: get rid of '@typescript-eslint/no-unused-vars': 'off', and enforce it everywhere 2024-11-06 19:59:37 +01:00
Peter Sanderson
e22b683733 chore: enable import/order rule for whole codebase 2024-11-06 18:20:26 +01:00
Carlos Garcia Ortiz karliatto
881e1d677e chore(request-manager): update SocksProxyAgent to new API 2024-10-17 12:20:27 +02:00
Carlos Garcia Ortiz karliatto
38285d05c2 feat(request-manager): check if snowflake binary exists before using it 2024-08-03 07:46:17 +02:00
Carlos Garcia Ortiz karliatto
4ce59ce188 feat(request-manager): support for snowflake Tor pluggable transport 2024-08-03 07:46:17 +02:00
Peter Sanderson
c82455e746 chore(suite): autofix newlines 2024-02-20 14:54:29 +01:00
Marek Polak
6fb2964a77 feat(request-manager): reset identity on password change 2023-07-26 13:21:18 +02:00
Szymon Lesisz
1862037749 fix(request-manager): handle control port sendCommand errors 2023-07-17 14:11:51 +02:00
Szymon Lesisz
8f62ff0946 feat(request-manager): intercept and clear headers added by node-fetch 2023-07-11 13:56:56 +02:00
Szymon Lesisz
952db5cf6a feat(request-manager): handle CIRCUIT_MISBEHAVING event 2023-06-30 19:36:01 +02:00
Szymon Lesisz
d8ead9535d feat(request-manager): close TOR circuits using control port 2023-06-30 19:36:01 +02:00
Szymon Lesisz
965adf5fb6 fix(request-manager): interceptNetSocketConnect + interceptNetConnect details 2023-06-21 14:27:08 +02:00
Szymon Lesisz
b5714b0a4f refactor(request-manager): simplification of RequestPool 2023-06-21 14:27:08 +02:00
Marek Polak
01efb0f4e1 refactor(request-manager): controller separation 2023-05-02 19:53:54 +02:00
Szymon Lesisz
d36bdc2ef3 feat(request-manager): configurable whitelisted hosts in request interceptor 2023-04-14 10:23:53 +02:00
Marek Polak
8928e842ea fix(request-manager): explicitly set agent protocol 2023-03-01 14:54:44 +01:00
Marek Polák
66dbccf7ab Fix WS intercepting when Suite starts with Tor off (#7707)
* fix(request-manager): fix websockets with Tor off

* fixup! fix(request-manager): fix websockets with Tor off

---------

Co-authored-by: Szymon Lesisz <sz.lesisz@gmail.com>
2023-02-27 08:17:58 +00:00
Bohdan Juříček
0aab3c6447 feat(suite-common): move analytics to common (#7622)
* feat(suite-common):analytics

* chore(suite-common): add tests for analytics

* fix(suite-common): formatting

* fix(suite-common): analytics reducer, types

* fix(suite-native): reducers inits

* fix(suite-native): deps

* fix(suite-native): thunks types

* fix(suite-native): remove empty string type

* fix(suite-common): fix default env
2023-02-23 12:10:40 +00:00
Szymon Lesisz
83c5815cae feat(request-manager): intercept WebSocket handshake
and create random identity for each WebSocket connection
2023-02-22 14:05:23 +01:00
Carlos Garcia Ortiz karliatto
1715c7a70a fix(request-manager): Tor bootstrap starts with fist event received 2023-01-29 19:09:19 +01:00
Carlos Garcia Ortiz karliatto
799751687e fix: 30 sec for timeout tor is slow 2023-01-26 12:56:39 +01:00
Carlos Garcia Ortiz karliatto
57e2343a8d feat(request-manager): manage all Tor statuses 2023-01-12 17:07:06 +01:00
Carlos Garcia Ortiz karliatto
2107670fa9 feat(request-manager): httpPool to intercept http responses 2023-01-12 17:07:06 +01:00
Szymon Lesisz
bf642b35f8 fix(request-manager): use timeout in SocksProxyAgent 2022-12-14 08:31:08 +01:00
Szymon Lesisz
f6f85bedf9 feat(request-manager): reset TOR circuit using Proxy-Authorization password 2022-11-14 18:23:12 +01:00
Szymon Lesisz
01710d6659 chore(request-manager): block requests with Proxy-Authorization header when TOR is disabled 2022-11-14 18:23:12 +01:00
Carlos Garcia Ortiz karliatto
264d2615d5 feat(request-manager): Tor config for lasting circuits 2022-11-10 16:43:35 +01:00
Carlos Garcia Ortiz karliatto
95e29fdcb0 fix(request-manager): localhost connection without proxy 2022-10-26 11:46:41 +02:00
Carlos Garcia Ortiz karliatto
c7dc57fb10 fix(request-manager): allow Tor wait until alive after success one 2022-10-04 13:20:26 +02:00
Carlos Garcia Ortiz karliatto
bb1d275e06 fix: add explicit Tor DataDirectory 2022-09-27 09:54:43 +02:00
Carlos Garcia Ortiz karliatto
3a9328d8be fix(request-manager): from User-Agent to Proxy-Authorization 2022-09-19 13:11:19 +02:00
Carlos Garcia Ortiz karliatto
ec72016e70 test: integration tests for tor identities 2022-09-09 16:08:11 +02:00
Carlos Garcia Ortiz karliatto
7828b61539 feat: tor identities manager 2022-09-09 16:08:11 +02:00
Carlos Garcia Ortiz karliatto
e68c061ad5 feat: increase timeout for Tor initial ~ 200 seconds 2022-09-08 20:46:50 +02:00
Marek Polak
6eb9ae6edf fix(request-manager): properly pass all parameters 2022-09-08 15:20:51 +02:00
Carlos Garcia Ortiz karliatto
6c4803d8a4 feat: intercept requests from nodejs main process 2022-08-22 15:35:01 +02:00
Carlos Garcia Ortiz karliatto
5c385c1d76 feat: Tor configuration from request-manager 2022-08-19 14:03:30 +02:00
Carlos Garcia Ortiz karliatto
2fdb6b10f1 fix(request-manager): make socket close when error 2022-08-08 16:32:24 +02:00
Carlos Garcia Ortiz karliatto
c90979b0d5 feat: when starting app tor splashscreen 2022-08-08 16:32:24 +02:00
Carlos Garcia Ortiz karliatto
7aa86c1201 feat(request-manager): allow stop while loading 2022-08-08 16:32:24 +02:00