~/talk

The Sheer Terror of PAM

Talkat RustConf 2022 · on Friday, 2022-08-05· [rust, security]
name:Xe Laso
links:none on file
slides:none on file

Shows how Rust code actually hooks into PAM by building a Tailscale PAM module, debugs it with gdb by breaking on dlopen/dlsym instead of the module, and fixes Ubuntu quirks like stripped debug symbols and SSH’s ChallengeResponseAuthentication default off so the module can run. Demonstrates the module working, warns about leaking memory if handwritten FFI and recommends use bindgen, measures latency risk from slow auth, and gives concrete distro-specific pitfalls and fixes.

AI-written summary · about

  1. 0:00Start
  2. 1:20Authentication
  3. 3:26Sun microsystems
  4. 4:27FreeBSD Handbook
  5. 13:39OpenSSH
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.