Page MenuHomeFreeBSD

sshd: cache remote hostname for sandboxed child
Needs ReviewPublic

Authored by emaste on Apr 25 2021, 7:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 22 2023, 9:37 PM
Unknown Object (File)
Dec 12 2023, 6:11 AM
Unknown Object (File)
Sep 16 2023, 11:01 AM
Unknown Object (File)
Aug 9 2023, 5:57 AM
Unknown Object (File)
Jun 28 2023, 10:42 AM
Unknown Object (File)
Jun 24 2023, 4:44 AM
Unknown Object (File)
May 15 2023, 10:47 AM
Unknown Object (File)
May 8 2023, 4:17 AM
Subscribers
None

Details

Summary

From FreeBSD:

commit fc3c19a9fceeea48a9259ac3833a125804342c0e
Author: Ed Maste <emaste@FreeBSD.org>
Date:   Sat Oct 6 21:32:55 2018 +0000

    sshd: address capsicum issues

    * Add a wrapper to proxy login_getpwclass(3) as it is not allowed in
      capability mode.
    * Cache timezone data via caph_cache_tzdata() as we cannot access the
      timezone file.
    * Reverse resolve hostname before entering capability mode.

    PR:             231172
    Submitted by:   naito.yuichiro@gmail.com
    Reviewed by:    cem, des
    Approved by:    re (rgrimes)
    MFC after:      3 weeks
    Differential Revision:  https://reviews.freebsd.org/D17128

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped