Skip to content

feat(luci): support multiple listen addresses#518

Merged
stackia merged 4 commits into
mainfrom
codex/luci-multi-listen
Jun 12, 2026
Merged

feat(luci): support multiple listen addresses#518
stackia merged 4 commits into
mainfrom
codex/luci-multi-listen

Conversation

@stackia

@stackia stackia commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

Adds multi-listen configuration support to the LuCI app while preserving compatibility with existing option port installations.

Changes

  • Adds list listen support in the OpenWrt init script, expanding each value into a separate --listen argument.
  • Keeps legacy option port as a fallback when no list listen entries are configured.
  • Replaces the LuCI single port field with a dynamic listen address list.
  • Migrates legacy option port to list listen when the LuCI form is saved.
  • Updates the OpenWrt config example, LuCI translations, and configuration docs.
  • Adds e2e coverage for repeated --listen arguments.

Closes #507

Validation

  • cmake -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_AGGRESSIVE_OPT=ON
  • cmake --build build -j$(getconf _NPROCESSORS_ONLN)
  • ./scripts/run-e2e.sh -p 1 test_config.py -k listen
  • ./scripts/run-e2e.sh -p 1 test_config.py
  • sh -n openwrt-support/rtp2httpd/files/rtp2httpd.init
  • LuCI helper and migration Node stubs
  • msgfmt --check -o /tmp/rtp2httpd_zh_Hans.mo openwrt-support/luci-app-rtp2httpd/po/zh_Hans/rtp2httpd.po
  • pnpm run docs:build
image

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://thankful-water-0a297bf00-518.eastasia.1.azurestaticapps.net

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://thankful-water-0a297bf00-518.eastasia.1.azurestaticapps.net

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://thankful-water-0a297bf00-518.eastasia.1.azurestaticapps.net

@github-actions

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://thankful-water-0a297bf00-518.eastasia.1.azurestaticapps.net

@stackia stackia marked this pull request as ready for review June 12, 2026 04:06
@stackia stackia merged commit 63b3a32 into main Jun 12, 2026
10 checks passed
@stackia stackia deleted the codex/luci-multi-listen branch June 12, 2026 04:07
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.

luci界面能否增加配置多个监听地址和端口的选项

1 participant