Prio: P2. driver / standard has been red on main since #63, which blocks every PR here, #64 (NetOrk/netork#1811) included.
harden_ssh_server (70 lines), _apply_or_restore (51) and exempt_from_ssh_penalties (81) are now under the 50-line limit. Six parts moved into methods of their own:
the reading and planning (_plan_hardening)
the check that sshd uses the new lists (_algorithms_ignored)
the putting back (_put_back)
the session's address (_session_client_address)
the reasons to leave the exemption as it is (_penalty_exemption_unchanged)
writing the exemption, and the check that sshd uses it (_write_penalty_dropin, _exemption_ignored)
Same behaviour and same tests (978). napalm-standard ratchet is within the baseline, and harden_ssh_server leaves the baseline.
Also green against this branch: napalm-linux (272 tests), napalm-bsd (135), napalm-proxmox (361), napalm-openmediavault (21).
Closes #65.
Prio: P2. `driver / standard` has been red on main since #63, which blocks every PR here, #64 (NetOrk/netork#1811) included.
`harden_ssh_server` (70 lines), `_apply_or_restore` (51) and `exempt_from_ssh_penalties` (81) are now under the 50-line limit. Six parts moved into methods of their own:
- the reading and planning (`_plan_hardening`)
- the check that sshd uses the new lists (`_algorithms_ignored`)
- the putting back (`_put_back`)
- the session's address (`_session_client_address`)
- the reasons to leave the exemption as it is (`_penalty_exemption_unchanged`)
- writing the exemption, and the check that sshd uses it (`_write_penalty_dropin`, `_exemption_ignored`)
Same behaviour and same tests (978). `napalm-standard ratchet` is within the baseline, and `harden_ssh_server` leaves the baseline.
Also green against this branch: napalm-linux (272 tests), napalm-bsd (135), napalm-proxmox (361), napalm-openmediavault (21).
harden_ssh_server (70), _apply_or_restore (51) and exempt_from_ssh_penalties
(81) had grown past the 50-line limit with #63, and `driver / standard` was
red on main. The reading and planning, the putting back, the session's
address, the reasons to leave the exemption and its write move into methods
of their own. Same behaviour, same tests; harden_ssh_server leaves the
baseline.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #65.
Prio: P2.
driver / standardhas been red on main since #63, which blocks every PR here, #64 (NetOrk/netork#1811) included.harden_ssh_server(70 lines),_apply_or_restore(51) andexempt_from_ssh_penalties(81) are now under the 50-line limit. Six parts moved into methods of their own:_plan_hardening)_algorithms_ignored)_put_back)_session_client_address)_penalty_exemption_unchanged)_write_penalty_dropin,_exemption_ignored)Same behaviour and same tests (978).
napalm-standard ratchetis within the baseline, andharden_ssh_serverleaves the baseline.Also green against this branch: napalm-linux (272 tests), napalm-bsd (135), napalm-proxmox (361), napalm-openmediavault (21).