From: Vasiliy Fedorov <linux@liktv.ru> To: community@altlinux.ru Subject: [Comm] Не работает совсем PPTPD+freeradius Date: Mon, 20 Jun 2005 18:07:33 +0500 Message-ID: <200506201807.33578.linux@liktv.ru> (raw) Здравствуйте! Установил ppp-2.4.2-alt6, ppp-radius из исходников, pptdp 1.1.4-alt3.b4 - какой шел с дистрибутивом такой и стоит. FreeRadius 1.0.2 поставил, настроил - работает. PPTPD настроил на использование файла паролей CHAP - всё работает как надо. Потом захотел я сделать аутентификацию через RADIUS, в /etc/ppp/options.pptpd написал plugin radius.so. Так вот, pptpd (или pppd) ни одного запроса RADIUSу не посылают (виндосовский RRAS нормально работает в тоже время): freeradius пишет: Module: Instantiated detail (reply_log) Initializing the thread pool... Listening on authentication *:1812 Listening on accounting *:1813 Listening on proxy *:1814 Ready to process requests. и все. настройка freeradius такая: clients.conf clients 127.0.0.1 { secret = secret shortname = localhost } в /etc/radiusclient/server прописано 127.0.0.1 secret Вот содержимое лога /var/log/daemon/info Jun 20 17:52:56 linuxsrv pptpd[11446]: MGR: Launching /usr/sbin/pptpctrl to handle client Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: local address = 10.0.0.8 Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: remote address = 10.0.0.4 Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: pppd speed = 115200 Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: pppd options file = /etc/ppp/options.pptpd Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Client 10.0.0.2 control connection started Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Received PPTP Control Message (type: 1) Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Made a START CTRL CONN RPLY packet Jun 20 17:52:56 linuxsrv pptpd[11446]: CTR6 linuxsrv pptpd[11446]: CTRL: Sent packet to client Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Received PPTP Control Message (type: 7) Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Set parameters to 1525 maxbps, 64 window size Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Made a OUT CALL RPLY packet Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Starting call (launching pppd, opening GRE) Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: pty_fd = 5 Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: tty_fd = 6 Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: I wrote 32 bytes to the client. Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Sent packet to client Jun 20 17:52:56 linuxsrv pptpd[11447]: CTRL (PPPD Launcher): Connection speed = 115200 Jun 20 17:52:56 linuxsrv pptpd[11447]: CTRL (PPPD Launcher): local address = 10.0.0.8 Jun 20 17:52:56 linuxsrv pptpd[11447]: CTRL (PPPD Launcher): remote address = 10.0.0.4 Jun 20 17:52:56 linuxsrv pppd[11447]: Plugin radius.so loaded. Jun 20 17:52:56 linuxsrv pppd[11447]: RADIUS plugin initialized. Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Received PPTP Control Message (type: 15) Jun 20 17:52:56 linuxsrv pptpd[11446]: CTRL: Got a SET LINK INFO packet with standard ACCMs Jun 20 17:52:56 linuxsrv pppd[11447]: pppd 2.4.2 started by root, uid 0 Jun 20 17:52:56 linuxsrv pppd[11447]: using channel 35 Jun 20 17:52:56 linuxsrv pppd[11447]: Using interface ppp0 Jun 20 17:52:56 linuxsrv pppd[11447]: Connect: ppp0 <--> /dev/pts/10 Jun 20 17:52:56 linuxsrv pppd[11447]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x6880ac09> <pcomp> <accomp>] Jun 20 17:52:56 linuxsrv pppd[11447]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x6880ac09> <pcomp> <accomp>] Jun 20 17:52:58 linuxsrv pppd[11447]: rcvd [LCP ConfReq id=0x1 <magic 0x6e5c1896> <pcomp> <accomp>] Jun 20 17:52:58 linuxsrv pppd[11447]: sent [LCP ConfAck id=0x1 <magic 0x6e5c1896> <pcomp> <accomp>] Jun 20 17:52:58 linuxsrv pppd[11447]: sent [LCP EchoReq id=0x0 magic=0x6880ac09] Jun 20 17:52:58 linuxsrv pppd[11447]: sent [CHAP Challenge id=0xc8 <878be8a15c64536d8766bf23a3895ec9>, name = "pptpd"] Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: Received PPTP Control Message (type: 15) Jun 20 17:52:58 linuxsrv pppd[11447]: rcvd [LCP EchoRep id=0x0 magic=0x6e5c1896] Jun 20 17:52:58 linuxsrv pppd[11447]: rcvd [CHAP Response id=0xc8 <f359233b0e09f5c2cee471949c3ce96b>, name = "vasa"] Jun 20 17:52:58 linuxsrv pppd[11447]: sent [CHAP Failure id=0xc8 "\030\37777777663\031"] Jun 20 17:52:58 linuxsrv pppd[11447]: sent [LCP TermReq id=0x2 "Authentication failed"] Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: Received PPTP Control Message (type: 15) Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: Got a SET LINK INFO packet with standard ACCMs Jun 20 17:52:58 linuxsrv pppd[11447]: rcvd [LCP TermAck id=0x2 "Authentication failed"] Jun 20 17:52:58 linuxsrv pppd[11447]: Connection terminated. Jun 20 17:52:58 linuxsrv pppd[11447]: Exit. Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: Closing child BCrelay with pid 0 Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: Closing child ppp with pid 11447 Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: Client 10.0.0.2 control connection finished Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: Exiting now Jun 20 17:52:58 linuxsrv pptpd[11368]: MGR: Reaped child 11446 лог /var/log/daemons/error Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Jun 20 17:52:58 linuxsrv pppd[11447]: rc_own_ipaddress: couldn't get own IP address Jun 20 17:52:58 linuxsrv pptpd[11446]: GRE: read(fd=5,buffer=804e6e0,len=8196) from PTY failed: status = -1 error = Input/output error Jun 20 17:52:58 linuxsrv pptpd[11446]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6) Что я сделал неправильно - не пойму. Да и раньше я это не настраивал никогда на linuxe. В общем помогите, кто может. -- С уажением, Василий Федоров.
next reply other threads:[~2005-06-20 13:07 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-06-20 13:07 Vasiliy Fedorov [this message] 2005-06-20 13:16 ` Alexander Kuprin 2005-06-21 8:03 ` Re[2]: " Dank Bagryantsev 2005-06-21 9:02 ` Vasiliy Fedorov 2005-06-21 12:31 ` Re[2]: " Dank Bagryantsev 2005-06-22 7:09 ` Vasiliy Fedorov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200506201807.33578.linux@liktv.ru \ --to=linux@liktv.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git