lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1559933708-13947-1-git-send-email-tom@quantonium.net>
Date:   Fri,  7 Jun 2019 11:55:03 -0700
From:   Tom Herbert <tom@...bertland.com>
To:     davem@...emloft.net, netdev@...r.kernel.org, dlebrun@...gle.com
Cc:     Tom Herbert <tom@...ntonium.net>
Subject: [RFC v2 PATCH 0/5] seg6: Segment routing fixes

This patch set includes fixes to bring the segment routing
implementation into conformance with the latest version of the
draft (draft-ietf-6man-segment-routing-header-19). Also, segment
routing receive function calls ip6_parse to properly parse TLVs
in parsing loop.

Changes include:

  - Update TLV macro definitions. Mark obsoleted TLVs as such, add
    definitions for PAD1 and PADN
  - Mark obsoleted flags as such
  - Implement parsing loop in sr_has_hmac to find HMAC TLV without
    relying on obsoleted flag
  - Parameterize ip6_parse_tlv so that it can be used for parsing
    segment routing TLVs
  - Add sysctls for segment routing TLV parsing limits
  - Segment routing receive functions call ip6_parse_tlv

Tom Herbert (5):
  seg6: Fix TLV definitions
  seg6: Obsolete unused SRH flags
  ipv6: Paramterize TLV parsing
  seg6: Add sysctl limits for segment routing header
  seg6: Leverage ip6_parse_tlv

 include/net/ipv6.h         | 31 ++++++++++-------
 include/net/netns/ipv6.h   |  2 ++
 include/net/seg6.h         |  5 +++
 include/net/seg6_hmac.h    |  2 +-
 include/uapi/linux/seg6.h  | 54 +++++++++++++++++++++++------
 net/ipv6/af_inet6.c        |  2 ++
 net/ipv6/exthdrs.c         | 84 +++++++++++++++++++++++++++++++++++++++-------
 net/ipv6/seg6_hmac.c       | 16 ++-------
 net/ipv6/seg6_local.c      | 21 ++++++++----
 net/ipv6/sysctl_net_ipv6.c | 16 +++++++++
 10 files changed, 176 insertions(+), 57 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