From: James C. <qu...@la...> - 2018-09-21 21:47:48
|
You could either; 1. upgrade to 1.10.0 which was released in January, although none of the patches between 1.9.0 and 1.10.0 seem to me to be related to your problem, 2. check what the Debian or Ubuntu developers changed in the package, and remove those changes, or; 4. use git bisect to find which patch introduced the problem between 1.8.0 and 1.9.0. On Fri, Sep 21, 2018 at 09:20:47PM +0000, dz wrote: > Hello, > > Adding --missing-window 300 to pptp command does not solve the issue in > v.1.9.0+ds-2. > Still the connection stalls after a burst of 'discarding duplicate packet' > warnings: > --- > Sep 21 22:36:34 dz-test pptp[1620]: anon warn[pqueue_add:pqueue.c:151]: > discarding duplicate packet 166186 > Sep 21 22:36:34 dz-test pptp[1620]: anon warn[pqueue_add:pqueue.c:151]: > discarding duplicate packet 166188 > Sep 21 22:36:34 dz-test pptp[1620]: anon warn[pqueue_add:pqueue.c:151]: > discarding duplicate packet 166189 > ... > Sep 21 22:36:36 dz-test pptp[1620]: anon warn[pqueue_add:pqueue.c:151]: > discarding duplicate packet 166295 > Sep 21 22:36:36 dz-test pptp[1620]: anon warn[pqueue_add:pqueue.c:151]: > discarding duplicate packet 166296 > Sep 21 22:36:36 dz-test pptp[1620]: anon warn[pqueue_add:pqueue.c:151]: > discarding duplicate packet 166297 > Sep 21 22:36:36 dz-test pptp[1620]: anon warn[pqueue_add:pqueue.c:151]: > discarding duplicate packet 166298 > --- > Should I try anything else? > > Regards, Dmitry > > ------ Wiadomość oryginalna ------ > Od: "James Cameron" <qu...@la...> > Do: "dz" <dz...@gm...> > DW: ppt...@li... > Data: 21.09.2018 02:35:12 > Temat: Re: [pptp-devel] pptp connection dies in pptp-linux_1.9.* Works fine > in pptp-linux_1.8.0-1 > > >It's an option for pptp, not an option for pppd. > > > >On Thu, Sep 20, 2018 at 10:20:55PM +0000, dz wrote: > >>Thanks for your prompt reply! > >>However default Ubuntu 18.04 pptp-linux v.1.9.0+ds-2 does not seem to > >>recognize the option: > >>--- > >>pon provider --missing-window 300 > >>/usr/sbin/pppd: unrecognized option '--missing-window' > >>pppd version 2.4.7 > >>Usage: /usr/sbin/pppd [ options ], where options are: > >> <device> Communicate over the named device > >> <speed> Set the baud rate to <speed> > >> <loc>:<rem> Set the local and/or remote interface IP > >> addresses. Either one may be omitted. > >> asyncmap <n> Set the desired async map to hex <n> > >> auth Require authentication from peer > >> connect <p> Invoke shell command <p> to set up the serial line > >> crtscts Use hardware RTS/CTS flow control > >> defaultroute Add default route through interface > >> file <f> Take options from file <f> > >> modem Use modem control lines > >> mru <n> Set MRU value to <n> for negotiation > >>See pppd(8) for more options. > >>--- > >>Should a version of the package understanding the option be installed > >>from a > >>specific location other than default Ubuntu 18.04 repository? > >> > >>------ Wiadomość oryginalna ------ > >>Od: "James Cameron" <qu...@la...> > >>Do: "dz" <dz...@gm...> > >>DW: ppt...@li... > >>Data: 21.09.2018 00:05:36 > >>Temat: Re: [pptp-devel] pptp connection dies in pptp-linux_1.9.* Works > >>fine > >>in pptp-linux_1.8.0-1 > >> > >>>Your network environment is probably unusual, with duplicate or > >>>dropped packets. > >>> > >>>Please try adding --missing-window 300 to the pptp command. > >>> > >>>That was the default in 1.8.0, and it was disabled in 1.9.0. > >>> > >>>On Thu, Sep 20, 2018 at 07:10:50PM +0000, dz wrote: > >>>>Dear developers, > >>>> > >>>>After upgrading Ubuntu and hence pptp-linux package to version > >>>>1.9.0+ds-2 my > >>>>connection to an Asus home router-based pptp server dies after some > >>>>minutes > >>>>of active usage throwing in syslog a burst of dozens of messages > >>>>"pptp[1320]: anon warn[pqueue_add:pqueue.c:151]: discarding duplicate > >>>>packet > >>>>nnnnn". > >>>>The connection is still on and ppp0 is shown among interfaces but no > >>>>data > >>>>goes through. Disconnecting and re-connecting resolves the issue just > >>>>for > >>>>few minutes of active use. > >>>>Uninstalling 1.9.0+ds-2 version of pptp-linux and installing instead > >>>>pptp-linux_1.8.0-1_amd64.deb fixes the issue. Occasional single > >>messages > >>>>"discarding duplicate packet yyyyy" appear in the log with no impact > >>to > >>>>the > >>>>connection. It stays on and works stable for days. > >>>>The problem is repeatable. I have installed a fresh formatted test > >>>>system > >>>>with ubuntu-18.04.1-server-amd64 OS and pptp-linux v.1.9.0+ds-2 and > >>the > >>>>problem was there at once. Downgrading to > >>>>pptp-linux_1.9.0+ds-1_amd64.deb > >>>>does not solve the issue. Downgrading to v.1.8.0-1 does solve it at > >>>>once. > >>>>Providing a relevant fragment of syslog for the reference: > >>>>--- > >>>>Sep 19 23:12:18 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58793 > >>>>Sep 19 23:12:18 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58797 > >>>>Sep 19 23:12:18 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58839 > >>>>Sep 19 23:12:18 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58840 > >>>>Sep 19 23:12:18 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58841 > >>>>Sep 19 23:12:18 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58842 > >>>>... > >>>>Sep 19 23:12:18 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58884 > >>>>Sep 19 23:12:19 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58885 > >>>>... > >>>>Sep 19 23:12:19 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58906 > >>>>Sep 19 23:12:19 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58907 > >>>>Sep 19 23:12:19 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58908 > >>>>Sep 19 23:12:19 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58909 > >>>>Sep 19 23:12:19 dz-test pptp[1320]: anon > >>warn[pqueue_add:pqueue.c:151]: > >>>>discarding duplicate packet 58910 > >>>>--- > >>>>After the last line the connection became unusable. > >>>>I could provide more information if needed. > >>>>Please help to investigate the issue and possibly to resolve it in the > >>>>next > >>>>version of pptp-linux package. > >>>> > >>>>With best regards, Dmitry > >>>> > >>>> > >>>> > >>>>_______________________________________________ > >>>>pptpclient-devel mailing list > >>>>ppt...@li... > >>>>https://lists.sourceforge.net/lists/listinfo/pptpclient-devel > >>> > >>>-- > >>>James Cameron > >>>http://quozl.netrek.org/ > >> > > > >-- > >James Cameron > >http://quozl.netrek.org/ > -- James Cameron http://quozl.netrek.org/ |