Date: Fri, 27 Mar 2020 08:36:48 -0300 From: Fernando Gont <fernando@gont.com.ar> To: net@freebsd.org Cc: Hiroki Sato <hrs@FreeBSD.org> Subject: PATCH: More appropriate vltime for IPv6 temp addrs (rfc4941bis) Message-ID: <975e56bb-a556-a1d7-937d-f08289c03911@gont.com.ar>
next in thread | raw e-mail | index | archive | help
Folks, This changes the default Valid Lifetime of IPv6 temporary addresses, as per draft-ietf-6man-rfc4941bis: ---- cut here ---- diff --git nd6.h nd6.h index 857657f6e20..5254224afc0 100644 --- nd6.h +++ nd6.h @@ -185,7 +185,7 @@ struct in6_ndifreq { #define RETRANS_TIMER 1000 /* msec */ #define MIN_RANDOM_FACTOR 512 /* 1024 * 0.5 */ #define MAX_RANDOM_FACTOR 1536 /* 1024 * 1.5 */ -#define DEF_TEMP_VALID_LIFETIME 604800 /* 1 week */ +#define DEF_TEMP_VALID_LIFETIME 172800 /* 2 days (draft-ietf-6man-rfc4941bis) */ #define DEF_TEMP_PREFERRED_LIFETIME 86400 /* 1 day */ #define TEMPADDR_REGEN_ADVANCE 5 /* sec */ #define MAX_TEMP_DESYNC_FACTOR 600 /* 10 min */ ---- cut here ---- P.S.: Patch also available at: https://www.gont.com.ar/code/patch-freebsd-ipv6-tempaddr-vltime.txt Thanks, -- Fernando Gont e-mail: fernando@gont.com.ar || fgont@si6networks.com PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?975e56bb-a556-a1d7-937d-f08289c03911>