This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GRE: Bad checksum from pppd

When I try to connect to PPTP using Windows XP as a client the authentication fails and I see the following error in the Astaro logs:

2004:05:25-13:00:31 (none) pppd-pptp[3303]: Starting negotiation on /dev/ttyp0
2004:05:25-13:00:31 (none) pppd-pptp[3303]: sent [LCP ConfReq id=0x1        ]
2004:05:25-13:00:31 (none) pptpd[3302]: GRE: Bad checksum from pppd.

Please - let me know if you have any idea what the problem might be.

Thanks


This thread was automatically locked due to age.
  • same problem with 5.016

    2004:07:23-08:50:46 (none) pptpd[7668]: MGR: Launching /usr/local/sbin/pptpctrl to handle client
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: local address = 192.168.254.1
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: remote address = 192.168.254.2
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: pppd options file = /etc/ppp/options
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Client xxx.xxx.xxx.xxx control connection started
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Received PPTP Control Message (type: 1)
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Made a START CTRL CONN RPLY packet
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: I wrote 156 bytes to the client.
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Sent packet to client
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Received PPTP Control Message (type: 7)
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Set parameters to 1525 maxbps, 64 window size
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Made a OUT CALL RPLY packet
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Starting call (launching pppd, opening GRE)
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: pty_fd = 5
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: tty_fd = 6
    2004:07:23-08:50:46 (none) pptpd[7669]: CTRL (PPPD Launcher): Connection speed = 115200
    2004:07:23-08:50:46 (none) pptpd[7669]: CTRL (PPPD Launcher): local address = 192.168.254.1
    2004:07:23-08:50:46 (none) pptpd[7669]: CTRL (PPPD Launcher): remote address = 192.168.254.2
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: Plugin /usr/sbin/aua.so loaded.
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: AUA plugin initialized.
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: Plugin /usr/sbin/aua.so loaded.
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: AUA plugin initialized.
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: pppd 2.4.2 started by (unknown), uid 0
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: I wrote 32 bytes to the client.
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Sent packet to client
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: using channel 8
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: Starting negotiation on /dev/ttyp1
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:50:46 (none) pptpd[7668]: GRE: Bad checksum from pppd.
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Received PPTP Control Message (type: 15)
    2004:07:23-08:50:46 (none) pptpd[7668]: CTRL: Got a SET LINK INFO packet with standard ACCMs
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x0       ]
    2004:07:23-08:50:46 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x0 ]
    2004:07:23-08:50:47 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x1       ]
    2004:07:23-08:50:47 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x1 ]
    2004:07:23-08:50:49 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:50:50 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x2       ]
    2004:07:23-08:50:50 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x2 ]
    2004:07:23-08:50:52 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:50:54 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x3       ]
    2004:07:23-08:50:54 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x3 ]
    2004:07:23-08:50:55 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:50:58 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:50:58 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x4       ]
    2004:07:23-08:50:58 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x4 ]
    2004:07:23-08:51:01 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:51:02 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x5       ]
    2004:07:23-08:51:02 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x5 ]
    2004:07:23-08:51:04 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:51:06 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x6       ]
    2004:07:23-08:51:06 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x6 ]
    2004:07:23-08:51:07 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:51:10 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:51:11 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x7       ]
    2004:07:23-08:51:11 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x7 ]
    2004:07:23-08:51:13 (none) pppd-pptp[7669]: sent [LCP ConfReq id=0x1        ]
    2004:07:23-08:51:14 (none) pppd-pptp[7669]: rcvd [LCP ConfReq id=0x8       ]
    2004:07:23-08:51:14 (none) pppd-pptp[7669]: sent [LCP ConfRej id=0x8 ]
    2004:07:23-08:51:16 (none) pppd-pptp[7669]: LCP: timeout sending Config-Requests
    2004:07:23-08:51:16 (none) pppd-pptp[7669]: Connection terminated.
    2004:07:23-08:51:16 (none) pppd-pptp[7669]: Exit.
    2004:07:23-08:51:16 (none) pptpd[7668]: GRE: read(fd=5,buffer=804e7a0,len=8196) from PTY failed: status = -1 error = Input/output error
    2004:07:23-08:51:16 (none) pptpd[7668]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
    2004:07:23-08:51:16 (none) pptpd[7668]: CTRL: Closing child BCrelay with pid 0
    2004:07:23-08:51:16 (none) pptpd[7668]: CTRL: Closing child ppp with pid 7669
    2004:07:23-08:51:16 (none) pptpd[7668]: CTRL: Client xxx.xxx.xxx.xxx control connection finished
    2004:07:23-08:51:16 (none) pptpd[7668]: CTRL: Exiting now
    2004:07:23-08:51:16 (none) pptpd[849]: MGR: Reaped child 7668

    please help me!!!!
  • If you try to authenticate via radius, look here:
    https://community.sophos.com/products/unified-threat-management/astaroorg/f/52/t/28828

    In my log i have the same bad checksum error but the authentication works with these two settings.

    cu
    Yves
  • tanks for reply. but i dont use radius. just lokal user.
    i dont understand the two setting. who to setup?
  • hi,

    the two settings i have posted points to IAS configuration in windows (radius).
    it is not a solution for you, because you use the local user database. sry
  • [ QUOTE ]

    2004:05:27-14:12:36 (none) pppd-pptp[12188]: AUA plugin initialized.
    2004:05:27-14:12:36 (none) pppd-pptp[12188]: Plugin /usr/sbin/aua.so loaded.
    2004:05:27-14:12:36 (none) pppd-pptp[12188]: AUA plugin initialized.
    2004:05:27-14:12:36 (none) pppd-pptp[12188]: pppd 2.4.2 started by (unknown), uid 0
    2004:05:27-14:12:36 (none) pppd-pptp[12188]: Starting negotiation on /dev/ttyp0
    2004:05:27-14:12:36 (none) pptpd[12185]: GRE: Bad checksum from pppd.
    2004:05:27-14:12:49 (none) pppd-pptp[12188]: Terminating on signal 2.
    2004:05:27-14:12:49 (none) pppd-pptp[12188]: Modem hangup
     

    [/ QUOTE ]
    I get something similar when connecting to the internal interface. The same VPN connection created on my Win2k client worked before.

    2004:07:25-11:24:02 (none) pptpd[15653]: MGR: Manager process started
    2004:07:25-11:24:02 (none) pptpd[15653]: MGR: Maximum of 13 connections available
    2004:07:25-11:24:31 (none) pptpd[15820]: CTRL: Client 192.168.20.14 control connection started
    2004:07:25-11:24:31 (none) pptpd[15820]: CTRL: Starting call (launching pppd, opening GRE)
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: Plugin /usr/sbin/aua.so loaded.
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: AUA plugin initialized.
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: Plugin /usr/sbin/aua.so loaded.
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: AUA plugin initialized.
    2004:07:25-11:24:31 (none) pptpd[15820]: GRE: Bad checksum from pppd.
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: pppd 2.4.2 started by (unknown), uid 0
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: Starting negotiation on /dev/ttyp0
    2004:07:25-11:24:31 (none) pptpd[15820]: CTRL: Closing child BCrelay with pid 0
    2004:07:25-11:24:31 (none) pptpd[15820]: CTRL: Closing child ppp with pid 15821
    2004:07:25-11:24:31 (none) pptpd[15820]: CTRL: Client 192.168.20.14 control connection finished
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: Terminating on signal 2.
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: Modem hangup
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: Connection terminated.
    2004:07:25-11:24:31 (none) pppd-pptp[15821]: Exit.

    If I restart my active ASL (primary) 5.016 (I'm using HA), and the hot-standby (secondary) takes over, the VPN connection works. If I then restart the now active ASL (secondary) and let the original ASL (primary) take over again, the PPTP VPN, again, no longer functions.
  • If I go to the "security" tab in the VPN properties and then go to "Custom settings" and change the "Data encryption" setting from "Maximum strength encryption (Disconnect if server declines)" to "Require encryption (Disconnect if server declines)" the connection works. If I set it back to Maximum Strength, it continures to work.
    I'll test further and see if it can be related to an ASL restart/windows restart, etc.
  • now it works!!!
    it was my failer. a desktop firewall rule prevent inbound ip 47 access. SORRY!!
  • I had the same error message and the reason for me was that my stupid home ADSL modem/router was messing-up the GRE traffic.  This is actually quite common.  In my case I swapped my modem/router and it worked immediately, but not everyone (particularly not your home users) will have spare alternative models in the cupboard.  I think if I'd battled with the Thompson Home Gateway I'd have found a way of making it leave the traffic intact, but I hate that interface with a passion and was glad to avoid it.
    Good luck.
    Justin.
    ======