Created attachment 925364 [details]
Restore log of successful logins
Description of problem:
For a long time pppd has stopped logging successful chap logins from a 'peer'
to pppd itself (ie: pppd used by pptpd as VPN server), while it keeps on
logging failed attempts. I think this is a bug, because at one time (ie RHEL3 or something like that) it did log successful logins and it's useful to look
at the logs and see the usernames of people who accessed the system.
Version-Release number of selected component (if applicable):
Install PPTPD and:
- login with wrong password: username gets logged
Aug 9 10:43:07 linux6 pppd: Using interface ppp0
Aug 9 10:43:07 linux6 pppd: Connect: ppp0 <--> /dev/pts/2
Aug 9 10:43:10 linux6 pppd: Peer abcd failed CHAP authentication <<===
- login with correct password: no username is logged
Aug 9 10:43:21 linux6 pppd: Using interface ppp0
Aug 9 10:43:21 linux6 pppd: Connect: ppp0 <--> /dev/pts/2
Aug 9 10:43:24 linux6 pppd: MPPE 128-bit stateless compression enabled
Aug 9 10:43:26 linux6 pppd: local IP address 10.0.0.1
Aug 9 10:43:26 linux6 pppd: remote IP address 10.0.0.2
I'm attaching a patch which restores the log, I got the patch from here
Successful login with the patch:
Aug 9 10:58:24 linux6 pppd: Using interface ppp0
Aug 9 10:58:24 linux6 pppd: Connect: ppp0 <--> /dev/pts/2
Aug 9 10:58:27 linux6 pppd: Peer abcd CHAP authentication succeeded <<==
Aug 9 10:58:27 linux6 pppd: MPPE 128-bit stateless compression enabled
Aug 9 10:58:28 linux6 pppd: local IP address 10.0.0.1
Aug 9 10:58:28 linux6 pppd: remote IP address 10.0.0.2
Red Hat Enterprise Linux version 7 entered the Maintenance Support 1 Phase in August 2019. In this phase only qualified Critical and Important Security errata advisories (RHSAs) and Urgent Priority Bug Fix errata advisories (RHBAs) may be released as they become available. Other errata advisories may be delivered as appropriate.
This bug has been reviewed by Support and Engineering representative and does not meet the inclusion criteria for Maintenance Support 1 Phase. If this issue still exists in newer major version of Red Hat Enterprise Linux, it has been cloned there and work will continue in the cloned bug.
For more information about Red Hat Enterprise Linux Lifecycle, please see https://access.redhat.com/support/policy/updates/errata/
Development Management has reviewed and declined this request. You may appeal this decision by using your Red Hat support channels, who will make certain the issue receives the proper prioritization with product and development management.