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

Abierto
#5,938 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PHP
Estrellas
1.2k
Forks
926
Merge medio
1 d 10 h
PR fusionados (30 d)
25

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opnsense/plugins

Todos los issues de opnsense/plugins

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.