net/igmp-proxy: expose per-interface multicast whitelist in the GUI

オープン
#5,755 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
76/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
php

調査の方向性

Start at /services_igmpproxy_edit.php and compare the requested Whitelist rows with the existing Network(s) layout. Review the attached patch and trace the plugin's persistent storage and configuration generation paths. Done means upstream and downstream interfaces accept validated multicast whitelist entries, preserve empty-field behavior, and regenerate the expected configuration.

索引モデルが issue の本文から書いたものです。

説明

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

The IGMP Proxy GUI does not expose igmpproxy's whitelist option. I need to restrict the multicast groups allowed on individual interfaces without manually editing the generated configuration.

This is useful in networks where multicast serves several purposes, such as IPTV and local services. An upstream whitelist limits the multicast groups requested on the ISP’s IPTV VLAN, preventing requests for unrelated local groups from being forwarded to the ISP.

The existing Network(s) field configures altnet, which controls source networks rather than multicast group whitelisting.

Describe the solution you'd like

Add a Whitelist section below Network(s) in the interface editor at /services_igmpproxy_edit.php, available for both upstream and downstream interfaces.

It should follow the existing Network(s) layout: a Network input, a CIDR dropdown, and add/remove buttons for each row.

Leaving the field empty should preserve the existing behavior of allowing all multicast groups.

Describe alternatives you've considered

Manually editing /usr/local/etc/igmpproxy.conf, but those changes are overwritten when OPNsense regenerates the configuration. A GUI setting would make the whitelist persistent and easier to maintain.

Additional context

A patch is available that adds GUI input, validation, persistent storage, and configuration generation. It rejects invalid or non-multicast ranges and removes duplicate entries.

I also successfully applied and tested the patch on my live OPNsense system.

Image
主要言語
PHP
スター
1.2k
フォーク
909
平均マージ
4日 19時間
マージ済み PR(30日)
21

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opnsense/plugins のほかの issue

opnsense/plugins の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。