9seconds
03d98ee256
Add relay test for timeout
2021-04-01 11:29:01 +03:00
9seconds
dc28677086
Fix lint
2021-04-01 11:20:24 +03:00
9seconds
54f4b397b6
Add tests for relay conn
2021-04-01 11:17:45 +03:00
9seconds
96bcb6cd8e
Add tests for welcome packet
2021-04-01 11:03:42 +03:00
9seconds
491b674e70
Add tests for client hello
2021-03-31 12:24:04 +03:00
9seconds
fdbee86d5e
Ignore coverge.txt
2021-03-30 18:14:28 +03:00
9seconds
5b0d54e74d
Add prefix for codecov
2021-03-30 18:10:02 +03:00
9seconds
64754d1039
Add tests for faketls record
2021-03-30 17:47:20 +03:00
9seconds
23c42def4f
Add test for faketls type and version
2021-03-30 16:45:07 +03:00
9seconds
87a720dd58
Do not use ristretto
...
Memory usage is too big
2021-03-30 16:34:16 +03:00
9seconds
10b78322a3
Implement caching dns resolver
2021-03-30 14:14:37 +03:00
9seconds
841a4d2227
Get rid of unrequired buffering for tls records
2021-03-29 18:56:08 +03:00
9seconds
3cacd74e12
Correctly reset relay state
2021-03-29 14:36:02 +03:00
9seconds
71d4c6c42f
Set worker pool to non-blocking mode
2021-03-29 12:12:23 +03:00
9seconds
75b05b9b14
Add public method DomainFrontingAddress
2021-03-29 12:09:23 +03:00
9seconds
daa8b9c798
Add EventReplayAttack
2021-03-29 12:07:18 +03:00
9seconds
bef14bd009
Add support of EventDomainFronting event
2021-03-29 11:56:05 +03:00
9seconds
36d695118e
Rename metrics
2021-03-29 11:03:54 +03:00
9seconds
4c3f42e264
Simplify relay
2021-03-29 10:37:09 +03:00
9seconds
3992054560
Correctly manage partial writes
2021-03-29 10:26:52 +03:00
9seconds
db8614999a
Rename EventTelegramTraffic back to EventTraffic
2021-03-28 21:43:25 +03:00
9seconds
bc2bd4510a
Rework stats
2021-03-27 22:04:30 +03:00
9seconds
5eca6ecb05
Validate hostname if it was found in SNI
2021-03-26 17:23:30 +03:00
9seconds
ce30e128e5
fixup address for dc 5
2021-03-26 16:37:59 +03:00
9seconds
dedd67780b
Notify that blocklist were updated
2021-03-26 16:31:42 +03:00
9seconds
d8d954bbe8
Set logging level
2021-03-26 15:35:31 +03:00
9seconds
bddf180575
Implement domain fronting
2021-03-26 14:45:00 +03:00
9seconds
9b78f766e8
fix lint issues
2021-03-26 14:17:33 +03:00
9seconds
e2e464d32c
Set random length of the tls packets
2021-03-26 14:12:05 +03:00
9seconds
40b483357f
Propagate network to proxy object
2021-03-26 14:11:56 +03:00
9seconds
f0efa4697e
Faketls works now
2021-03-26 12:15:26 +03:00
9seconds
6d92d5fe21
Fix lint issues
2021-03-25 17:40:38 +03:00
9seconds
c3e8e8b1fe
Add base faketls processing
2021-03-25 17:33:22 +03:00
9seconds
a444a10bd0
Rename client hello file
2021-03-25 16:44:36 +03:00
9seconds
d3551aa9cc
Move clienhello to faketls
2021-03-25 16:44:06 +03:00
9seconds
4a2d1df384
Can correctly accept faketls messages
2021-03-25 16:22:00 +03:00
9seconds
a3c64c1d1e
Fix lint issue
2021-03-25 09:35:23 +03:00
9seconds
bbe8f34e72
Correctly decrease a value for prometheus metrics
2021-03-24 21:08:32 +03:00
9seconds
02aa969d6c
Use dc indexes accordingly
2021-03-24 10:30:09 +03:00
9seconds
4da2a4f10f
Add comment for relay test
2021-03-24 10:18:25 +03:00
9seconds
336e825e3a
Add wg to observer
...
This is to ensure a case when we still can have observer hanging around
2021-03-24 10:16:54 +03:00
9seconds
b42e51e300
Small improvements
2021-03-24 10:12:22 +03:00
9seconds
6b1bfe7b17
Add primitive relay tests
2021-03-24 10:08:04 +03:00
9seconds
6219f4bd90
Fix detected race
2021-03-24 09:44:33 +03:00
9seconds
3076c52adb
Refactor snapshot files
2021-03-24 09:22:28 +03:00
9seconds
933855a233
Refactor server handshake test
2021-03-24 09:18:44 +03:00
9seconds
ea698259d5
Add raw version of server handshake test
2021-03-23 22:06:39 +03:00
9seconds
aefa003355
Add tests for events
2021-03-23 21:26:57 +03:00
9seconds
e3b7472239
Add test for handshake frame
2021-03-23 21:24:16 +03:00
9seconds
a3362c7ea4
Proxy is working in a simple mode now
2021-03-23 15:14:36 +03:00
9seconds
66c45dc83b
Add obfuscated2 server handshake
2021-03-23 10:27:22 +03:00
9seconds
f7c33ee333
Actually embedd connStandard into connEventTraffic
2021-03-22 18:41:54 +03:00
9seconds
42160a08fe
Add EventTraffic
2021-03-22 17:54:46 +03:00
9seconds
925a02dac3
Test telegram dc dialer
2021-03-22 14:53:26 +03:00
9seconds
7108fe99ec
Add implementation of telegram dialer
2021-03-22 12:30:23 +03:00
9seconds
69203f3e23
Add tests for obfuscated2 clientside
2021-03-22 11:34:32 +03:00
9seconds
4d2d21e101
Small refactorings
2021-03-21 21:19:26 +03:00
9seconds
8de727932d
Unpool handshake
...
Anyway, we are going to use stack here, no need for connection pooling.
Even arrays are allocaed on a stack because we do not use slices here
but real ones.
2021-03-18 22:06:52 +03:00
9seconds
188fa6a04a
Remove redundand utils file
2021-03-18 17:50:54 +03:00
9seconds
0330a0e5cd
Fixes for obfuscated2
2021-03-18 17:15:55 +03:00
9seconds
0ad2d61742
Move config path cli parameter to base
2021-03-18 15:20:54 +03:00
9seconds
f155b9f37e
Rename frame to handshake frame
2021-03-18 15:01:50 +03:00
9seconds
3a44bcb854
Introduce pools to obfuscated2
2021-03-18 15:01:22 +03:00
9seconds
58335b3e59
Support obfuscated2
2021-03-18 13:42:14 +03:00
9seconds
657a74a5c2
Add defaults for proxy opts
2021-03-18 11:16:08 +03:00
9seconds
f3112d4ba6
Add timeattack detector
2021-03-18 11:07:51 +03:00
9seconds
172b596cf1
Intergrate custom logger where applicable
2021-03-18 10:37:58 +03:00
9seconds
b258581f47
Add Printf method to logger
2021-03-18 10:15:22 +03:00
9seconds
60d5b3cadd
Pass new options to proxy opts
2021-03-18 10:03:13 +03:00
9seconds
f21ee40baf
Remove idle timeout from network
2021-03-17 22:08:47 +03:00
9seconds
adf4ab1a35
Revert "Add new TCPBufferSize parameter to network"
...
This reverts commit 57cb1b5aa0 .
2021-03-17 22:03:36 +03:00
9seconds
83eeedc008
Add cloakport and prefer ip parameters to proxyopts
2021-03-17 21:47:13 +03:00
9seconds
57cb1b5aa0
Add new TCPBufferSize parameter to network
2021-03-17 21:44:42 +03:00
9seconds
5e31b95bb5
Add timestamp to EventConcurrencyLimited
2021-03-17 21:24:55 +03:00
9seconds
80a1de60e6
Always close connection on context finished
2021-03-17 21:24:42 +03:00
9seconds
2408f1530f
Add EventIPBlocklisted
2021-03-17 21:24:24 +03:00
9seconds
23519913f2
Add skeleton of the proxy
2021-03-17 16:13:31 +03:00
9seconds
7955ac6a46
Add tests for events
2021-03-17 13:44:27 +03:00
9seconds
dbbfdaf918
Add prometheus
2021-03-17 12:01:28 +03:00
9seconds
8e7207d975
Add statsd
2021-03-17 11:07:16 +03:00
9seconds
c04f9e392a
Small improvements for config parsing
2021-03-16 17:28:52 +03:00
9seconds
46bd617581
Add tags for statsd in config
2021-03-16 17:28:06 +03:00
9seconds
7617aeadda
Test event stream
2021-03-16 14:54:17 +03:00
9seconds
e009d05a90
Add tests for noop event stream
2021-03-16 11:38:29 +03:00
9seconds
f0063ba089
Add observer mock
2021-03-16 10:51:43 +03:00
9seconds
b08d945d7c
Add event stream module
2021-03-15 21:34:53 +03:00
9seconds
abff0cf211
Run ci tests in parallel
2021-03-15 16:22:01 +03:00
9seconds
f52b3391d1
Add firehol blocklist
2021-03-15 16:21:07 +03:00
9seconds
cae33a22e6
Make stable bloom filter threadsafe
2021-03-15 10:53:29 +03:00
9seconds
3dc263d6d7
Add antireplay cache mock
2021-03-15 10:52:14 +03:00
9seconds
8eb5fed92f
Rename network_mock to mtglib_netwock_mock
2021-03-15 10:45:01 +03:00
9seconds
ab1b3b4863
Add antireplay cache
2021-03-15 10:43:32 +03:00
9seconds
ab585fd699
Add zerolog implementation
2021-03-14 22:25:33 +03:00
9seconds
91a1ee956c
Add noop logger
2021-03-14 21:51:14 +03:00
9seconds
f8ad90c845
Refactor network to a top-level module
2021-03-14 21:43:30 +03:00
9seconds
37a78bd1c3
More reasonable cli for access
2021-03-13 21:30:57 +03:00
9seconds
18e3ca77de
Fix lint issues
2021-03-12 21:59:05 +03:00
9seconds
185baf6bc9
Add tests for access command
2021-03-12 21:57:53 +03:00
9seconds
546a5849f3
Add test for generate-secret command
2021-03-12 20:07:18 +03:00
9seconds
2cc81219b1
Use HTTP timeout from config
2021-03-12 17:00:52 +03:00