Commit Graph
174 Commits
Author SHA1 Message Date
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 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 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 b08d945d7c Add event stream module 2021-03-15 21:34:53 +03:00
9seconds f52b3391d1 Add firehol blocklist 2021-03-15 16:21:07 +03:00
9seconds ab1b3b4863 Add antireplay cache 2021-03-15 10:43:32 +03:00
9seconds f8ad90c845 Refactor network to a top-level module 2021-03-14 21:43:30 +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 4daf927a72 Add method for validation of the secret 2021-03-12 14:40:07 +03:00
9seconds c0ab254acf Minor formatting issues 2021-03-11 21:50:47 +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 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 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