I set up a dd-wrt device as my local vpn server. Now I'm trying to
generate some entries in syslog if a vpn connection was established.
everything works fine, but if a connect was successfull you can't find
any username in syslog. if the connection fails you can find the
username in syslog.
syslogd --> passed:
Aug 6 22:48:27 daemon.info pptpd[12056]: CTRL: Client *.*.*.*
control connection started
Aug 6 22:48:27 daemon.info pptpd[12056]: CTRL: Starting call (launching
pppd, opening GRE)
Aug 6 22:48:27 daemon.notice pppd[12057]: pppd 2.4.3 started by root,
uid
0
Aug 6 22:48:27 daemon.info pppd[12057]: Using interface ppp1
Aug 6 22:48:27 daemon.notice pppd[12057]: Connect: ppp1 <--> /dev/pts/1
Aug 6 22:48:27 daemon.err pptpd[12056]: CTRL: Ignored a SET LINK INFO
packet with real ACCMs!
Aug 6 22:48:27 daemon.info pppd[12057]: found interface br0 for proxy
arp
Aug 6 22:48:27 daemon.notice pppd[12057]: local IP address 192.168.0.1
Aug 6 22:48:27 daemon.notice pppd[12057]: remote IP address
192.168.0.10
Aug 6 22:48:27 daemon.notice pppd[12057]: MPPC/MPPE 128-bit stateless
compression enabled
syslogd --> failed:
Aug 6 22:46:35 daemon.info pptpd[11846]: CTRL: Client *.*.*.*
control connection started
Aug 6 22:46:35 daemon.info pptpd[11846]: CTRL: Starting call (launching
pppd, opening GRE)
Aug 6 22:46:35 daemon.notice pppd[11847]: pppd 2.4.3 started by root,
uid
0
Aug 6 22:46:35 daemon.info pppd[11847]: Using interface ppp1
Aug 6 22:46:35 daemon.notice pppd[11847]: Connect: ppp1 <--> /dev/pts/1
Aug 6 22:46:35 daemon.err pptpd[11846]: CTRL: Ignored a SET LINK INFO
packet with real ACCMs!
Aug 6 22:46:35 daemon.warn pppd[11847]: Peer USERNAME failed CHAP
authentication
Aug 6 22:46:35 daemon.notice pppd[11847]: Connection terminated.
Aug 6 22:46:35 daemon.info pppd[11847]: Exit.
Aug 6 22:46:35 daemon.err pptpd[11846]: GRE:
read(fd=17,buffer=1000a5fc,len=8196) from PTY failed: status = -1 error
=
Input/output error, usually caused by unexpected termination of pppd,
check
option syntax and pppd logs
Aug 6 22:46:35 daemon.err pptpd[11846]: CTRL: PTY read or GRE write
failed
(pty,gre)=(17,1
Aug 6 22:46:35 daemon.debug pptpd[11846]: CTRL: Reaping child
PPP[11847]
Aug 6 22:46:35 daemon.info pptpd[11846]: CTRL: Client *.*.*.*
control connection finished