ipv6: addrconf: reduce default temp_valid_lft to 2 days
Subsystems (3)
PATCH 1/1 ipv6: addrconf: reduce default temp_valid_lft to 2 days
This is a recommendation from RFC 8981 and it was intended to be changed by commit 969c54646af0 ("ipv6: Implement draft-ietf-6man-rfc4941bis") but it only changed the sysctl documentation.
--- include/net/addrconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/addrconf.h +1 -1
@@ -8,7 +8,7 @@#define MIN_VALID_LIFETIME (2*3600)/* 2 hours */ -#define TEMP_VALID_LIFETIME (7*86400)/* 1 week */ +#define TEMP_VALID_LIFETIME (2*86400)/* 2 days */ #define TEMP_PREFERRED_LIFETIME (86400)/* 24 hours */ #define REGEN_MIN_ADVANCE (2)/* 2 seconds */ #define REGEN_MAX_RETRY (3)
Signature · 1 line
2.52.0
Quoted 6 lines · Fernando Fernandez Mancera
This is a recommendation from RFC 8981 and it was intended to be changed by commit
969c54646af0("ipv6: Implement draft-ietf-6man-rfc4941bis") but it only changed the sysctl documentation.Fixes 969c54646af0 ("ipv6: Implement draft-ietf-6man-rfc4941bis")Signed-off-by Fernando Fernandez Mancera <[email protected]>
Quoted 10 lines · Simon Horman
Quoted 6 lines · Fernando Fernandez Mancera
This is a recommendation from RFC 8981 and it was intended to be changed by commit
969c54646af0("ipv6: Implement draft-ietf-6man-rfc4941bis") but it only changed the sysctl documentation.Fixes 969c54646af0 ("ipv6: Implement draft-ietf-6man-rfc4941bis")Signed-off-by Fernando Fernandez Mancera <[email protected]>Reviewed-by Simon Horman <[email protected]>
I would recommend adding a comment, because final RFC states "TEMP_VALID_LIFETIME -- Default value: 1 week. Users should be able to override the default value.
https://datatracker.ietf.org/doc/html/rfc4941#section-5
So... do we still need a different value in linux, and why ?
Quoted 13 lines · Eric Dumazet
Quoted 10 lines · Simon Horman
Quoted 6 lines · Fernando Fernandez Mancera
This is a recommendation from RFC 8981 and it was intended to be changed by commit
969c54646af0("ipv6: Implement draft-ietf-6man-rfc4941bis") but it only changed the sysctl documentation.Fixes 969c54646af0 ("ipv6: Implement draft-ietf-6man-rfc4941bis")Signed-off-by Fernando Fernandez Mancera <[email protected]>Reviewed-by Simon Horman <[email protected]>
Quoted 8 lines
I would recommend adding a comment, because final RFC states "
TEMP_VALID_LIFETIME-- Default value: 1 week. Users should be able to override the default value.https://datatracker.ietf.org/doc/html/rfc4941#section-5
So... do we still need a different value in linux, and why ?
RFC 8981 obsoletes RFC 4941, the new RFC states
"TEMP_VALID_LIFETIME -- Default value: 2 days. Users should be able to override the default value."
https://datatracker.ietf.org/doc/html/rfc8981#section-3.8
I didn't include the reasoning because it was already on the blamed commit which comes from the RFC 8981 too.
https://datatracker.ietf.org/doc/html/rfc8981#section-4
Anyway, I am fine adding a comment or mentioning it on the commit message if needed.
Thanks,
Fernando.
Quoted 26 lines · Fernando Fernandez Mancera
Quoted 13 lines · Eric Dumazet
Quoted 10 lines · Simon Horman
Quoted 6 lines · Fernando Fernandez Mancera
This is a recommendation from RFC 8981 and it was intended to be changed by commit
969c54646af0("ipv6: Implement draft-ietf-6man-rfc4941bis") but it only changed the sysctl documentation.Fixes 969c54646af0 ("ipv6: Implement draft-ietf-6man-rfc4941bis")Signed-off-by Fernando Fernandez Mancera <[email protected]>Reviewed-by Simon Horman <[email protected]>Quoted 8 lines
I would recommend adding a comment, because final RFC states "
TEMP_VALID_LIFETIME-- Default value: 1 week. Users should be able to override the default value.https://datatracker.ietf.org/doc/html/rfc4941#section-5
So... do we still need a different value in linux, and why ?
RFC 8981 obsoletes RFC 4941, the new RFC states
"TEMP_VALID_LIFETIME-- Default value: 2 days. Users should be able to override the default value."
Quoted 8 lines
https://datatracker.ietf.org/doc/html/rfc8981#section-3.8
I didn't include the reasoning because it was already on the blamed commit which comes from the RFC 8981 too.
https://datatracker.ietf.org/doc/html/rfc8981#section-4
Anyway, I am fine adding a comment or mentioning it on the commit message if needed.
I noticed the patch is marked as "Changes Requested", is there some action pending from me?
Thanks,
Fernando.
Quoted 2 lines · Fernando Fernandez Mancera
I noticed the patch is marked as "Changes Requested", is there some action pending from me?
Quite confusing. The blamed commit mentioned RFC 4941
commit 969c54646af0d7d94a5f0f37adbbfe024e85466e
Author: Fernando Gont <[email protected]> Date: Fri May 1 00:51:47 2020 -0300
ipv6: Implement draft-ietf-6man-rfc4941bis
So please add a comment like this one ?
/* TEMP_VALID_LIFETIME default value as specified in RFC 8981 3.8 */
Thank you.
Quoted 9 lines · Eric Dumazet
Quoted 2 lines · Fernando Fernandez Mancera
I noticed the patch is marked as "Changes Requested", is there some action pending from me?
Quite confusing. The blamed commit mentioned RFC 4941
commit
969c54646af0d7d94a5f0f37adbbfe024e85466e
Quoted 9 lines
Author: Fernando Gont <[email protected]> Date: Fri May 1 00:51:47 2020 -0300ipv6: Implement draft-ietf-6man-rfc4941bis
So please add a comment like this one ?
/*
TEMP_VALID_LIFETIMEdefault value as specified in RFC 8981 3.8 */
Sure, I will. FWIW, the blamed commit mentioned the draft revision for RFC 4941, but at that time, being a draft, it did not have an appropriate RFC number assigned to it.
Thanks Eric.
Quoted 13 lines · Fernando Fernandez Mancera
Quoted 12 lines · Eric Dumazet
Quoted 2 lines · Fernando Fernandez Mancera
I noticed the patch is marked as "Changes Requested", is there some action pending from me?
Quite confusing. The blamed commit mentioned RFC 4941
commit
969c54646af0d7d94a5f0f37adbbfe024e85466e
Author: Fernando Gont <[email protected]>
Date: Fri May 1 00:51:47 2020 -0300
Quoted 8 lines
Quoted 6 lines
ipv6: Implement draft-ietf-6man-rfc4941bis
So please add a comment like this one ?
/*
TEMP_VALID_LIFETIMEdefault value as specified in RFC 8981 3.8 */Sure, I will. FWIW, the blamed commit mentioned the draft revision for RFC 4941, but at that time, being a draft, it did not have an appropriate RFC number assigned to it.
Note: the commit referenced the right filename: IETF draft draft-ietf-6man-rfc4941bis. -- IETF drafts that are meant to revise an existing RFC codify such RFC number in the filename (e.g., this draft had "rfc4941bis" in the filename because, when published as an RFC, it would formally revise RFC4941).
Thanks,
Signature · 4 lines
Fernando Gont SI6 Networks e-mail: [email protected] PGP Fingerprint: F242 FF0E A804 AF81 EB10 2F07 7CA1 321D 663B B494