/kcptun-sip003-wrapper

shadowsocks SIP003 wrapper for plugin kcptun(shell/batch script), compatible with ash/bash/cmd.exe. All ascii characters are availiable.

Primary LanguageBatchfileMIT LicenseMIT

kcptun-sip003-wrapper

shadowsocks SIP003 wrapper for xtaci/kcptun, act like shadowsocks/kcptun.

  1. Put kcptun binary in the same directory of this script or into a directory in the PATH environment.

    searching precedence

    • `pwd`/kcptun_client$suffix
    • `pwd`/kcptun-client$suffix
    • `pwd`/client_${os}_$arch$suffix
    • `pwd`/kcptun_server$suffix
    • `pwd`/kcptun-server$suffix
    • `pwd`/server_${os}_$arch$suffix
    • $PATH/kcptun_client$suffix
    • $PATH/kcptun-client$suffix
    • $PATH/kcptun_server$suffix
    • $PATH/kcptun-server$suffix

It is recommended to rename the downloaded binary to kcptun-client or kcptun-server.

Sample usage:

ss-redir --plugin kcptun.cmd --plugin-opts 'key=12 3\;4 5$6^&*()@;crypt=aes-128;mode=fast2;conn=4;nocomp;quiet'

Known compatible list for kcptun shell script:

  • ash: busybox ash with default feature enabled
  • bash
  • mksh
  • zsh

Known incompatible list:

  • csh dash fish