Skip to content

RFC Add IPsec extended (64-bit) sequence numbers

Steffen Klassert linux-crypto netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest9 patches 7 repliesIn review
  2. v1 RFC11 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Use a SG list with three 4 byte entries for the associated data.

- Fix the sequence number to be in network byte order when using AEAD algorithms.

- Rebased to net-next-2.6 current.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9crypto: authencesn - Add algorithm to handle IPsec extended sequence numberscrypto/Makefile crypto/authencesn.c+836 -14 replies
2/9xfrm: Add basic infrastructure to support IPsec extended sequence numbersinclude/linux/xfrm.h include/net/xfrm.h+19 -03 replies
3/9xfrm: Use separate low and high order bits of the sequence numbers in xfrm_skb_cbinclude/net/xfrm.h net/ipv4/ah4.c net/ipv4/esp4.c +4 more+17 -110 replies
4/9esp4: Add support for IPsec extended sequence numbersnet/ipv4/esp4.c+82 -180 replies
5/9esp6: Add support for IPsec extended sequence numbersnet/ipv6/esp6.c+86 -190 replies
6/9xfrm: Move IPsec replay detection functions to a separate fileinclude/net/xfrm.h net/xfrm/Makefile net/xfrm/xfrm_input.c +4 more+174 -1280 replies
7/9xfrm: Support anti-replay window size bigger than 32 packetsnet/xfrm/xfrm_replay.c+206 -10 replies
8/9xfrm: Add support for IPsec extended sequence numbersinclude/net/xfrm.h net/xfrm/xfrm_input.c net/xfrm/xfrm_replay.c+194 -10 replies
9/9xfrm: Add user interface for esn and big anti-replay windowsnet/xfrm/xfrm_state.c net/xfrm/xfrm_user.c+87 -140 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchHerbert Xu
1/9
2/9A-b
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFC v2 PATCH 0/9] Add IPsec extended (64-bit) sequence numbers

This patchset adds support for IPsec extended (64-bit) sequence numbers for esp as defined in RFC 4303. Also it adds support for anti-replay windows bigger than 32 packets. To make use of big anti-replay windows and extended sequence numbers, new userspace tools are needed. An example patch for iproute2 is provided with this patchset.

Known issues:

- Not tested against another implementation of IPsec extended sequence numbers.

Changes from v1:

- Use a SG list with three 4 byte entries for the associated data.

- Fix the sequence number to be in network byte order when using AEAD algorithms.

- Rebased to net-next-2.6 current.

The patchset is also available at branch 'net-next-esn' of

git://git.kernel.org/pub/scm/linux/kernel/git/klassert/linux-2.6-stk.git

Steffen