[Bug 2741] Export client port to PAM

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Dec 7 15:42:47 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2741

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |djm at mindrot.org
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
   Attachment #3213|                            |ok?
              Flags|                            |

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3213
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3213&action=edit
set SSH_CONNECTION in PAM environment

Unfortunately it can't be done using pam_set_item() as there is no
equivalent key to PAM_RHOST for the port number. That's a pity as that
would be the most natural way to supply this information.

So this sets SSH_CONNECTION in the PAM environment, identically to what
should be later set in the user enviornment. This contains the full
4-tuple describing the connection.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list