[Bug 2741] New: Export Port to PAM

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jul 11 01:47:25 AEST 2017


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

            Bug ID: 2741
           Summary: Export Port to PAM
           Product: Portable OpenSSH
           Version: 7.5p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: PAM support
          Assignee: unassigned-bugs at mindrot.org
          Reporter: seroland86 at gmail.com

Since OpenSSH 7.2 it is possible to identify sessions within log files
as session-related log entries include the clients port. Right now I
don't see a good way to correlate output of PAM modules to the session
as only the clients host (PAM_RHOST) is exported to the PAM
environment. If the clients port was accessible within PAM it can be
included in log messages and thus correlated to a session. Export can
be e.g. done through pam_set_item() or pam_putenv().

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list