feat(ssh): say where the SSH algorithm lists are set
driver / lint (pull_request) Successful in 15s
driver / standard (pull_request) Successful in 18s
driver / types (pull_request) Successful in 1m13s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / test (3.12) (pull_request) Successful in 1m15s
driver / lowest (pull_request) Successful in 40s
driver / build (pull_request) Successful in 37s
driver / security (pull_request) Successful in 1m6s
CI / driver (pull_request) Successful in 2m37s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 15s
driver / standard (pull_request) Successful in 18s
driver / types (pull_request) Successful in 1m13s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / test (3.12) (pull_request) Successful in 1m15s
driver / lowest (pull_request) Successful in 40s
driver / build (pull_request) Successful in 37s
driver / security (pull_request) Successful in 1m6s
CI / driver (pull_request) Successful in 2m37s
driver / publish (pull_request) Skipped
OPNsense writes sshd_config from config.xml (<system><ssh>), set on the legacy Administration page; no API controller reads or writes that section (26.1, 26.7, master). The driver cannot harden the SSH server, so it declares, as data, the page and the field of each algorithm list: SSH_SETTINGS_MENU and SSH_SETTINGS_FIELDS, keyed like device-types' SSH_ALGORITHM_CLASSES. An application tells a person what to set there. The CARP master check moves to virtual_ips, next to the CARP reader, so opnsense.py stays under its line ratchet. Refs NetOrk/netork#1769
This commit is contained in:
1 parent
0289963af8
commit
b50732c63c
7 files changed
+98
-10
No files matched your search
@@ -7,6 +7,11 @@ All notable changes to this driver. The format follows
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- Where the SSH server's algorithm lists are set (NetOrk/netork#1769):
|
||||
`SSH_SETTINGS_MENU` (*System → Settings → Administration → Secure Shell*) and
|
||||
`SSH_SETTINGS_FIELDS`, each list's field by its algorithm class. OPNsense writes
|
||||
sshd_config from config.xml and has no API for that section, so the driver does not
|
||||
harden the SSH server itself; an application tells a person what to set there.
|
||||
- Scheduled jobs (NetOrk/netork#1933, #43): `get_scheduled_jobs()` reads every cron job
|
||||
of config.xml over `/api/cron/settings/get`, with who owns it -- another component's
|
||||
job is `platform`, one written by `put_scheduled_job()` `application`, the rest
|
||||
|
||||
Reference in new issue
Block a user