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
9seconds
1f862027af
Add blocklist to config
2021-03-12 16:53:15 +03:00
9seconds
02643fb6bb
Add concurrency parameter
2021-03-12 16:21:52 +03:00
9seconds
e167b85d3b
Add HTTP timeout
2021-03-12 16:19:52 +03:00
9seconds
c0b6124d94
Add tests for configuration parsing
2021-03-12 15:34:32 +03:00
9seconds
113b5ecbe0
Add tests for config type ip
2021-03-12 15:08:36 +03:00
9seconds
4daf927a72
Add method for validation of the secret
2021-03-12 14:40:07 +03:00
9seconds
1218f18af9
Add tests for config type port
2021-03-12 14:23:06 +03:00
9seconds
7ca143d352
Add tests for config type url
2021-03-12 12:16:35 +03:00
9seconds
428010880e
Add tests for prefer ip config type
2021-03-12 10:28:08 +03:00
9seconds
dc81740bda
Add tests for hostport type
2021-03-12 09:53:43 +03:00
9seconds
f7dc54b652
Add tests for config type http path
2021-03-11 22:07:01 +03:00
9seconds
c0ab254acf
Minor formatting issues
2021-03-11 21:50:47 +03:00
9seconds
5c4536c591
Add tests for config error rate type
2021-03-11 21:30:43 +03:00
9seconds
d48e82be7c
Add tests for duration config type
2021-03-11 17:24:57 +03:00
9seconds
bc4b14c83d
Add tests for type bytes
2021-03-11 16:33:29 +03:00
9seconds
6b9b437a5a
Correct usage of ifconfig.co
2021-03-11 06:27:39 +03:00
9seconds
d6566e5dfb
Change network to accept DialFunc
2021-03-11 06:08:15 +03:00
9seconds
6b28488fbd
Move cli to separate package
2021-03-11 05:50:04 +03:00
9seconds
1a02511afe
Move config into separate package
2021-03-11 05:37:18 +03:00
9seconds
757ea5b63c
Add PatchHTTPClient method
...
This method is mostly required for testing
2021-03-11 05:01:26 +03:00
9seconds
24add0dce4
Make network as a separae interface
2021-03-11 04:57:07 +03:00
9seconds
299c6478c2
Create base structure to allow patching
2021-03-10 21:59:01 +03:00
9seconds
ddd3d608fa
Add tests for secret
2021-03-10 21:39:46 +03:00
9seconds
d5b0a47d52
Fix race detector tests
2021-03-10 18:34:08 +03:00
9seconds
ca0a550f12
Use array of fixed length for secret
2021-03-10 18:26:36 +03:00
9seconds
94084674c0
Use custom cli classes
2021-03-10 18:08:25 +03:00
9seconds
9aa56191f9
Linting
2021-03-10 17:18:53 +03:00
9seconds
a34949f15c
Rename secret ee to hex
2021-03-10 17:03:56 +03:00
9seconds
cbcc113e41
Add cli command for access
2021-03-10 16:59:19 +03:00
9seconds
6f0b0e0c32
Add command for generating secrets
2021-03-10 15:59:48 +03:00
9seconds
098a9c411a
Marshalling of config to string
2021-03-10 15:28:06 +03:00
9seconds
d1dd56550f
Add correct configuration
2021-03-10 14:42:24 +03:00
9seconds
59f328b804
Validate config
2021-03-10 12:29:13 +03:00
9seconds
783c49db37
Correct secret parsing
2021-03-10 12:26:07 +03:00
9seconds
015f02c077
Cleanups of secret module
2021-03-10 11:48:44 +03:00
9seconds
e0833e86d9
Update configuration file with proxies specification
2021-03-10 11:12:10 +03:00
9seconds
f89f5f8469
Remove access-file
2021-03-10 11:03:23 +03:00
9seconds
0395ce8d1a
Fix lint issues
2021-03-10 10:45:32 +03:00
9seconds
ef87d031ed
Add gofumpt as formatter
2021-03-10 10:35:17 +03:00
9seconds
ba875da9b5
Make tests for load balanced client
2021-03-10 10:25:24 +03:00
9seconds
8f7e79862b
Add tests for proxy dialers
2021-03-09 21:36:40 +03:00
9seconds
9124ffabf1
Rename load balanced dialer to loadBalancedSocks5Dialer
2021-03-09 18:23:39 +03:00
9seconds
c8914f90db
Add tests for circuit breaker
2021-03-09 18:21:43 +03:00
9seconds
7c43a4b0b7
Add tests for circuit breaker
2021-03-09 18:20:21 +03:00
9seconds
e386ae0daf
Move proxy consts into init file
2021-03-09 12:00:06 +03:00
9seconds
b5346668f8
Add mock for net conn
2021-03-09 11:58:06 +03:00
9seconds
7002e4cd09
Add load balancing network dialer
2021-03-09 11:52:13 +03:00
9seconds
ecfd550a95
Change signature of socks5 dialer
2021-03-05 18:26:13 +03:00
9seconds
5b46152945
Remove shadowsocks dependency
2021-03-05 18:16:24 +03:00
9seconds
88e076a283
Add tests for socks dialer
2021-03-05 17:36:21 +03:00
9seconds
0ed7e10379
Add test for default dialer
2021-03-05 17:11:54 +03:00
9seconds
21ee1e2c6c
Liniting for network
2021-03-05 16:39:09 +03:00