v0.15.0
New Schemes:
- direct: now we can use direct as a failover by giving it a lower priority
forward=socks5://host:port#priority=1 forward=direct://#priority=0
- tproxy: linux tproxy server support, only udp now, ref: link
glider -verbose -listen redir://:12345 -listen tproxy://:12345
- pxyproto: supports the server mode of PROXY protocol v1, e.g.:
glider -verbose -listen pxyproto://:8443,http://
- wss: now we can use
wss://host:port/path
instead oftls://host:port,ws:///path
for convenience
Config Changes:
- dns: added new config
dnscachelog
to show the query log of cache, default to false - log: added new config
logflags
to control the format of log, default 19, ref: link - proxy: added new config
tcpbufsize
(default: 32768) &udpbufsize
(default: 2048) - dhcpd: support static ip address mapping
#service=dhcpd,INTERFACE,START_IP,END_IP,LEASE_MINUTES[,MAC=IP,MAC=IP...] #e.g.: service=dhcpd,eth2,192.168.2.100,192.168.2.199,720,fc:23:34:9e:25:01=192.168.2.101
Enhancements:
- ws: use default port if not specified
- ws: remove the Sec-WebSocket-Protocol header
- tls: added new parameter
alpn
in url scheme - ssh: handle error in init conn to avoid panics
- dhcpd: support to handle DECLINE & RELEASE message type
- dhcpd: support more platforms including macOS and freebsd(not tested)
- vmess: support aead authing, enabled when alterID=0 or not setting
- vless,vmess: support string to uuid mapping standard
- proxy: fixed a bug which leads to panic when the specified interface not exists
- proxy: improve udp server implementations
- ci: built with Go1.17