[Chrony] Add GPS/PPS support and NTS server certificate support

Aperta
#5,938 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

Read the Chrony plugin files and its existing GUI configuration flow, then compare them with the NTPd plugin's certificate and reference clock options. The request covers GPS configuration and status, PPS settings, and NTS server certificate selection, so map how each setting reaches Chrony's configuration and how status is displayed. Done means all requested options can be configured through the GUI and work with Chrony.

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.
The current state of Chrony in OPNsense doesn't include NTS client support. And It lack an integrated way to configure GPS with PPS as a reference clock through GUI.

This make it so to have those ability it needed to manually modify Chrony files.

Describe the solution you'd like
The following enhancements to the Chrony plugin:

  • GPS reference clock support.
    Adding GUI config option for GPS receivers:

    • Ability to enable/disable GPS clock.
    • Selecting the serial port.
    • Configuring the baud rate of said serial port.
    • Ability to see GPS receiver status and information.
    • GPS reference id.
  • PPS support for the GPS clock.
    Adding GUI config option for PPS receivers:

    • Enable / disable PPS.
    • Selecting PPS device.
    • Configuring the PPS rising/falling.
    • PPS reference id.
  • NTS server support.
    Adding GUI ability to configure Chrony as a NTS server:

    • Enable/Disable NTS servers functionality.
    • Selecting an existing certificate from the Trust store to use.

Describe alternatives you've considered
Using Ntpd but it a less modern alternative compared to Chrony.
Ntpd (if think?) doesn't provide NTS functionality.
Manually configuring Chrony config file.

Additional context
Possibly this could eventually replace NTPd since nearly (i think) all functionality would be equal, and Chrony provide better faster synchronization and accuracy, and support NTS. Or at the very least make the Chrony plugins on par with NTPd.

Lingua principale
PHP
Stelle
1.2k
Fork
926
Merge medio
1g 10h
PR unite (30g)
25

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.