ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] katrin не получается авторизация через pppd+pptpd
@ 2008-11-10 10:52 Vasyuk_Maksim
  2008-11-10 11:06 ` Denis Klimov
  0 siblings, 1 reply; 13+ messages in thread
From: Vasyuk_Maksim @ 2008-11-10 10:52 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Привет всем!

ALS4.1
# rpm -qa | grep katrin
katrin-web-apache-1.2.3-alt0.M41.1
katrin-web-1.2.3-alt0.M41.1
katrin-1.2.7-alt1

Пробую подключаться клиентом через mschap-v2 без mppe, до этого 
пробовале остальные методы тоже без mppe не хотит подключаться.
Если комментирую #plugin ppp-auth-katrin.so то все нормально цепляеться 
по логину из chap-secret.

katrind -d  в момент попыток подключения вообще никаких телодвижений не 
делает. Он вообще нужен в момент подключения или данные сверяются 
напрямую из базы?

Может я не докрутил виртуальный контейнер? Хотя без плагина от katrin 
все пахает.

Логи от pptpd
errors
#########################################################
Nov 10 22:48:44 billing katrin[14314]: Fatal signal 11
Nov 10 22:48:44 billing pptpd[14313]: GRE: 
read(fd=6,buffer=610ba0,len=8196) from PTY failed: status = -1 error = 
Input/output error, usually caused by unexpected termination of pppd, 
check option syntax and pppd logs
Nov 10 22:48:44 billing pptpd[14313]: CTRL: PTY read or GRE write failed 
(pty,gre)=(6,7)
#########################################################
info
#########################################################
Nov 10 22:48:40 billing pptpd[14313]: MGR: Launching /usr/sbin/pptpctrl 
to handle client
Nov 10 22:48:40 billing pptpd[14313]: CTRL: local address = 172.18.0.1
Nov 10 22:48:40 billing pptpd[14313]: CTRL: remote address = 172.18.0.10
Nov 10 22:48:40 billing pptpd[14313]: CTRL: pppd options file = 
/etc/ppp/options.pptpd
Nov 10 22:48:40 billing pptpd[14313]: CTRL: Client 172.19.0.54 control 
connection started
Nov 10 22:48:40 billing pptpd[14313]: CTRL: Received PPTP Control 
Message (type: 1)
Nov 10 22:48:40 billing pptpd[14313]: CTRL: Made a START CTRL CONN RPLY 
packet
Nov 10 22:48:40 billing pptpd[14313]: CTRL: I wrote 156 bytes to the client.
Nov 10 22:48:40 billing pptpd[14313]: CTRL: Sent packet to client
Nov 10 22:48:41 billing pptpd[14313]: CTRL: Received PPTP Control 
Message (type: 7)
Nov 10 22:48:41 billing pptpd[14313]: CTRL: Set parameters to 10000000 
maxbps, 3 window size
Nov 10 22:48:41 billing pptpd[14313]: CTRL: Made a OUT CALL RPLY packet
Nov 10 22:48:41 billing pptpd[14313]: CTRL: Starting call (launching 
pppd, opening GRE)
Nov 10 22:48:41 billing pptpd[14313]: CTRL: pty_fd = 6
Nov 10 22:48:41 billing pptpd[14313]: CTRL: tty_fd = 7
Nov 10 22:48:41 billing pptpd[14314]: CTRL (PPPD Launcher): program 
binary = /usr/sbin/pppd
Nov 10 22:48:41 billing pptpd[14314]: CTRL (PPPD Launcher): local 
address = 172.18.0.1
Nov 10 22:48:41 billing pptpd[14314]: CTRL (PPPD Launcher): remote 
address = 172.18.0.10
Nov 10 22:48:41 billing pptpd[14313]: CTRL: I wrote 32 bytes to the client.
Nov 10 22:48:41 billing pptpd[14313]: CTRL: Sent packet to client
Nov 10 22:48:41 billing pppd[14314]: Plugin ppp-auth-katrin.so loaded.
Nov 10 22:48:41 billing katrin[14314]: LOAD PPP PLUGIN
Nov 10 22:48:41 billing katrin[14314]: pppd options in effect:
Nov 10 22:48:41 billing katrin[14314]: debug^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: nologfd^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: dump^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: plugin ppp-auth-katrin.so^I^I# 
(from /etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: require-mschap-v2^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: refuse-pap^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: refuse-chap^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: refuse-mschap^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: name pptpd^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: 115200^I^I# (from command line)
Nov 10 22:48:41 billing katrin[14314]: lock^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: local^I^I# (from command line)
Nov 10 22:48:41 billing katrin[14314]: novj^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: novjccomp^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: noipdefault^I^I# (from 
/etc/ppp/options)
Nov 10 22:48:41 billing katrin[14314]: replacedefaultroute^I^I# (from 
/etc/ppp/options)
Nov 10 22:48:41 billing katrin[14314]: proxyarp^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: 172.18.0.1:172.18.0.10^I^I# (from 
command line)
Nov 10 22:48:41 billing katrin[14314]: nobsdcomp^I^I# (from 
/etc/ppp/options.pptpd)
Nov 10 22:48:41 billing katrin[14314]: nopredictor1^I^I# (from 
/etc/ppp/options)
Nov 10 22:48:41 billing katrin[14314]: pppd 2.4.4 started by root, uid 0
Nov 10 22:48:41 billing katrin[14314]: using channel 8
Nov 10 22:48:41 billing katrin[14314]: Using interface ppp0
Nov 10 22:48:41 billing katrin[14314]: Connect: ppp0 <--> /dev/pts/4
Nov 10 22:48:41 billing katrin[14314]: sent [LCP ConfReq id=0x1 
<asyncmap 0x0> <auth chap MS-v2> <magic 0x2fdf02ac> <pcomp> <accomp>]
Nov 10 22:48:41 billing pptpd[14313]: GRE: buffering packet #1 
(expecting #0, lost or reordered)
Nov 10 22:48:41 billing pptpd[14313]: GRE: buffering packet #2 
(expecting #0, lost or reordered)
Nov 10 22:48:44 billing pptpd[14313]: GRE: timeout waiting for 1 packets
Nov 10 22:48:44 billing pptpd[14313]: GRE: accepting #1 from queue
Nov 10 22:48:44 billing pptpd[14313]: GRE: accepting #2 from queue
Nov 10 22:48:44 billing pptpd[14313]: GRE: accepting packet #3
Nov 10 22:48:44 billing katrin[14314]: rcvd [LCP ConfReq id=0x1 
<asyncmap 0x0> <magic 0x2e81da8b> <pcomp> <accomp>]
Nov 10 22:48:44 billing katrin[14314]: sent [LCP ConfAck id=0x1 
<asyncmap 0x0> <magic 0x2e81da8b> <pcomp> <accomp>]
Nov 10 22:48:44 billing katrin[14314]: rcvd [LCP ConfAck id=0x1 
<asyncmap 0x0> <auth chap MS-v2> <magic 0x2fdf02ac> <pcomp> <accomp>]
Nov 10 22:48:44 billing katrin[14314]: sent [CHAP Challenge id=0xa5 
<a67074e3d04b713a600ad1a5eee8476a>, name = "pptpd"]
Nov 10 22:48:44 billing katrin[14314]: rcvd [LCP ConfReq id=0x1 
<asyncmap 0x0> <magic 0x2e81da8b> <pcomp> <accomp>]
Nov 10 22:48:44 billing katrin[14314]: sent [LCP ConfReq id=0x2 
<asyncmap 0x0> <auth chap MS-v2> <magic 0x7ccf98d> <pcomp> <accomp>]
Nov 10 22:48:44 billing katrin[14314]: sent [LCP ConfAck id=0x1 
<asyncmap 0x0> <magic 0x2e81da8b> <pcomp> <accomp>]
Nov 10 22:48:44 billing pptpd[14313]: GRE: accepting packet #4
Nov 10 22:48:44 billing pptpd[14313]: GRE: accepting packet #5
Nov 10 22:48:44 billing pptpd[14313]: GRE: accepting packet #6
Nov 10 22:48:44 billing katrin[14314]: rcvd [CHAP Response id=0xa5 
<c033388d2d2ea21c7fb1e9dd278a5fa40000000000000000ab9f565ef3135f3379effc56b9
5301add2cb24fa1d778ca200>, name = "dm0011"]
Nov 10 22:48:44 billing katrin[14314]: Discarded non-LCP packet when LCP 
not open
Nov 10 22:48:44 billing katrin[14314]: rcvd [LCP ConfReq id=0x2 
<asyncmap 0x0> <magic 0x60ec1953> <pcomp> <accomp>]
Nov 10 22:48:44 billing katrin[14314]: sent [LCP ConfAck id=0x2 
<asyncmap 0x0> <magic 0x60ec1953> <pcomp> <accomp>]
Nov 10 22:48:44 billing katrin[14314]: rcvd [LCP ConfAck id=0x2 
<asyncmap 0x0> <auth chap MS-v2> <magic 0x7ccf98d> <pcomp> <accomp>]
Nov 10 22:48:44 billing katrin[14314]: sent [CHAP Challenge id=0xab 
<bd5318a67cab56b8eb60ed154829f15d>, name = "pptpd"]
Nov 10 22:48:44 billing pptpd[14313]: GRE: accepting packet #7
Nov 10 22:48:44 billing katrin[14314]: rcvd [CHAP Response id=0xab 
<53d5dc6b8da7995f9a1d63213705218e0000000000000000d64e0184f240f2788f70e76daf
20f3aef476f912f1e51f8800>, name = "dm0011"]
Nov 10 22:48:44 billing katrin[14314]: login: dm0011
Nov 10 22:48:44 billing katrin[14314]: Exit.
Nov 10 22:48:44 billing pptpd[14313]: CTRL: Reaping child PPP[14314]
Nov 10 22:48:44 billing pptpd[14313]: CTRL: Client 172.19.0.54 control 
connection finished
Nov 10 22:48:44 billing pptpd[14313]: CTRL: Exiting now
Nov 10 22:48:44 billing pptpd[14241]: MGR: Reaped child 14313
########################################################################



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-11-12 12:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-10 10:52 [Sysadmins] katrin не получается авторизация через pppd+pptpd Vasyuk_Maksim
2008-11-10 11:06 ` Denis Klimov
2008-11-10 13:09   ` Vasyuk_Maksim
2008-11-10 12:52     ` Denis Klimov
2008-11-11 10:08       ` Vasyuk_Maksim
2008-11-10 12:56     ` Denis Klimov
2008-11-11 10:08       ` Vasyuk_Maksim
2008-11-11 12:45         ` Denis Klimov
2008-11-12  7:17           ` Vasyuk_Maksim
2008-11-12  6:48             ` Denis Klimov
2008-11-12 10:41               ` Vasyuk_Maksim
2008-11-12 10:46                 ` Denis Klimov
2008-11-12 12:56                   ` Vasyuk_Maksim

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git