shadowsocks-libev: ss-rules: add ipv6 support
authorYousong Zhou <yszhou4tech@gmail.com>
Fri, 18 Jan 2019 06:42:21 +0000 (06:42 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 21 Jan 2019 07:19:32 +0000 (15:19 +0800)
commit5fd46871643f0dcf9790c1c9136ca28d388ed307
tree5dcb62b0138baf9df9fbdcbbf35e3a50b4408ac1
parent1f4a6d29a12691ba8c9c0ea8815c632d6225b0ae
shadowsocks-libev: ss-rules: add ipv6 support

It will require support from ip6tables-mod-nat.  The added functionality
will be skipped otherwise.

For $o_dst_bypass6_, include only address blocks in link [1] whose
"Globally Reachable" field are explicitly "False"

Closes openwrt/packages#7508

 [1] IANA IPv6 Special-Purpose Address Registry,
     https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/shadowsocks-libev/Makefile
net/shadowsocks-libev/files/shadowsocks-libev.init
net/shadowsocks-libev/files/ss-rules