github wangwanjie/gately v0.6.8.8

2 hours ago

中文

站点域名任意一段通配(#118)

  • * 可写在任意一段:audiobook.*.example.com(中间整段匹配一段)、audiobook.*(末尾整段匹配一段或多段)、a.api-*.example.com(段内匹配)。每个域名仍只能有一个 *,{1} 取到匹配部分;192.168.1.*、10.* 这类 IP 形式会被拒绝。
  • audiobook.* 也会匹配别人注册的域名,第三方登录回跳、带凭据跨域与敲门探测不把它当作本站点域名;* 不在首段的站点按实际访问域名各自匹配证书。
  • 网络拓扑的打码与别名覆盖这类域名。

导航面板

  • 分组可设为登录后可见(分组标题的锁形按钮,authGroups),整组链接只对已登录访客显示。
  • 分组改名,可合并到已有分组,登录后可见设置跟随(#122);手机上分组标题不再被挤压。
  • 链接图标新增「图标网站」菜单与「去除留白」按钮(#120)。

概览获取公网 IP

  • 没有 DDNS 或只覆盖一种地址族时,管理员可在概览点「获取公网 IP」;结果只存内存,自检找到的地址也会记录。新增 POST/GET /api/system/public-ip。

上下行方向统一(#117)

  • 全站按 Gately 视角:上行为 Gately 发出,下行为收到。拓扑、流量曲线、实时连接、端口转发、协议分流、STUN 一致;接口字段不变。

修复

  • 反向代理原样转发查询串,含分号或非法百分号转义的参数不再丢失(#116)。
  • 访客用 HTTPS 时,后端指向同主机同端口的 http:// 跳转改写为 https://(修复 oci-start 登录后跳回 http)。
  • 概览去掉圆环发光与主机图标投影(#121)。

English

Wildcards in any label (#118)

  • * can sit in any label: audiobook.*.example.com (a whole middle label matches one label), audiobook.* (a whole last label matches one or more trailing labels) and a.api-*.example.com (inside a label). Still one * per domain, with {1} capturing the matched part; IP-like forms such as 192.168.1.* and 10.* are rejected.
  • Because audiobook.* also matches names anyone can register, third-party sign-in return addresses, credentialed CORS and knock-grant probes do not treat it as the site's own domain; sites whose * is not in the first label have certificates matched per visited name.
  • Topology masking and aliases cover these domains.

Navigation panels

  • A link group can be made visible only after sign-in (lock button on the group header, authGroups).
  • Link groups can be renamed or merged into an existing group, keeping the sign-in visibility (#122); group headers no longer squeeze on phones.
  • The link icon field has an "Icon sites" menu and a "Trim margins" button (#120).

Public IP on the overview

  • Without DDNS (or with DDNS covering one family), administrators can click "Look up public IP" on the overview; the result is kept in memory and the self-check stores what it finds. New POST/GET /api/system/public-ip.

Consistent traffic direction (#117)

  • Up is what Gately sends and down is what it receives, everywhere: topology, traffic charts, live connections, port forwarding, protocol routing and STUN. API fields are unchanged.

Fixes

  • Reverse proxy forwards the query string unchanged; parameters with semicolons or invalid percent escapes are no longer dropped (#116).
  • When the visitor uses HTTPS, a backend redirect to http:// on the same host and port is rewritten to https:// (fixes oci-start returning to http after sign-in).
  • The overview rings and host icon no longer have glow or shadow (#121).

Don't miss a new gately release

NewReleases is sending notifications on new releases.