bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-10 15:47 UTC
[Bug 2741] New: Export Port to PAM
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.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-10 15:47 UTC
[Bug 2741] Export Port to PAM
https://bugzilla.mindrot.org/show_bug.cgi?id=2741
Sebastian Roland <seroland86 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugzilla.mindrot.or
| |g/show_bug.cgi?id=2503
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-10 15:48 UTC
[Bug 2741] Export client port to PAM
https://bugzilla.mindrot.org/show_bug.cgi?id=2741
Sebastian Roland <seroland86 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Export Port to PAM |Export client port to PAM
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Dec-07 04:42 UTC
[Bug 2741] Export client port to PAM
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.
bugzilla-daemon at bugzilla.mindrot.org
2018-Dec-14 02:18 UTC
[Bug 2741] Export client port to PAM
https://bugzilla.mindrot.org/show_bug.cgi?id=2741
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |2915
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2915
[Bug 2915] Tracking bug for 8.0 release
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Dec-14 02:20 UTC
[Bug 2741] Export client port to PAM
https://bugzilla.mindrot.org/show_bug.cgi?id=2741
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
Attachment #3213|ok? |ok+
Flags| |
--
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.
bugzilla-daemon at bugzilla.mindrot.org
2018-Dec-14 02:24 UTC
[Bug 2741] Export client port to PAM
https://bugzilla.mindrot.org/show_bug.cgi?id=2741
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
This has been committed and will be in the openssh-8.0 release
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=2741
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
closing resolved bugs as of 8.6p1 release
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.