pppd timeout options
Hi all, I'm trying to find that obscure option in pptpd that will keep an even idle connection alive forever...any ideas ? Thanks ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Hi, should be named keepalive. But remember there could be many Hardware inbetween causing a hangup. If you want to be shure that the line is hold send 0 byte sized tcp packets. This is what ssh keepalive is doing. As workaround man ping. Greetings Dirk Miguel ALBUQUERQUE schrieb:
Hi all,
I'm trying to find that obscure option in pptpd that will keep an even idle connection alive forever...any ideas ?
Thanks ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
TRIA IT-consulting GmbH Joseph-Wild-Straße 20 81829 München Germany Tel: +49 (89) 92907-0 Fax: +49 (89) 92907-100 http://www.tria.de -------------------------------------------------------- working hard | for your success -------------------------------------------------------- Registergericht München HRB 113466 USt.-IdNr. DE 180017238 Steuer-Nr. 802/40600 Geschäftsführer: Richard Hofbauer kaufm. Geschäftsleitung: Rosa Igl -------------------------------------------------------- Nachricht von: Dirk.Schreiner@tria.de Nachricht an: miguel.albuquerque@codalis.ch, suse-security@suse.com # Dateianhänge: 0 Die Mitteilung dieser E-Mail ist vertraulich und nur für den oben genannten Empfänger bestimmt. Wenn Sie nicht der vorgesehene Empfänger dieser E-Mail oder mit der Aushändigung an ihn betraut sind, weisen wir darauf hin, daß jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung sowie Weitergabe des Inhalts untersagt ist. Wir bitten Sie uns in diesem Fall umgehend zu unterrichten. Vielen Dank The information contained in this E-Mail is privileged and confidental intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient or competent to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this E-Mail is strictly prohibited. If you have received this E-Mail in error, please notify us immediately. Thank you
The keepalive options seems to be unknown to the pptpd deamon... ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ "Dirk Schreiner" <Dirk.Schreiner@tria.de> wrote on 26/04/2005 10:59:03:
Hi, should be named keepalive. But remember there could be many Hardware inbetween causing a hangup.
If you want to be shure that the line is hold send 0 byte sized tcp packets.
This is what ssh keepalive is doing.
As workaround man ping.
Greetings Dirk
Miguel ALBUQUERQUE schrieb:
Hi all,
I'm trying to find that obscure option in pptpd that will keep an even
idle connection alive forever...any ideas ?
Thanks ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
TRIA IT-consulting GmbH Joseph-Wild-Straße 20 81829 München Germany Tel: +49 (89) 92907-0 Fax: +49 (89) 92907-100 http://www.tria.de --------------------------------------------------------
working hard | for your success
--------------------------------------------------------
Registergericht München HRB 113466
USt.-IdNr. DE 180017238 Steuer-Nr. 802/40600
Geschäftsführer: Richard Hofbauer kaufm. Geschäftsleitung: Rosa Igl
--------------------------------------------------------
Nachricht von: Dirk.Schreiner@tria.de
Nachricht an: miguel.albuquerque@codalis.ch, suse-security@suse.com
# Dateianhänge: 0 Die Mitteilung dieser E-Mail ist vertraulich und nur für den oben genannten Empfänger bestimmt. Wenn Sie nicht der vorgesehene Empfänger dieser E-Mail oder mit der Aushändigung an ihn betraut sind, weisen wir darauf hin, daß jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung sowie Weitergabe des Inhalts untersagt ist. Wir bitten Sie uns in diesem Fall umgehend zu unterrichten. Vielen Dank The information contained in this E-Mail is privileged and confidental intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient or competent to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this E-Mail is strictly prohibited. If you have received this E- Mail in error, please notify us immediately. Thank you
you need to set lcp-echo-failure in /etc/ppp/options to a high number (preferably) or comment it out regards Nick On Tuesday 26 April 2005 11:37, Miguel ALBUQUERQUE wrote: Hi all, I'm trying to find that obscure option in pptpd that will keep an even idle connection alive forever...any ideas ? Thanks ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
no effect...the server keeps disconnecting idle clients... I also have tried persist, idle 0 with no changes... ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ nick <thenazerite@mighty.co.za> wrote on 26/04/2005 13:04:23:
you need to set
lcp-echo-failure
in /etc/ppp/options to a high number (preferably) or comment it out
regards
Nick
On Tuesday 26 April 2005 11:37, Miguel ALBUQUERQUE wrote: Hi all,
I'm trying to find that obscure option in pptpd that will keep an even idle connection alive forever...any ideas ?
Thanks ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
On Tue, Apr 26, 2005 at 12:17:49PM +0100, Miguel ALBUQUERQUE wrote:
no effect...the server keeps disconnecting idle clients...
I also have tried persist, idle 0 with no changes...
What do the logs say? Something about e.g. idle time or lcp timeout? Are you sure the server disconnects and not the client? ciao Arvin
Hmm, after looking at the logs more closely i've found this... Apr 26 15:07:59 linux pppd[18648]: rcvd [LCP TermReq id=0x2 "MPPE disabled"] Apr 26 15:07:59 linux pppd[18648]: LCP terminated by peer (MPPE disabled) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Apr 26 15:07:59 linux pppd[18648]: Script /etc/ppp/auth-down started (pid 18729) Apr 26 15:07:59 linux pppd[18648]: Script /etc/ppp/ip-down started (pid 18730) Apr 26 15:07:59 linux pppd[18648]: sent [LCP TermAck id=0x2] Apr 26 15:07:59 linux pppd[18648]: rcvd [LCP TermReq id=0x3 "MPPE disabled"] Apr 26 15:07:59 linux pppd[18648]: sent [LCP TermAck id=0x3] Apr 26 15:07:59 linux pppd[18648]: Script /etc/ppp/auth-down finished (pid 18729), status = 0x0 Apr 26 15:07:59 linux pppd[18648]: Script /etc/ppp/ip-down finished (pid 18730), status = 0x0 Apr 26 15:07:59 linux /etc/ppp/ip-down.d/freeswan: this script needs to be run from ip-up or ip-down Apr 26 15:08:01 linux pppd[18648]: Connection terminated. Apr 26 15:08:01 linux pppd[18648]: Connect time 13.4 minutes. Apr 26 15:08:01 linux pppd[18648]: Sent 492 bytes, received 498 bytes. It seems to be the client...i am right ? ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ Arvin Schnell <arvin@suse.de> wrote on 26/04/2005 13:48:07:
On Tue, Apr 26, 2005 at 12:17:49PM +0100, Miguel ALBUQUERQUE wrote:
no effect...the server keeps disconnecting idle clients...
I also have tried persist, idle 0 with no changes...
What do the logs say? Something about e.g. idle time or lcp timeout? Are you sure the server disconnects and not the client?
ciao Arvin
On Tue, Apr 26, 2005 at 02:10:47PM +0100, Miguel ALBUQUERQUE wrote:
Hmm, after looking at the logs more closely i've found this...
Apr 26 15:07:59 linux pppd[18648]: rcvd [LCP TermReq id=0x2 "MPPE disabled"]
Apr 26 15:07:59 linux pppd[18648]: LCP terminated by peer (MPPE disabled) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Apr 26 15:07:59 linux pppd[18648]: Script /etc/ppp/auth-down started (pid 18729) Apr 26 15:07:59 linux pppd[18648]: Script /etc/ppp/ip-down started (pid 18730) Apr 26 15:07:59 linux pppd[18648]: sent [LCP TermAck id=0x2] Apr 26 15:07:59 linux pppd[18648]: rcvd [LCP TermReq id=0x3 "MPPE disabled"] Apr 26 15:07:59 linux pppd[18648]: sent [LCP TermAck id=0x3] Apr 26 15:07:59 linux pppd[18648]: Script /etc/ppp/auth-down finished (pid 18729), status = 0x0 Apr 26 15:07:59 linux pppd[18648]: Script /etc/ppp/ip-down finished (pid 18730), status = 0x0 Apr 26 15:07:59 linux /etc/ppp/ip-down.d/freeswan: this script needs to be run from ip-up or ip-down Apr 26 15:08:01 linux pppd[18648]: Connection terminated. Apr 26 15:08:01 linux pppd[18648]: Connect time 13.4 minutes. Apr 26 15:08:01 linux pppd[18648]: Sent 492 bytes, received 498 bytes.
It seems to be the client...i am right ?
Yes, looks like the other side (the client). So, check the log on the other side. ciao Arvin
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! nick schrieb:
you need to set
lcp-echo-failure
in /etc/ppp/options to a high number (preferably) or comment it out
regards
Nick
On Tuesday 26 April 2005 11:37, Miguel ALBUQUERQUE wrote: Hi all,
I'm trying to find that obscure option in pptpd that will keep an even idle connection alive forever...any ideas ?
Thanks ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ CODALIS SA www.codalis.ch 17, rue de la Fontenette, CAROUGE TEL : +41 22 827 30 30 FAX : +41 22 827 30 33 ______________________________________________________________ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»«¤»¥«¤»§«¤»¥«¤» ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
As SuSE uses defect dsl-client software I considered using adsl-client in the office (roaring penguin adsl and modified script with ddclient for dyndns-entry). This doesn't make any problems at all since over a year (only reboots due to frequent kernelupdates by SuSE :( which keeps my uptime low). As config I use: /etc/ppp/pppoe.conf [...] DEMAND = no CONNECT_TIMEOUT=0 CONNECT_POLL=2 PING="." SYNCHRONOUS=no CLAMPMSS=1412 LCP_INTERVAL=20 LCP_FAILURE=3 PPPOE_TIMEOUT=80 [...] If you are not so familliar with configureing it you can use webmin as there is a plugin for it. Maybe you give it a try and get better results. Reguards Philippe P.S.: Comparison of uptime with different clients: adsl-client-uptime: 100% SuSE-solution-uptime: every day down as a matter of fact this sucks and I switched and was happy. - -- Diese Nachricht ist digital signiert und enthält weder Siegel noch Unterschrift! Die unaufgeforderte Zusendung einer Werbemail an Privatleute verstößt gegen §1 UWG und 823 I BGB (Beschluß des LG Berlin vom 2.8.1998 Az: 16 O 201/98). Jede kommerzielle Nutzung der übermittelten persönlichen Daten sowie deren Weitergabe an Dritte ist ausdrücklich untersagt! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQD1AwUBQm47XENg1DRVIGjBAQI1LAb/QKrEVnxy3NYC+vNLRajJGR7pjYbS/XeJ zHoibcFeM0MiAdQFfr00W6uQZ81PEkM1e4iTGV0x8Gh9GSoZABd9Lp65Vi4yBiDe j8E3N6rgBR5xiwKypVZKtlWULZspLDR/tOP8r8y1pASY4pCDwcOG3jzbC1hBtZbf O8CzElzo32SdBwJNBrGU4IXUwEBxTZALGsXyvtOi+X/rBstc/aQFd/TF5oZOGOoR 4wnBgdHGqZJkEyQMGk075g0PwWHiItgPrRMKeFSDYZk/962kO+azW8/51pbfY+Nv ihaQQ4nqj3A= =K0AZ -----END PGP SIGNATURE-----
participants (5)
-
Arvin Schnell
-
Dirk Schreiner
-
Miguel ALBUQUERQUE
-
nick
-
Philippe Vogel