kcptun: update to version 20230207
add support for port-range dailer, port-range listener Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
This commit is contained in:
parent
0b4185ab92
commit
9aa82f48c1
3 changed files with 7 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=kcptun
|
PKG_NAME:=kcptun
|
||||||
PKG_VERSION:=20210922
|
PKG_VERSION:=20230207
|
||||||
PKG_RELEASE:=$(AUTORELEASE)
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/xtaci/kcptun/tar.gz/v${PKG_VERSION}?
|
PKG_SOURCE_URL:=https://codeload.github.com/xtaci/kcptun/tar.gz/v${PKG_VERSION}?
|
||||||
PKG_SOURCE_DATE:=2021-09-22
|
PKG_HASH:=09054b52d5799a8e47edb36f2db335d929d5bbb63a26f7ba2fe03c64ec39d550
|
||||||
PKG_HASH:=f6a08f0fe75fa85d15f9c0c28182c69a5ad909229b4c230a8cbe38f91ba2d038
|
|
||||||
|
|
||||||
PKG_MAINTAINER:=Dengfeng Liu <liudf0716@gmail.com>, Chao Liu <expiron18@gmail.com>
|
PKG_MAINTAINER:=Dengfeng Liu <liudf0716@gmail.com>, Chao Liu <expiron18@gmail.com>
|
||||||
PKG_LICENSE:=MIT
|
PKG_LICENSE:=MIT
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
config server
|
config server
|
||||||
option disabled 1
|
option disabled 1
|
||||||
option listen 29900
|
option listen '29900-30000'
|
||||||
option target '127.0.0.1'
|
option target '127.0.0.1'
|
||||||
option target_port 12948
|
option target_port 12948
|
||||||
option crypt 'aes'
|
option crypt 'aes'
|
||||||
|
@ -23,7 +23,7 @@ config client
|
||||||
option bind_address '0.0.0.0'
|
option bind_address '0.0.0.0'
|
||||||
option local_port 12948
|
option local_port 12948
|
||||||
option server 'vps'
|
option server 'vps'
|
||||||
option server_port 29900
|
option server_port '29900-30000'
|
||||||
option crypt 'aes'
|
option crypt 'aes'
|
||||||
option key 'secret'
|
option key 'secret'
|
||||||
option mode 'fast'
|
option mode 'fast'
|
||||||
|
|
|
@ -150,7 +150,7 @@ validate_common_options() {
|
||||||
|
|
||||||
validate_server_options() {
|
validate_server_options() {
|
||||||
validate_common_options server "$@" \
|
validate_common_options server "$@" \
|
||||||
'listen:port' \
|
'listen:or(port,portrange):29900-30000' \
|
||||||
'target:host' \
|
'target:host' \
|
||||||
'target_port:port' \
|
'target_port:port' \
|
||||||
'pprof:bool'
|
'pprof:bool'
|
||||||
|
@ -161,7 +161,7 @@ validate_client_options() {
|
||||||
'bind_address:ipaddr' \
|
'bind_address:ipaddr' \
|
||||||
'local_port:port' \
|
'local_port:port' \
|
||||||
'server:host' \
|
'server:host' \
|
||||||
'server_port:port' \
|
'server_port:or(port,portrange):29900-30000' \
|
||||||
'conn:uinteger' \
|
'conn:uinteger' \
|
||||||
'autoexpire:uinteger' \
|
'autoexpire:uinteger' \
|
||||||
'scavengettl:uinteger'
|
'scavengettl:uinteger'
|
||||||
|
|
Loading…
Reference in a new issue