9seconds
0ce0c668b9
Fix broken whitelists
2022-03-11 10:50:15 +03:00
9seconds
4c543aaea2
Merge remote-tracking branch 'origin/stable'
2021-12-03 09:36:47 +03:00
9seconds
fee133a62f
Merge remote-tracking branch 'origin/master' into stable
2021-12-03 09:28:40 +03:00
9seconds
7d38fec74e
Update dependencies
2021-12-03 09:28:05 +03:00
9seconds
15bb5be6c4
Update go mod tidy command
2021-12-03 09:27:58 +03:00
9seconds
ad8c09a2a3
Fix gofumpt cli
2021-12-03 09:26:31 +03:00
9seconds
93bed24a0b
Remove all cleverness that broke uploads
2021-12-03 07:39:45 +03:00
9seconds
219235e181
Merge remote-tracking branch 'origin/stable'
2021-12-02 07:29:59 +03:00
9seconds
79f54a4e67
Merge remote-tracking branch 'origin/master' into stable
2021-12-02 07:08:30 +03:00
9seconds
4b78e83be7
Update dependencies
2021-12-02 06:55:14 +03:00
9seconds
ecf947b86c
Ignore noisy linters
2021-12-02 06:51:09 +03:00
9seconds
5be581154e
Update golangci-lint to 1.43.0
2021-12-02 06:03:45 +03:00
9seconds
bc3b517e8b
Remove redundant setting of TCP keepalive since it is default
2021-12-02 05:47:45 +03:00
9seconds
ef55fbba15
Add documentation for essentials
2021-12-01 14:56:39 +03:00
9seconds
e7416bc04d
Fix lint issues
2021-12-01 11:07:32 +03:00
9seconds
9a6264a89f
Tidy deps
2021-12-01 10:52:08 +03:00
9seconds
33e0509c5a
Optimize for a fast flush
2021-12-01 10:51:13 +03:00
9seconds
ffad717829
Use CloseRead and CloseWrites
2021-12-01 10:37:31 +03:00
9seconds
7b1f86b75d
wip
2021-11-30 15:19:37 +03:00
9seconds
a5e59d9ef7
Add syncPair
2021-11-30 14:37:25 +03:00
9seconds
0ddaabb136
Add whitelist support
2021-11-29 17:02:53 +03:00
9seconds
558fec60de
Refactor firehol
2021-11-29 16:25:33 +03:00
9seconds
cc101c9a47
Rename rwMutex to updateMutex
2021-11-29 15:58:14 +03:00
9seconds
e6fa69d288
Add tests for HTTP file abstraction
2021-11-29 15:56:53 +03:00
9seconds
c14a2329c5
Add local file abstraction
2021-11-29 07:26:27 +03:00
9seconds
4c75066ef8
Update configuration
2021-11-29 05:35:37 +03:00
9seconds
ce8163d1b7
Minor simplification
2021-11-28 18:45:24 +03:00
9seconds
ca77157fd5
Deprecate and ignore simple-run setting for tcp-buffer
2021-11-28 18:15:05 +03:00
9seconds
66f4d967e7
Get rid of buffersize everywhere
2021-11-28 18:08:40 +03:00
9seconds
d19cfb1df4
Deprecate bufferSize
2021-11-28 17:58:14 +03:00
9seconds
bae5407372
Merge remote-tracking branch 'origin/stable'
2021-10-05 12:09:05 +03:00
9seconds
4814b0fcc1
Merge remote-tracking branch 'origin/master' into stable
2021-10-05 11:33:57 +03:00
9seconds
3ce549bb16
Update dependencies
2021-10-05 11:16:57 +03:00
9seconds
9f6f906786
Add go:build comments
2021-10-05 10:51:41 +03:00
9seconds
eb32766c1f
Update to golangci-lint 1.42.1
2021-10-05 10:51:15 +03:00
9seconds
787d72cf52
Use install, not go get
2021-10-05 10:50:58 +03:00
9seconds
cd29f3e20b
Add configuration option allow-fallback-on-unknown-dc
2021-10-04 14:42:26 +03:00
9seconds
dbaa743e03
Add new BindJSON method to a logger
2021-10-04 10:10:14 +03:00
9seconds
d1e5f9d145
Fix windows build
2021-10-04 09:46:49 +03:00
9seconds
686f177ab9
Correct error for non-getting of underlying connection
2021-10-04 09:34:10 +03:00
9seconds
14dfb9506a
Bump docker build timeout to 20 minutes
2021-09-24 16:59:11 +03:00
9seconds
fbe4d32590
Fallback to another DC if given is unknown
2021-09-24 11:47:35 +03:00
9seconds
d0f18be91d
Merge remote-tracking branch 'origin/stable'
2021-08-30 15:50:27 +03:00
9seconds
929b73e2eb
Merge remote-tracking branch 'origin/master' into stable
2021-08-30 15:50:15 +03:00
9seconds
6b7364238a
Update dependencies
2021-08-30 14:51:56 +03:00
9seconds
b3c8c4a47d
Upgrade to golang 1.17
2021-08-30 11:53:31 +03:00
9seconds
ca5800cf60
Simplify tcp relay time randomization
2021-08-30 10:47:36 +03:00
9seconds
e8c70603f7
Upgrade golangci-lint for 1.42
2021-08-27 18:05:51 +03:00
9seconds
456ed5b051
Change algorithm of TCP relaying
2021-08-27 17:22:36 +03:00
9seconds
4b7be8c565
Merge remote-tracking branch 'origin/stable'
2021-07-31 21:05:56 +03:00
9seconds
8758208de6
Merge remote-tracking branch 'origin/master' into stable
2021-07-31 20:51:36 +03:00
9seconds
6cd91600b5
Update dependencies
2021-07-31 11:44:58 +03:00
9seconds
eaa757b6d0
Update code to the latest golangci-lint
2021-07-31 11:35:05 +03:00
9seconds
dc99dd165e
Update golangci-lint to 1.41.1
2021-07-31 11:29:30 +03:00
9seconds
dcbbb49607
Update README
2021-07-30 16:36:12 +03:00
9seconds
1050ca0b97
Fix lint issues
2021-07-30 16:34:00 +03:00
9seconds
c85c88efd6
Add simple-run command
2021-07-30 16:15:36 +03:00
9seconds
c53364d952
Add test for making QR code url
2021-07-30 15:18:26 +03:00
9seconds
ed91290e47
Add test for reading config
2021-07-30 15:07:35 +03:00
9seconds
3fd5e9eb19
Rework cli
2021-07-30 15:00:48 +03:00
9seconds
87ed1d1aa7
Move config2 into config
2021-07-29 16:21:22 +03:00
9seconds
ec4f0656fb
Add updated version of config
2021-07-28 18:16:01 +03:00
9seconds
0c5d487fae
Merge remote-tracking branch 'origin/master' into stable
2021-05-17 16:08:19 +03:00
9seconds
e1864377c2
Update golangci-lint to 1.40.1
2021-05-17 15:26:16 +03:00
9seconds
4c8925ab65
Update depdendencies
2021-05-17 12:13:17 +03:00
9seconds
604b1d2597
Add support of goreleaser
2021-05-07 16:23:31 +03:00
9seconds
16f9ec690b
Fix race condition in closing a relay
...
This commit fixes a situration when relay can be reset before all
waiting goroutines are finished. For example, we terminate processing
based on some event: socket error etc. So, error happens and context is
cancelled. After that a main relay goroutine starts to wait. Meanwhile a
second goroutine reaches deferred function and set wg to done. It means
that main goroutine can continue.
In this case this is really possible that we can start resetting before
transmit goroutine really exits.
A correct solution is to always do wg.Done() as a first deferred thing
on entering to a function. In that case we do not need reordering and so
on.
2021-05-06 22:08:39 +03:00
9seconds
fec60083a3
Merge remote-tracking branch 'origin/master' into stable
2021-05-05 11:57:47 +03:00
9seconds
0882d45d6a
Update dependencies
2021-05-05 11:47:57 +03:00
9seconds
86c6541e0d
Small typo
2021-05-05 11:47:12 +03:00
9seconds
700f71bb31
Add trimpath for better build reproducibility
2021-05-05 11:23:02 +03:00
9seconds
fe3b0f3ca5
Add a real integration test
2021-04-12 10:29:19 +03:00
9seconds
115510985a
Add option to use telegram test dcs
2021-04-09 16:45:37 +03:00
9seconds
2b5b325722
Add doc for cli package
2021-04-09 14:51:46 +03:00
9seconds
c536cbecd5
Fix a link to go reference
2021-04-09 14:44:57 +03:00
9seconds
5e9d0649a2
Update dependencies
2021-04-09 14:35:50 +03:00
9seconds
585ebfeb50
Update golanci-lint
2021-04-09 14:35:04 +03:00
9seconds
4f048a3b82
Update README
2021-04-09 13:30:04 +03:00
9seconds
43f5d2131e
Add test for client hello validation
2021-04-08 15:26:49 +03:00
9seconds
e2073f0585
Remove timeattack module
2021-04-08 14:58:14 +03:00
9seconds
0652f322fa
Add docstrings to a logger
2021-04-08 14:39:01 +03:00
9seconds
d3aa0f2de5
Add mtglib-level documentation
2021-04-08 11:54:49 +03:00
9seconds
40c6cf294a
Add documentation for the objects of mtglib
2021-04-08 11:47:44 +03:00
9seconds
4c38ea2b11
Refactor some configuration to proxy_opts
2021-04-08 11:00:54 +03:00
9seconds
e6d444546f
Add documentation for a secret
2021-04-07 18:02:16 +03:00
9seconds
611583ba88
Add doc strings to mtglib events
2021-04-07 15:22:58 +03:00
9seconds
463af648ce
Rework events
2021-04-07 14:40:54 +03:00
9seconds
b748603096
Add docs for stats
2021-04-06 12:00:14 +03:00
9seconds
54a7c6a2a5
Small subtle optimizations of faketls
2021-04-06 11:09:37 +03:00
9seconds
a3bae795c4
Add documentation for timeattack
2021-04-06 11:03:51 +03:00
9seconds
372c703ad6
Add documentation for network
2021-04-05 18:46:15 +03:00
9seconds
0dd890a09d
Add documentation for logger
2021-04-05 16:55:26 +03:00
9seconds
0274b3436a
Add documentation for ipblocklist
2021-04-05 16:09:21 +03:00
9seconds
04b88cc864
Add documentation for event stream
2021-04-05 15:12:46 +03:00
9seconds
b3112c5c67
Move documentation to init.go
2021-04-05 11:39:09 +03:00
9seconds
3661fe108d
Add documentation for antireplay package
2021-04-05 11:35:46 +03:00
9seconds
5d5b77d73b
Tune defaults
2021-04-02 21:58:22 +03:00
9seconds
7bffdcdf4a
Move config to internal
2021-04-02 21:41:02 +03:00
9seconds
ea7033d569
Move cli to internal
2021-04-02 21:36:15 +03:00
9seconds
24fdec6694
Move testlib to internal
2021-04-02 21:32:06 +03:00