Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Mar 2000 23:22:09 +0100
From:      Gary Jennejohn <garyj@muc.de>
To:        freebsd-isdn@freebsd.org
Subject:   sPPP and PPP keepalives
Message-ID:  <200003072222.XAA17816@peedub.muc.de>

next in thread | raw e-mail | index | archive | help
This should be of interest for those of you whose ISP uses PPP keepalives
to decide when to break a connection.

Use of PPP keepalives usually circumvents the short hold timer in i4b.
A rather old patch exists in contrib/lcp-patch2.tar.uu in various
releases. This patch is against 0.70 and difficult to apply to any
more recent releases.

The appended patch is against the 0.90 release and can be applied with
no problems. It also updates the patch such that it should be usable as
a standard part of i4b.

What I request is that those who need this patch test it and report
back to the list whether it works OK. This will help Hwllmuth to
decide whether it can be made a standard part of i4b. Note that I
tested this in FreeBSD-current OK, but my ISP does not use keepalives,
so I could only prove to my satisfaction that it won't break the normal
short hold timeouts.

Just uudecode and apply the patch to a clean 0.90 release tree.

==================== PPP keepalive patch =======================
begin 644 sppptimeoutdiff.gz
M'XL("*#MO#@``T1I9F9S`.U:;7.;2!+^3'Y%)UO913*2`;TBQ]ZR+271G2/G
M+/MNJY(4A6$D44%`8+"CS>6_7\\,("1AQ;&=7'*WJKQ(P_2\=#_]=#/3U6H5
MZKM.Y%Z1:-=M7IIN'(9AW:X'D3N5QA:%OR4>Z$W06CU=ZS5UT`S#>%2KU4K%
MI'\1!UY9$8`&JM%KM7NM%NBJJCZJKG[8;_9`T=46\`8VI&AH`WZO/0*(J45=
M&ZX"UY%P$CZ'R1J):<\L?TH<.:918E-@3Z`:APJX/@6?7(MNE;V;1O')-*`N
M/@A\TP[FH4<H61_L9NEKB]HS)YAF$N[$)Q2J[H3)[`!UY\2D`+"4<!V<`9ME
MMK[$=RD?'/_L5G')+B[%<_]$W5TNX*0)U5WVL$QEK59+:;4UH3*`7XCON!,Q
MDA2'M0.<*@EEMG9)PJ$I\3QX_?HU7!.P(@(1L9P%&_YQ*N%]E&.^E,]L$&:#
M5JN-,^B9#>XQ0];=LV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U%V.QVEVRW4
M478[76Q8GGP`>XFP@XA7%>+BSIX?@]9H-.KBH;#A!!>#>@DN%ZR.<&<?YK6#
MN1F^IS,GJGOX=K0#C8U5I[6@9:N&=-EY&9V:[J+4[W1-,?1VL:*K@0W&1NWJ
DLG"I7'^W6ASK8(<FJ]:5T^)@T>J&I<VA56S]#PPS%I1I+0``
`
end

--------
Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003072222.XAA17816>