New os-mdns-bridge plugin - Create a new plugin to implement the mDNS-Bridge by Denny Page

Aperta
#5,904 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

Start by reading the existing os-mdns-repeater plugin, which the issue names as the model, and check how OPNsense plugins manage services and generate configuration. The issue describes a new GUI plugin for mdns-bridge, including interface selection and service filtering, but does not name files or tests. Done means the plugin integrates those controls and service management with the mdns-bridge package.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Modern IoT devices often rely on mDNS. This can be problematic when using VLANs. This can be somewhat mitigated with the os-mdns-repeater which is already available. However, there is a more robust tool that is part of the full FreeBSD ports that is highly configurable and bridges between VLANs.

I have previously used this with pfSense and have also been able to readily install the package from the FreeBSD port. Doing so works but it is a manual edit procedure outside of the GUI to configure or monitor the service.

Unlike traditional mDNS repeaters, mdns-bridge supports service filtering and interface-specific forwarding policies.

This plugin integrates mdns-bridge into OPNsense by providing:

  • Web GUI configuration
  • Service management
  • Configuration generation
  • Interface selection
  • Service filtering controls

The plugin is intended to simplify deployment of multicast DNS service discovery across segmented networks such as IoT, Guest, and User VLANs.

The proposed plugin is modeled after the os-mdns-repeater plugin which made the coding very easy. It is a pretty simple process that primarily is used to create / modify the configuration file that mdns-bridge uses.

This does rely on having the mdns-bridge package from the full FreeBSD ports available.

Describe the solution you'd like
I would like to add this plugin to the OPNsense ecosystem. If that will take some time to vet, then I'd like to see the mdns-bridge package be merged into the OPNsense ports.

Describe alternatives you've considered
I have tried mdns-repeater but have had mixed results. This plugin gives a finer grained control over how mDNS is passed between interfaces.

Additional context
I have this functioning on a test lab setup and could attach some screen shots if that would be helpful for review.

Lingua principale
PHP
Stelle
1.2k
Fork
932
Merge medio
1g 11h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opnsense/plugins

Tutte le issue di opnsense/plugins

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.