Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2000 00:02:37 -0800 (PST)
From:      Pekka.Nikander@iki.fi
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/22884: By default, ifconfig sets zero IPv6 address lifetime; this patch changes the default and adds command line options
Message-ID:  <20001116080237.8A50F37B479@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         22884
>Category:       misc
>Synopsis:       By default, ifconfig sets zero IPv6 address lifetime; this patch changes the default and adds command line options
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 16 00:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Pekka Nikander
>Release:        4.1.1-STABLE + -current
>Organization:
Ericsson Research NomadicLab
>Environment:
FreeBSD teldanex 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Mon Oct  9 16:47:41 EEST 2000     pnr@teldanex:/usr/src/sys/compile/TELDANEX  i386

>Description:
By default, ifconfig sets zero lifetime for added IPv6 addresses.
With never versions of KAME (recent snap), this causes the 
address to be deprecated almost immediately.  The enclosed patch
changes the default lifetime to infinity, and adds options for
defining vltime and dltime.  Unfortunately, the patch DOES NOT
include the necessary changes to the manual page.
>How-To-Repeat:

>Fix:
Apply the following patch.

begin 644 ifconfig.diff
M9&EF9B`M=2`M<C$N,2`M<C$N,@HM+2T@:69C;VYF:6<N8PDR,#`P+S$Q+S$V
M(#`W.C,S.C,Q"3$N,0HK*RL@:69C;VYF:6<N8PDR,#`P+S$Q+S$V(#`W.C4U
M.C4W"3$N,@I`0"`M-C8L-B`K-C8L,3`@0$`*("-I;F-L=61E(#QA<G!A+VEN
M970N:#X*("-I;F-L=61E(#QN971D8BYH/@H@"BLC:69D968@24Y%5#8**R-I
M;F-L=61E(#QN971I;F5T-B]N9#8N:#X)+RH@1&5F:6YE($Y$-E])3D9)3DE4
M15],249%5$E-12`J+PHK(V5N9&EF"BL*("\J($E06"`J+PH@(V1E9FEN90E)
M4%A)4`H@(V1E9FEN92!)4%153DY%3`I`0"`M,3`T+#<@*S$P."PQ,R!`0`H@
M<W1R=6-T"6EF86QI87-R97$)861D<F5Q.PH@(VEF9&5F($E.150V"B!S=')U
M8W0):6XV7VEF<F5Q"6EN-E]R:61R97$["BUS=')U8W0):6XV7V%L:6%S<F5Q
M"6EN-E]A9&1R97$["BMS=')U8W0):6XV7V%L:6%S<F5Q"6EN-E]A9&1R97$@
M/2`**R`@>R![(#`@?2P@"BL@("`@>R`P('TL(`HK("`@('L@,"!]+"`**R`@
M("![(#`@?2P@"BL@("`@,"P@"BL@("`@>R`P+"`P+"!.1#9?24Y&24Y)5$5?
M3$E&151)344L($Y$-E])3D9)3DE415],249%5$E-12!]('T["B`C96YD:68*
M('-T<G5C=`ES;V-K861D<E]I;@EN971M87-K.PH@<W1R=6-T"6YE=')A;F=E
M"6%T7VYR.PD)+RH@07!P;&5486QK(&YE="!R86YG92`J+PI`0"`M,34R+#8@
M*S$V,BPX($!`"B`C:69D968@24Y%5#8*(&-?9G5N8PES971I9G!R969I>&QE
M;CL*(&-?9G5N8PES971I<#9F;&%G<SL**V-?9G5N8R`@<V5T:7`V=FQT:6UE
M.PHK8U]F=6YC("!S971I<#9P;'1I;64["B`C96YD:68*(&-?9G5N8PES971I
M9FEP9'-T.PH@8U]F=6YC"7-E=&EF9FQA9W,L('-E=&EF;65T<FEC+"!S971I
M9FUT=2P@<V5T:69L;&%D9'(["D!`("TQ.#<L-B`K,3DY+#@@0$`*(`E[(")A
M;GEC87-T(BP)24XV7TE&1E]!3EE#05-4+"!S971I<#9F;&%G<R!]+`H@"7L@
M(G1E;G1A=&EV92(L"4E.-E])1D9?5$5.5$%4259%+"!S971I<#9F;&%G<R!]
M+`H@"7L@(BUT96YT871I=F4B+`DM24XV7TE&1E]414Y4051)5D4L('-E=&EP
M-F9L86=S('TL"BL)>R`B=FQT:6UE(BP@("`@($Y%6%1!4D<L("`@("`@("!S
M971I<#9V;'1I;64@?2P**PE[(")P;'1I;64B+"`@("`@3D585$%21RP@("`@
M("`@('-E=&EP-G!L=&EM92!]+`H@(V5N9&EF"B`)>R`B<F%N9V4B+`E.15A4
M05)'+`ES971A=')A;F=E('TL"B`)>R`B<&AA<V4B+`E.15A405)'+`ES971A
M='!H87-E('TL"D!`("TW,#0L-B`K-S$X+#(V($!`"B`)"6EN-E]A9&1R97$N
M:69R85]F;&%G<R`F/2!^*"UF;&%G*3L*(`EE;'-E"B`)"6EN-E]A9&1R97$N
M:69R85]F;&%G<R!\/2!F;&%G.PHK?0HK"BMV;VED"BMS971I<#9V;'1I;64H
M<V5C;VYD<RP@9'5M;7DL(',L(&%F<"D**R`@("`)8V]N<W0@8VAA<B`J<V5C
M;VYD<SL**PEI;G0@9'5M;7D@7U]U;G5S960["BL):6YT(',["BL)8V]N<W0@
M<W1R=6-T(&%F<W=T8V@@*F%F<#L**WL**PEI;C9?861D<F5Q+FEF<F%?;&EF
M971I;64N:6$V=%]V;'1I;64@/2!A=&]I*'-E8V]N9',I.PHK?0HK"BMV;VED
M"BMS971I<#9P;'1I;64H<V5C;VYD<RP@9'5M;7DL(',L(&%F<"D**R`@("`)
M8V]N<W0@8VAA<B`J<V5C;VYD<SL**PEI;G0@9'5M;7D@7U]U;G5S960["BL)
M:6YT(',["BL)8V]N<W0@<W1R=6-T(&%F<W=T8V@@*F%F<#L**WL**PEI;C9?
M861D<F5Q+FEF<F%?;&EF971I;64N:6$V=%]P;'1I;64@/2!A=&]I*'-E8V]N
09',I.PH@?0H@(V5N9&EF"G1I
`
end


>Release-Note:
>Audit-Trail:
>Unformatted:


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




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