News for hackers. Stuff that matters.
Re:Using OpenBSD Relayd(8) as an Application Layer Gateway by somat on Thursday October 12, 2023 @03:59AM (#37854594)
I am not exactly sure what you want(Auth in the relayd process?) however you do mention ssh so I present you authpf.

http://man.openbsd.org/authpf

Update: I think strictly speaking auth is outside the scope of relayd, but looking at the docs, I bet I could wire something together around having specific cookies or other headers.

  match request type cookie "ident" value "hashed password"
or

  match request header "Authorization" value "Basic dXNlcm5hbWU6dGhpcyBpcyBzZWNyZXQK"
The above will not work by the way, last time I used relayd I found it to be one of the few openbsd programs where I had a hard time thinking the same way as it's author. That is, The syntax made my head hurt. I got it working but it was a chore. I think it is more that it ends up being a very complicated domain than poor syntax.

There are no comments on this comment yet.