Skip to content

frp: migrate generated configuration from INI to TOML#29593

Open
laipeng668 wants to merge 1 commit into
openwrt:masterfrom
laipeng668:frp-toml
Open

frp: migrate generated configuration from INI to TOML#29593
laipeng668 wants to merge 1 commit into
openwrt:masterfrom
laipeng668:frp-toml

Conversation

@laipeng668

@laipeng668 laipeng668 commented May 31, 2026

Copy link
Copy Markdown
Contributor

📦 Package Details

Maintainer: N/A

Description:
Migrate frpc and frps configuration generation to the TOML format used by current frp releases.

  • generate TOML configuration from UCI options
  • add UCI defaults migration for existing installations
  • install additional fragments under /etc/frp/frpc.d and /etc/frp/frps.d
  • preserve manual raw TOML fragment support without exposing it in LuCI
  • keep client and server TCP mux settings aligned
  • update the package metadata for the current frp release artifacts

Depend on: openwrt/luci#8674


🧪 Run Testing Details

  • OpenWrt Version: main/snapshot
  • OpenWrt Target/Subtarget: qualcommax/aarch64
  • OpenWrt Device: ipq6000-360v6

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Migrate frpc and frps configuration generation to the TOML format used by
current frp releases.

- generate TOML configuration from UCI options
- add UCI defaults migration for existing installations
- install additional fragments under /etc/frp/frpc.d and /etc/frp/frps.d
- preserve manual raw TOML fragment support without exposing it in LuCI
- keep client and server TCP mux settings aligned
- update the package metadata for the current frp release artifacts

Signed-off-by: Roc Lai <laipeng668@qq.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants