Skip to content

Releases: xtaci/kcptun

Add support for port-range dialer, randomized remote port

15 Oct 05:53
Compare
Choose a tag to compare

Add support for port-range dialer , port-range listener, try to specify:

client: --remoteaddr IP:minport-maxport
server: --listen IP:minport-maxport

eg:
client: --remoteaddr IP:3000-4000
server: --listen 0.0.0.0:3000-4000

to test the feature. The client will switch to next randomized port in port range automatically when a connection has expired by '-autoexpire'.

$ go version
go version go1.19.2 linux/amd64

$ date
Sat Oct 15 13:49:53 CST 2022

$ ./build-release.sh
Setting GO111MODULE to on
4b482941ebde8a59e18cd161704d04f0e9814c31  kcptun-linux-amd64-20221015.tar.gz
cbda6c87606355fd6c4f3af644cad1126ca98865  kcptun-darwin-amd64-20221015.tar.gz
8d6231fff71daa818fd064ee0e594f1bdc8891d1  kcptun-windows-amd64-20221015.tar.gz
5df9f4034d1aa8883f6a34a66e8f776a7a995956  kcptun-freebsd-amd64-20221015.tar.gz
7d8287daff5011bbffc5f1c04dbe73891780b913  kcptun-linux-386-20221015.tar.gz
b7afed2eec47fbc7ac268bdb555cced38bafce8f  kcptun-windows-386-20221015.tar.gz
d8691d7e769a312e19dd573a1c87d4dcb1b0b2cb  kcptun-darwin-arm64-20221015.tar.gz
f4dd3d350430f7579ba327654effe55015db6675  kcptun-linux-arm5-20221015.tar.gz
2f699c0d934814689dcccd257f1304e4668bff1d  kcptun-linux-arm6-20221015.tar.gz
2c6f35641c8afbed4da7e37fe83f7cef2c2b0cbd  kcptun-linux-arm7-20221015.tar.gz
23dfdd553264d3b4f7ff2353fbef970759e8cdc0  kcptun-linux-arm64-20221015.tar.gz
69354b75910a7489596dce18eaab612d89d2b9bd  kcptun-linux-mipsle-20221015.tar.gz
0b1d7870baf08b3739bbf96458ed26755346a3e2  kcptun-linux-mips-20221015.tar.gz

Recompiled with golang 1.18.3

28 Jun 02:33
c5232c2
Compare
Choose a tag to compare
  1. Recompiled with golang 1.18.3
  2. Deps Updated
  3. Added missing vendor files
$ go version
go version go1.18.3 linux/amd64

$ date
Mon Jun 27 22:05:11 CST 2022

$ ./build-release.sh
Setting GO111MODULE to on
2c3793aafa5dd7ab3cccfc61fbe22a2677da26cf  kcptun-linux-amd64-20220628.tar.gz
7fe5a3a2218b9ca7c4ca69a0440f62a68c539089  kcptun-darwin-amd64-20220628.tar.gz
691aaa4070a6908834d7471569d7938d7af22277  kcptun-windows-amd64-20220628.tar.gz
57d414098d41778ccb901b1f62c37948583abf50  kcptun-freebsd-amd64-20220628.tar.gz
73ac8c15245515dfcbc01e3d1d90388c3877b47d  kcptun-linux-386-20220628.tar.gz
7de19bad0ad15a6f61b9051af86a74edf9dee10c  kcptun-windows-386-20220628.tar.gz
58f2f166c94d60d0bca34192c595c176b44dca24  kcptun-darwin-arm64-20220628.tar.gz
cd881ecc3b8aef6a97bc5e351fad6f95a0c16d1f  kcptun-linux-arm5-20220628.tar.gz
1af3acd78c900e90390a3e9c1ff896d8dd55cdef  kcptun-linux-arm6-20220628.tar.gz
6faf770aa6970f928b21bf38e00e90eac4273b88  kcptun-linux-arm7-20220628.tar.gz
915c27ba5b1a589f4e93c509777b373ee99b7984  kcptun-linux-arm64-20220628.tar.gz
6b6085fc021cbeb94b460d772f171a150621021c  kcptun-linux-mipsle-20220628.tar.gz
30758b70d3ac44aebc8a361173def20ed58f9d67  kcptun-linux-mips-20220628.tar.gz

