Browse Source

add `tcp_tproxy` option, completions bash/zsh

pull/2736/head
zfl9 4 years ago
parent
commit
37cdf8d45a
No known key found for this signature in database GPG Key ID: C6A9D94D899807DB
2 changed files with 2 additions and 1 deletions
  1. 2
      completions/bash/ss-redir
  2. 1
      completions/zsh/_ss-redir

2
completions/bash/ss-redir

@ -1,7 +1,7 @@
_ss_redir()
{
local cur prev opts ciphers
opts='-s -p -l -k -m -a -f -t -c -n -b -u -U -v -h --reuse-port --mtu --mptcp --key --plugin --plugin-opts --help'
opts='-s -p -l -k -m -a -f -t -c -n -b -u -U -T -v -h --reuse-port --mtu --mptcp --key --plugin --plugin-opts --help'
ciphers='rc4-md5 aes-128-gcm aes-192-gcm aes-256-gcm aes-128-cfb aes-192-cfb aes-256-cfb aes-128-ctr aes-192-ctr aes-256-ctr camellia-128-cfb camellia-192-cfb camellia-256-cfb bf-cfb chacha20-ietf-poly1305 xchacha20-ietf-poly1305 salsa20 chacha20 chacha20-ietf'
cur=${COMP_WORDS[COMP_CWORD]}
prev="${COMP_WORDS[COMP_CWORD-1]}"

1
completions/zsh/_ss-redir

@ -18,6 +18,7 @@ _arguments "-h::" \
"-u:enable udp:" \
"-U:udp only:" \
"-v:verbose mode:" \
"-T:tcp tproxy mode:" \
"--reuse-port::" \
"--fast-open::" \
"--acl:acl file:_files" \

Loading…
Cancel
Save