Skip to content

v0.4.6

Choose a tag to compare

@max3584 max3584 released this 19 Oct 06:24
3ba08d0

追加

  • PROXY protocol の受け取り(proxy_protocol)をフォームで設定できるようになりました(#149)。TCP のルールの「詳細」タブで、ヘッダを信じる接続元(from、1 行に 1 件)と、ヘッダを必須にするか(required)を編集できます。一覧には「PROXY 受信」の印が付きます。rproxy-api v0.4.13 の features.proxy_protocol_in があるときだけ編集できます。
  • サーバ名ごとの送信元 IP(route の source_ip)を選べるようになりました(#149)。TLS タブで、TLS を終端しない route(sni の route、terminate の passthrough の route、L7 のルールの route)ごとに proxy・proxy_v1・proxy_v2 を選べます(空はルールと同じ)。rproxy-api v0.4.13 の features.route_source_ip があるときだけ編集できます。
  • 「rproxy の機能と設定」(/system)に、この 2 つの機能の印を出します。

修正

  • API で route に source_ip を付けたルールを UI で編集して保存すると、その source_ip が消えていたのを直しました(#149)。対応していない rproxy でも、値は読み取り専用で残して送ります。ルールの proxy_protocol も、編集・コピー・エクスポート / インポート・巻き戻しで消えません。

rproxy-api v0.3.5 以上で動きます(新しい 2 つの項目は rproxy-api v0.4.13 以上)。

rproxy-api: v0.4.13


Added

  • PROXY protocol reception (proxy_protocol) can now be set in the form (#149). On the "Advanced" tab of a TCP rule, edit the peers whose headers are trusted (from, one per line) and whether a header is required (required). The list shows a "PROXY in" badge. Editable only when rproxy-api v0.4.13 reports features.proxy_protocol_in.
  • The source IP per server name (a route's source_ip) can now be chosen (#149). On the TLS tab, routes that do not terminate TLS (sni routes, passthrough routes of terminate rules, routes of L7 rules) can take proxy, proxy_v1 or proxy_v2 (empty: the rule's). Editable only when rproxy-api v0.4.13 reports features.route_source_ip.
  • "rproxy features & settings" (/system) shows both feature flags.

Fixed

  • Editing and saving a rule whose route had a source_ip set through the API no longer drops that source_ip (#149). With an rproxy that does not support it, the value is kept read-only and sent as is. A rule's proxy_protocol is kept too, through edit, copy, export / import and rollback.

Works with rproxy-api v0.3.5 or later (the two new fields need rproxy-api v0.4.13 or later).

rproxy-api: v0.4.13