Recompiled with golang 1.18.3

27 Jun 14:08
Compare
Choose a tag to compare
  1. Recompiled with golang 1.18.3
  2. Deps Updated
$ go version
go version go1.18.3 linux/amd64

$ date
Mon Jun 27 22:05:11 CST 2022

$ ./build-release.sh
Setting GO111MODULE to on
010eefef5ddad8733f53ec8bb3e7a9d1bfc890ed  kcptun-linux-amd64-20220627.tar.gz
af40a179049330fc9e76b3fe51eef4d365d5be4e  kcptun-darwin-amd64-20220627.tar.gz
4e8e62c6a4b43acd73b69665e88f37d2372d6362  kcptun-windows-amd64-20220627.tar.gz
7bbdefca3c4b833df3d7e3d85fd1109673ae8a61  kcptun-freebsd-amd64-20220627.tar.gz
dadd03cacb4e6d17e58878acfcf202d96849e755  kcptun-linux-386-20220627.tar.gz
ef8619f0e6aadc48dcace09692af2cd9aec4fe2a  kcptun-windows-386-20220627.tar.gz
9237640f4551cbbf548445fd31699e47ee32c6f0  kcptun-darwin-arm64-20220627.tar.gz
f3b96825d5cfb026b301726a22e2f571ed0c862c  kcptun-linux-arm5-20220627.tar.gz
f13275ebf465cf4a01fc379e9817c3b702379fdc  kcptun-linux-arm6-20220627.tar.gz
1ed4e05932abf7d8ede36361b7163de9794df2db  kcptun-linux-arm7-20220627.tar.gz
c89972dea6f44ba42287be0602ab8111c4af667c  kcptun-linux-arm64-20220627.tar.gz
befcebca293c830bd2f00d9f99493fecc5bab6c4  kcptun-linux-mipsle-20220627.tar.gz
65536e75c05499e3e9dcb329ff6a0da51fd40a27  kcptun-linux-mips-20220627.tar.gz

Bugfix in smux and Recompiled with go1.17

22 Sep 13:53
Compare
Choose a tag to compare
  1. Recompiled with golang 1.17.1
  2. Bugfix in smux xtaci/smux@09e2c01, which affects BIG data transfer.
$ go version
go version go1.17.1 linux/amd64

$ date
Wed Sep 22 21:48:58 CST 2021

$ ./build-release.sh
Setting GO111MODULE to on
2b39996bb12942f1a407723f1811b834ad9e625b  kcptun-linux-amd64-20210922.tar.gz
5ea39528d799d872f533cf1466d350ab630957db  kcptun-darwin-amd64-20210922.tar.gz
68b7ee324cc03497618533f7a0358c481e3de3f0  kcptun-windows-amd64-20210922.tar.gz
cc00da66eb533132d9e8fc87fec050ddc43e3492  kcptun-freebsd-amd64-20210922.tar.gz
3a94c60a7d348a95dc380697f836fb1888363166  kcptun-linux-386-20210922.tar.gz
d15d3262cbbcabdce7e121452787b52a5c141cf3  kcptun-windows-386-20210922.tar.gz
628231e42a8d2f17b2d0b37197fc67261835306c  kcptun-darwin-arm64-20210922.tar.gz
a02943e8127950f470a2b8175fd6e5cf9f0ec4e1  kcptun-linux-arm5-20210922.tar.gz
d41bf8b68e8266996596bf54d252477c0075ac85  kcptun-linux-arm6-20210922.tar.gz
f9ce33286925318339d0fbc2acd9c8c11414444f  kcptun-linux-arm7-20210922.tar.gz
4d58165e35206531b6282cb202a566e94a3747ee  kcptun-linux-arm64-20210922.tar.gz
22cf706774063ddf0c0bb8107128cf66eb8bb3c6  kcptun-linux-mipsle-20210922.tar.gz
dcb65e38c61454de2dbf97a12bbb807a6b55e128  kcptun-linux-mips-20210922.tar.gz

