Folks,
This changes the default Valid Lifetime of temporary addresses to 2 days
(as per draft-ietf-6man-rfc4941bis):
---- cut here ----
diff --git nd6.h nd6.h
index 4449a7ed73c..de80dc16047 100644
--- nd6.h
+++ nd6.h
@@ -91,7 +91,7 @@ struct in6_ndifreq {
/* constants for RFC 4941 autoconf privacy extension */
#define ND6_PRIV_MAX_DESYNC_FACTOR 512 /* largest pow2 < 10 minutes */
-#define ND6_PRIV_VALID_LIFETIME 604800 /* 1 week */
+#define ND6_PRIV_VALID_LIFETIME 172800 /* 2 days, as per
rfc4941bis */
#define ND6_PRIV_PREFERRED_LIFETIME 86400 /* 1 day */
#ifdef _KERNEL
---- cut here ----
P.S.: Patch also available at:
https://www.gont.com.ar/code/patch-fgont-tempaddr-vltime.txt
Thanks,
--
Fernando Gont
e-mail: [email protected] || [email protected]
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1