9seconds
784a5818c8
Cover last case in secret
2021-04-02 11:49:07 +03:00
9seconds
75b95995a9
Add tests for stream context
2021-04-02 11:39:18 +03:00
9seconds
5941f0674a
Enforce code coverage of secret
2021-04-02 11:03:35 +03:00
9seconds
155a97c25d
Add test for network
2021-04-02 10:34:30 +03:00
9seconds
1fd0ebea9b
Add unmarshal nil for type url
2021-04-01 21:33:14 +03:00
9seconds
988f61718c
Add unmarshal nil for typestatsdtagsformat
2021-04-01 21:29:48 +03:00
9seconds
3d9a63a1f0
Add unmarshal nil test for prefer ip
2021-04-01 21:20:35 +03:00
9seconds
6c92ec314d
Test unmarshal nil for port
2021-04-01 21:14:51 +03:00
9seconds
132a01c27e
Correct float test for error rate
2021-04-01 17:28:45 +03:00
9seconds
b91f28d7d9
Add test for nil for metric prefix
2021-04-01 17:25:49 +03:00
9seconds
339840c14a
Add test for broken uri
2021-04-01 17:21:38 +03:00
9seconds
a368975959
Add missed case for ip
2021-04-01 17:19:41 +03:00
9seconds
102e7610be
Add missed case for error rate test
2021-04-01 16:58:34 +03:00
9seconds
e78c4d3bde
Test unmarshal nil for type duration
2021-04-01 16:56:07 +03:00
9seconds
1925efc2ec
Test unmarshal nil for type bytes
2021-04-01 16:54:00 +03:00
9seconds
9562a86038
Update test coverage for typeblocklisturi
2021-04-01 16:51:38 +03:00
9seconds
21d4f3d101
Add string test for config
2021-04-01 16:51:24 +03:00
9seconds
38ff62fddc
Add tests for faketls conn
2021-04-01 16:08:59 +03:00
9seconds
26070d5b3e
More correct calculation of dc for obfuscated2 frame
2021-04-01 14:19:52 +03:00
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