Recompiled with go1.16.5 and Add Release binary for Apple M1

24 Jun 03:51
Compare
Choose a tag to compare
  1. Recompiled with golang 1.16.5
  2. Add Release for Apple M1 (darwin-arm64)
$ go version
go version go1.16.5 linux/amd64

$ date
Thu Jun 24 11:48:34 CST 2021

╰─$ ./build-release.sh
Setting GO111MODULE to on
2656cd28cb4e9aabe2a5cbf6e2805c3ef693ca69  kcptun-linux-amd64-20210624.tar.gz
c7e9f3280f1decee02de2cc0b5b7408993bbc279  kcptun-darwin-amd64-20210624.tar.gz
5a642aa6f7311b46d1fff5eed35167d330b967d6  kcptun-windows-amd64-20210624.tar.gz
ec473cdaa2e150e3322790ce6f0937c8cc8c4c56  kcptun-freebsd-amd64-20210624.tar.gz
e83edf0da02f0010826ab8e420d555a21ac36441  kcptun-linux-386-20210624.tar.gz
df4403f8899dfbfd08adafe77c965f62fc76931d  kcptun-windows-386-20210624.tar.gz
df8e48dd2bef6a803d51324ba89cbd2a006c8982  kcptun-darwin-arm64-20210624.tar.gz
4ba5e1917de8642a8e9c20314c55f9967d10ceaa  kcptun-linux-arm5-20210624.tar.gz
955f36d5dbabfaf50fb1cdf1613f06f45e6e4b80  kcptun-linux-arm6-20210624.tar.gz
2450cd5eeabad16e5c50a3c866c3fa3b55ec5ced  kcptun-linux-arm7-20210624.tar.gz
fe39a6945846b97f1e9917e1ec77d3313502f31a  kcptun-linux-arm64-20210624.tar.gz
402c182c051da98f2667859af8b6e99396629cdc  kcptun-linux-mipsle-20210624.tar.gz
a30f57644d4eda6d892e6c901bc5e952800709cf  kcptun-linux-mips-20210624.tar.gz

Minor changes

03 Jan 13:07
Compare
Choose a tag to compare
  1. Recompiled with golang 1.15.6
  2. Lazy re-/connection for KCP connection.
  3. Smaller binaries.
$ go version
go version go1.15.6 linux/amd64

$ date
Sun Jan  3 21:02:22 CST 2021

╰─$ ./build-release.sh
Setting GO111MODULE to on
31ced1ecd7adefdc62d1f311e88d9d307c229dc8  kcptun-linux-amd64-20210103.tar.gz
ed1fc4c033ba4a0801540d8a0ab952f5c9c43e07  kcptun-darwin-amd64-20210103.tar.gz
5827b8245fe93717f13fc93d7f0054cbd872ec0b  kcptun-windows-amd64-20210103.tar.gz
8fe5ff5468218589555adcfcf61b8f976f8b7eb0  kcptun-freebsd-amd64-20210103.tar.gz
25ce9bdb69ef07439a00f31c9770e920dc8f5050  kcptun-linux-386-20210103.tar.gz
f79a24ffc546c910250af37bc70e587dd04995a9  kcptun-windows-386-20210103.tar.gz
30ee741a0b5a9714b6d8f5c6e73d0d93ab4fca21  kcptun-linux-arm5-20210103.tar.gz
369f7de90f2089d63823dbd34b89526cc56a5f4d  kcptun-linux-arm6-20210103.tar.gz
e155a40660adcf8dc42ee7e0af941e9565435309  kcptun-linux-arm7-20210103.tar.gz
fef783627813f1ca7a9a0932a3d8b65a2d2d2f8c  kcptun-linux-arm64-20210103.tar.gz
ba60ead627547ddc16bf8c5ed7e93c0e417f8bae  kcptun-linux-mipsle-20210103.tar.gz
f87fb350b5f4d9fe9740d18873d8224c920da46e  kcptun-linux-mips-20210103.tar.gz

