REPOSITORY / ScuroNeko/mtg

Commits

COMMITS REPOSITORY
Commit Graph
100 Commits
Author SHA1 Message Date
9seconds 7a99a4ec32 Correct list of supported platforms on cross compilation 2018-07-09 18:51:47 +03:00
9seconds c74d4d65db Put timeouts for 2 minutes stale connections 2018-07-09 16:41:18 +03:00
9seconds ce8168bc28 Fix small lint problem 2018-07-09 16:35:50 +03:00
9seconds 0a3dca90d2 Update README 2018-07-09 16:31:49 +03:00
9seconds 29b5130c95 Fix lint errors 2018-07-09 16:11:05 +03:00
9seconds fb00cd1121 Set buffer sizes to sockets 2018-07-09 13:01:21 +03:00
9seconds 2a6cc7e195 Unpublic stats chans 2018-07-09 11:57:23 +03:00
9seconds 7468aec8a3 Do not use atomic if not necessary 2018-07-09 11:55:45 +03:00
9seconds 1aa8cfe036 Stats callbacks 2018-07-09 11:44:42 +03:00
9seconds 045d417ece Add logging to stats 2018-07-09 11:34:48 +03:00
9seconds c66e300425 Stats management utilities 2018-07-09 11:29:47 +03:00
9seconds ff4be53d94 Add base stats 2018-07-09 09:14:11 +03:00
9seconds 71614ee615 Set correct simple ack 2018-07-09 07:49:28 +03:00
9seconds 6ea4f3dbc2 Log proxt req header flags 2018-07-08 18:43:27 +03:00
9seconds 8b178e2340 Grow correct buffer size 2018-07-08 18:20:21 +03:00
9seconds 35b38fe55c Debug ping 2018-07-08 18:11:23 +03:00
9seconds a99c5b2442 Defer counters 2018-07-08 17:56:44 +03:00
9seconds 474fb8a294 More logging 2018-07-08 13:24:48 +03:00
9seconds 76e88edac3 Send correct proxy header 2018-07-08 13:19:16 +03:00
9seconds 6adc592490 Add logging for proxy tags 2018-07-08 12:37:43 +03:00
9seconds 67151746b0 Rework logging 2018-07-08 12:29:04 +03:00
9seconds 1fe3319988 Remove contexts 2018-07-08 12:10:27 +03:00
9seconds 4fc6b07448 Fix logging 2018-07-08 08:30:08 +03:00
9seconds 388f7a23d3 Remove wrap prefix 2018-07-08 08:16:21 +03:00
9seconds a0ba89b105 Rework for simplier proxy 2018-07-08 08:04:29 +03:00
9seconds cd63483503 Debug direct connection 2018-07-07 20:45:10 +03:00
9seconds f82ff1f6fe Refactored all the things! 2018-07-07 20:18:16 +03:00
9seconds 4262e5f5de Move all wrappers 2018-07-07 18:05:24 +03:00
9seconds a7d46727ba Move intermediate 2018-07-07 17:40:21 +03:00
9seconds 1d93bef913 Move frame wrapper 2018-07-07 17:18:42 +03:00
9seconds 41b2b1c819 Start to rewrite 2018-07-07 16:50:29 +03:00
9seconds a3933e6ede Preliminary debug state 2018-07-06 17:29:24 +03:00
9seconds 88faeb7195 Proxy is working but unstable 2018-07-06 10:21:04 +03:00
9seconds 5413a5b090 Fix infinite hangs 2018-07-05 20:46:44 +03:00
9seconds 53ef81a4fc Use the same protocol as client 2018-07-05 17:10:49 +03:00
9seconds 154ff70bf7 Small changes for abridged/intermediate 2018-07-05 16:37:25 +03:00
9seconds 4210cf014e Bugfix proxy request handler 2018-07-05 14:59:33 +03:00
9seconds 4ed877efbc Fix cyrpt test 2018-07-05 11:25:43 +03:00
9seconds d3e685de97 Remove borsh borsh new borsch 2018-07-05 11:16:53 +03:00
9seconds 7b43766a08 More optimal byte reversing 2018-07-05 10:58:58 +03:00
9seconds 8ce97f96c5 Remove redundant keepalive 2018-07-05 10:37:58 +03:00
9seconds 0738631ef8 Small refactorings of rpc package 2018-07-05 10:37:05 +03:00
9seconds a7eb29cc94 Propagate to middle client 2018-07-05 10:04:18 +03:00
9seconds d636010377 Add intermediate rwc 2018-07-05 09:51:39 +03:00
9seconds 4264fdadf8 Add abridged rwc 2018-07-05 09:23:30 +03:00
9seconds 1894aa7989 Refactorings of rpc 2018-07-04 18:25:15 +03:00
9seconds c35c482de7 Propagate adtag 2018-07-04 18:08:04 +03:00
9seconds 69c4997fd4 Add proxy request wrapper 2018-07-04 17:38:27 +03:00
9seconds a274493e3b Fix rpc proxy request 2018-07-04 12:57:13 +03:00
9seconds 90c10519ee Bugfix rpc handshake 2018-07-04 11:28:08 +03:00
9seconds ffa7ef7a0a Make crypt testable 2018-07-03 18:25:54 +03:00
9seconds 4c4671ad3b Bugfix framerwc 2018-07-03 14:08:01 +03:00
9seconds daddf50390 Minor cleanups 2018-07-03 10:41:10 +03:00
9seconds 812b5e6e0b Correct encryptor/decryptor 2018-07-03 10:33:05 +03:00
9seconds 586ffab01b Add buffered reader 2018-07-03 10:10:00 +03:00
9seconds 5f54a235d2 Add base of rpc handshake 2018-07-02 17:51:19 +03:00
9seconds 6db04980ff Now it is a time to start to make a handshake 2018-07-02 16:28:20 +03:00
9seconds 9f746aa699 Propagate client addr with connection options 2018-07-02 16:14:11 +03:00
9seconds 09476cc467 Change rwc to rwc with addresses 2018-07-02 16:12:31 +03:00
9seconds 6fa5f31ca8 Remove mtproto pool 2018-07-02 15:44:52 +03:00
9seconds 5ea0c4f7bf Add middleproxycipher 2018-07-02 13:56:19 +03:00
9seconds 420159a7d3 Add framerwc 2018-07-02 11:43:11 +03:00
9seconds 2c387cc213 Add bytesrwc 2018-07-02 10:33:25 +03:00
9seconds b74cc8d3ea Add blockcipherrwc 2018-07-02 10:20:48 +03:00
9seconds 96bb6fbe98 Add rpc proxy request 2018-07-02 09:15:03 +03:00
9seconds 0e2898f6be Return back timeoutrwc 2018-07-02 08:09:22 +03:00
9seconds 5e82dce22e Add rpc proxy flags 2018-07-01 13:17:03 +03:00
9seconds b9ee1e1857 Add rpc request/response for handshake 2018-07-01 12:36:30 +03:00
9seconds 6253648356 Remove frame pool for obfuscated2 frames 2018-07-01 12:01:56 +03:00
9seconds 9f90f87758 Add RPC structs for nonce 2018-07-01 11:41:10 +03:00
9seconds f9a2b0513d Propagate connection protocol 2018-07-01 10:27:36 +03:00
9seconds 67c1194d5b Add telegram caller struct 2018-06-24 20:43:04 +03:00
9seconds 7e340bb2ac Fix readme for secret generation 2018-06-24 17:38:35 +03:00
9seconds 3dd6de8cea Tune socket options 2018-06-24 17:16:11 +03:00
9seconds adc7c1b7b6 Setup rlimits for application 2018-06-22 09:30:27 +03:00
9seconds 588475268a Support different client connection types 2018-06-21 09:14:00 +03:00
9seconds ec548e5779 Check secret length in mtg 2018-06-20 15:20:59 +03:00
9seconds 0a924018e5 Correct math/rand seed initialization 2018-06-20 09:41:24 +03:00
9seconds 4178ffe44b Fix run-mtg 2018-06-20 09:36:06 +03:00
9seconds 2c938d2848 Reuse buffers on socket pumping 2018-06-20 09:33:57 +03:00
9seconds c76d8307c2 Use pool for frames 2018-06-20 09:19:27 +03:00
9seconds 9ddf3e147c Use bytes.Buffer pools for wrappers 2018-06-20 08:24:17 +03:00
9seconds a2d0210780 Mention run-mtg script 2018-06-19 11:25:58 +03:00
9seconds 9be13fe093 Add run-mtg script 2018-06-19 11:15:16 +03:00
9seconds 1ab5139705 Make README more friendly 2018-06-19 10:55:44 +03:00
9seconds 0e7521b7e4 Use upx for image build 2018-06-19 10:39:20 +03:00
9seconds 8d6c038ccf Fix dockerfile 2018-06-19 10:26:54 +03:00
9seconds b0292e4ed9 Fix linters 2018-06-19 10:22:31 +03:00
9seconds daca606058 Add client package 2018-06-19 10:14:24 +03:00
9seconds 5a169b5026 Move telegram to separate module 2018-06-19 08:56:12 +03:00
9seconds dd7a095947 Fix lint errors 2018-06-18 09:01:39 +03:00
9seconds 86e3be475a Introduce explicit config 2018-06-17 12:25:51 +03:00
9seconds 336730b919 Add rwc for block cipher mode 2018-06-05 13:10:26 +03:00
9seconds 7f01c03cb7 Refactor trafficrwc to wrappers 2018-06-05 10:56:14 +03:00
9seconds c92a4b8c68 Refactor timeoutrwc to wrappers 2018-06-05 10:54:42 +03:00
9seconds 26020fcd0c Refactor logrwc to wrappers 2018-06-05 10:52:50 +03:00
9seconds 65f8e2ac30 Refactor ctxrw to wrappers 2018-06-05 10:50:57 +03:00
9seconds 4486fbb8f4 Refactor cipherrwc to wrappers 2018-06-05 10:48:48 +03:00
9seconds f962d9c6b4 Update README 2018-05-31 14:04:04 +03:00
9seconds 873c828b5c Update README 2018-05-31 11:04:55 +03:00