NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/56863: please support IPsec extended replay window
>Number: 56863
>Category: kern
>Synopsis: please support IPsec extended replay window
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Jun 05 15:15:00 +0000 2022
>Originator: Andrew Cagney
>Release: trunk
>Organization:
>Environment:
trunk
>Description:
The pfkey v2 structure sadb_sa has the 8-bit field:
sys/net/pfkeyv2.h: uint8_t sadb_sa_replay;
for specifying the size of the window.
Can the code please be enhanced to also support FreeBSD's 32-bit replay structure:
#define SADB_X_EXT_SA_REPLAY 26 /* Replay window override. */
/* Additional large replay window support
*/
struct sadb_x_sa_replay {
u_int16_t sadb_x_sa_replay_len;
u_int16_t sadb_x_sa_replay_exttype;
u_int32_t sadb_x_sa_replay_replay; /* in packets */
};
_Static_assert(sizeof(struct sadb_x_sa_replay) == 8, "struct size mismatch");
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index