SMUX BUG FIX

26 Nov 03:22
76c4d23
Compare
Choose a tag to compare
  1. Fix in smux: xtaci/smux#82

RECOMMENDED FOR UPGRADING

$ go version
go version go1.14.9 linux/amd64

$ date
Thu Nov 26 11:19:21 CST 2020

╰─$ ./build-release.sh
Setting GO111MODULE to on
7d95508d6a6a3e772f4ea33ea7df931a3df7eb90  kcptun-linux-amd64-20201126.tar.gz
e450b6fe181743589381017c77fc2bff3dad680d  kcptun-darwin-amd64-20201126.tar.gz
905dd9030ad270a209ab95c1a98db97c57ca30db  kcptun-windows-amd64-20201126.tar.gz
dcccdf04dd5f3f8648b55845b8bfdcf47520c26b  kcptun-freebsd-amd64-20201126.tar.gz
12b06bf7ecee26142f48a833211d856166124f43  kcptun-linux-386-20201126.tar.gz
bf74e53b7d38a4c8dd129d5b0108d2a32861e256  kcptun-windows-386-20201126.tar.gz
fc2f22e2e229d85aef5afd74e5092e88a82b3b68  kcptun-linux-arm5-20201126.tar.gz
029f9f82add48876def09f1a9dc76637e65832ac  kcptun-linux-arm6-20201126.tar.gz
158879e04c02cc37a98bd41318b2a2129c56a45d  kcptun-linux-arm7-20201126.tar.gz
904122019cb9ea5ea41f73f0ea18da8700d09fac  kcptun-linux-arm64-20201126.tar.gz
10851f05649f6b5b7d6163e1f5ab197bdeb8fae6  kcptun-linux-mipsle-20201126.tar.gz
6c57856bc567a55f540a934b055dd6f477ee3e6b  kcptun-linux-mips-20201126.tar.gz

Adaptive FEC

10 Oct 03:56
Compare
Choose a tag to compare
  1. client & server can choose different -datashard -parityshard to communicate with the help of FEC auto-tuning in https://github.com/xtaci/kcp-go/releases/tag/v5.6.1
$ go version
go version go1.14.9 linux/amd64

$ date
Sat Oct 10 11:53:41 CST 2020

╰─$ ./build-release.sh
Setting GO111MODULE to on
671d4c7432a89c3ed86b2abb4de43bc71123fe42  kcptun-linux-amd64-20201010.tar.gz
c0dbf284d15db5e8ee47e15d354b7d818932101c  kcptun-darwin-amd64-20201010.tar.gz
9714123d8c630a55ecd391094eb89efc7546b9fc  kcptun-windows-amd64-20201010.tar.gz
e542812b762c116cb49ac40cbee92a1f7a0fffae  kcptun-freebsd-amd64-20201010.tar.gz
7ac790f67a165ee52160f1f354bca9708084c40b  kcptun-linux-386-20201010.tar.gz
d33b8848ddbf2d51f01efc22e5623cb673378fe7  kcptun-windows-386-20201010.tar.gz
6fb46d365ac16f9576f74464099ede428f066fc2  kcptun-linux-arm5-20201010.tar.gz
d009d3fb7ab11ee4ea646100c00ad3009cbd8d5d  kcptun-linux-arm6-20201010.tar.gz
db8647e4dde946a372b73085fa4db08f92c1b1fd  kcptun-linux-arm7-20201010.tar.gz
346806c92f938aebf5081a79a079e1e4061cc56c  kcptun-linux-arm64-20201010.tar.gz
e00309c4a6a61fe70649a4f63b93e05b4c4efcd4  kcptun-linux-mipsle-20201010.tar.gz
9cf3ad2bd5f80d761489e818fdd9fabfe83694af  kcptun-linux-mips-20201010.tar.gz

