linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PPP 2.4.2 not logging username
@ 2004-02-29 19:43 Philip Ross
  0 siblings, 0 replies; only message in thread
From: Philip Ross @ 2004-02-29 19:43 UTC (permalink / raw)
  To: linux-ppp

I am using PPP 2.4.2 with Poptop (MSCHAP-v2 + MPPE-128) and I am finding
that the username only gets logged when authentication fails.  Unless I
switch on debug logging and look for the CHAP Response packet, there is no
way of seeing who has logged in successfully.  Is it possible to get pppd to
log the username for all authentication attempts instead of just for failed
ones (I'm fairly certain it used to do this in previous 2.4.2 betas)?

Thanks,

Phil


A successful login:

Feb 29 19:25:59 hal pptpd[17210]: CTRL: Client aaa.bbb.ccc.ddd control
connection started
Feb 29 19:26:01 hal pptpd[17210]: CTRL: Starting call (launching pppd,
opening GRE)
Feb 29 19:26:01 hal pppd[17211]: pppd 2.4.2 started by root, uid 0
Feb 29 19:26:01 hal pppd[17211]: Using interface ppp2
Feb 29 19:26:01 hal pppd[17211]: Connect: ppp2 <--> /dev/pts/3
Feb 29 19:26:01 hal pptpd[17210]: GRE: Discarding duplicate packet
Feb 29 19:26:03 hal pptpd[17210]: CTRL: Ignored a SET LINK INFO packet with
real ACCMs!
Feb 29 19:26:03 hal pppd[17211]: MPPE 128-bit stateless compression enabled
Feb 29 19:26:06 hal pppd[17211]: local  IP address aaa.bbb.ccc.ddd
Feb 29 19:26:06 hal pppd[17211]: remote IP address aaa.bbb.ccc.ddd


A failed login with username (myuser) logged.

Feb 29 19:26:34 hal pptpd[17227]: CTRL: Client aaa.bbb.ccc.ddd control
connection started
Feb 29 19:26:34 hal pptpd[17227]: CTRL: Starting call (launching pppd,
opening GRE)
Feb 29 19:26:34 hal pppd[17228]: pppd 2.4.2 started by root, uid 0
Feb 29 19:26:34 hal pppd[17228]: Using interface ppp2
Feb 29 19:26:34 hal pppd[17228]: Connect: ppp2 <--> /dev/pts/3
Feb 29 19:26:34 hal pptpd[17227]: GRE: Discarding duplicate packet
Feb 29 19:26:37 hal pptpd[17227]: CTRL: Ignored a SET LINK INFO packet with
real ACCMs!
Feb 29 19:26:37 hal pppd[17228]: Peer myuser failed CHAP authentication
Feb 29 19:26:37 hal pppd[17228]: Connection terminated.
Feb 29 19:26:37 hal pppd[17228]: Exit.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-29 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-29 19:43 PPP 2.4.2 not logging username Philip Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).