Problem with pptp and freeradius
liran tal
liransgarage at gmail.com
Thu Jan 3 22:51:18 CET 2008
Hey Danny,
It would probably be more useful if you attach also your freeradius
configuration and the debug log of freeradius when ran with -X argument
for debugging.
Also consider checking that rc_avpair attribute.
Regards,
Liran.
On Jan 3, 2008 1:59 PM, Danny Milshtein <danny at videocells.com> wrote:
> Hi,
>
>
>
> When trying to connect from VPN client with chap method I get the
> following error messages from VPN server
>
>
>
> - GRE: Bad checksum from pppd
>
> - rc_avpair_new: unknown attribute
>
>
>
> When testing without radius plug-in (chap-secret file) work fine
>
>
>
> I'm using pptp version 1.3
>
> freeradius 1.1.3
>
>
>
> Attached my configuration files
>
>
>
> Thanks
>
>
>
> Danny
>
>
>
>
>
>
>
>
>
> # /var/log/messages
>
> #
>
> Jan 3 14:42:32 host-8-220 pptpd[31170]: CTRL: Client 192.168.8.244control connection started
>
> Jan 3 14:42:32 host-8-220 pptpd[31170]: CTRL: Starting call (launching
> pppd, opening GRE)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: Plugin radius.so loaded.
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: RADIUS plugin initialized.
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: Plugin radattr.so loaded.
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: RADATTR plugin initialized.
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: pppd options in effect:
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: debug # (from
> /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: idle 30 # (from
> /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: dump # (from
> /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: plugin radius.so #
> (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: plugin radattr.so #
> (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: auth # (from
> /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: name pptp #
> (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: 115200 # (from
> command line)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: lock # (from
> /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: local # (from
> command line)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: asyncmap 0 #
> (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: mru 1000 #
> (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: mtu 1000 #
> (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: lcp-echo-failure 3
> # (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: lcp-echo-interval 10
> # (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: ipparam 192.168.8.244
> # (from command line)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: proxyarp #
> (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: 192.168.1.107:192.168.2.1
> # (from command line)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: nobsdcomp #
> (from /etc/ppp/options.pptpd)
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: pppd 2.4.4 started by root, uid 0
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: Using interface ppp0
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: Connect: ppp0 <--> /dev/pts/2
>
> Jan 3 14:42:32 host-8-220 pptpd[31170]: GRE: Bad checksum from pppd.
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: rc_avpair_new: unknown attribute 6
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: rc_avpair_new: unknown attribute 7
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: rc_avpair_new: unknown attribute 1
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: rc_avpair_new: unknown attribute
> 60
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: rc_avpair_new: unknown attribute 3
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: rc_avpair_new: unknown attribute
> 31
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: rc_avpair_new: unknown attribute
> 32
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: Peer username failed CHAP
> authentication
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: Connection terminated.
>
> Jan 3 14:42:32 host-8-220 pppd[31171]: Exit.
>
> Jan 3 14:42:32 host-8-220 pptpd[31170]: GRE:
> read(fd=6,buffer=804e560,len=8196) from PTY failed: status = -1 error =
> Input/output error, usually caused by unexpected termination of pppd, check
> option syntax and pppd logs
>
> Jan 3 14:42:32 host-8-220 pptpd[31170]: CTRL: PTY read or GRE write
> failed (pty,gre)=(6,7)
>
> Jan 3 14:42:32 host-8-220 pptpd[31170]: CTRL: Client 192.168.8.244control connection finished
>
>
>
>
>
> # /etc/ppp/options.pptpd
>
> #
>
> name pptp
>
> debug
>
> dump
>
> lock
>
> nobsdcomp
>
> auth
>
> mtu 1000
>
> mru 1000
>
> lcp-echo-failure 3
>
> lcp-echo-interval 10
>
> idle 30
>
> plugin radius.so
>
> plugin radattr.so
>
>
>
> # /etc/radiusclient/radiusclient.conf
>
> #
>
> auth_order radius
>
> login_tries 4
>
> login_timeout 60
>
> nologin /etc/nologin
>
> issue /etc/radiusclient/issue
>
> authserver localhost:1812
>
> acctserver localhost:1813
>
> servers /etc/radiusclient/servers
>
> dictionary /etc/radiusclient/dictionary
>
> login_radius /usr/sbin/login.radius
>
> seqfile /var/run/radius.seq
>
> mapfile /etc/radiusclient/port-id-map
>
> default_realm
>
> radius_timeout 10
>
> radius_retries 3
>
> nas_identifier surdemo
>
> login_local /bin/login
>
>
>
> # /etc/radiusclient/servers
>
> #
>
> localhost test123
>
>
>
>
>
>
>
> *Danny Milshtein*
>
> * *
>
> *VideoCells Ltd.*
>
> Tel +972-3-9291516
>
> Fax +972-3-9291513
>
> Mobile +972-52-8388561
>
> danny at videocells.com
>
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.17.13/1207 - Release Date: 1/2/2008
> 11:29 AM
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080103/729f7196/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4073 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080103/729f7196/attachment.jpg>
More information about the Freeradius-Users
mailing list