Recompiled with go1.14.9

30 Sep 11:19
Compare
Choose a tag to compare
  1. Recompiled with go1.14.9
$ go version
go version go1.14.9 linux/amd64

$ date
Wed Sep 30 19:15:36 CST 2020

╰─$ ./build-release.sh
Setting GO111MODULE to on
edf0a791a5bba996908bc040ed23f22d62629481  kcptun-linux-amd64-20200930.tar.gz
f368bfb006b13ca78f92c8fccec82879958ac985  kcptun-darwin-amd64-20200930.tar.gz
825b2c08b697b94ed668bc23e6c6dfd909a66975  kcptun-windows-amd64-20200930.tar.gz
7c5b00ae0073f176f084b0f501f35353449b01fe  kcptun-freebsd-amd64-20200930.tar.gz
a3253c0eec1602d07a6bcd00817171431b439ffc  kcptun-linux-386-20200930.tar.gz
0eddfdb3846540161e40865b92d62c67e0e58631  kcptun-windows-386-20200930.tar.gz
9912afcf45641dbbeeec85a756797e71383ddb5a  kcptun-linux-arm5-20200930.tar.gz
60cd0e84903f78580e909b0303622856929de0dd  kcptun-linux-arm6-20200930.tar.gz
08f7f710e31ddd5f5f0b75144d05e268557379af  kcptun-linux-arm7-20200930.tar.gz
3dfe8d719ef9c37821040e79b9e3e674ca4526c7  kcptun-linux-arm64-20200930.tar.gz
6c6d2df343b19a220a2989132d9feb120ff3c2cf  kcptun-linux-mipsle-20200930.tar.gz
72fe68f3a6e4e541dc7da14a97023e9e559c9843  kcptun-linux-mips-20200930.tar.gz

Improved sliding window

01 Jul 10:24
Compare
Choose a tag to compare
  1. Improved sliding window
$ go version
go version go1.14.3 linux/amd64

$ date
Wed Jul  1 18:20:27 CST 2020

╰─$ ./build-release.sh
Setting GO111MODULE to on
70362a2006b155282db6483e314285c45ab240b8  kcptun-linux-amd64-20200701.tar.gz
00b22f95f81c336df331c804f6a917425a57da6c  kcptun-darwin-amd64-20200701.tar.gz
7f67c7f295e2bda2bdb683949b13c1c7a8600868  kcptun-windows-amd64-20200701.tar.gz
12d6a7b3ff3c3cf8759000745519726cba31d0df  kcptun-freebsd-amd64-20200701.tar.gz
459c67158ceaa478bad72bb1be0f16fca1ceb340  kcptun-linux-386-20200701.tar.gz
3bb3f34737637988c0d218501bda08517af8cd03  kcptun-windows-386-20200701.tar.gz
3042d316660242e7cc63a86be3d9af312cccf61e  kcptun-linux-arm5-20200701.tar.gz
d8c60226094c9c51cda7745dd2e3edf680223ce6  kcptun-linux-arm6-20200701.tar.gz
7408f8baed3b1f87037e97a6c48ecfef7f9638c2  kcptun-linux-arm7-20200701.tar.gz
15362ffaea0a6ba937bc4e9b3e32d52e3a250966  kcptun-linux-arm64-20200701.tar.gz
1de7af37eda1d2e50b8639af58abeb5353855cc5  kcptun-linux-mipsle-20200701.tar.gz
50099dea5b555a916ea401e5a4000e21ffcffa03  kcptun-linux-mips-20200701.tar.gz