netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv5 net-next 00/10] OVS conntrack support
@ 2015-08-25  0:32 Joe Stringer
  2015-08-25  0:32 ` [PATCHv5 net-next 01/10] openvswitch: Serialize acts with original netlink len Joe Stringer
                   ` (9 more replies)
  0 siblings, 10 replies; 23+ messages in thread
From: Joe Stringer @ 2015-08-25  0:32 UTC (permalink / raw)
  To: netdev, pshelar
  Cc: linux-kernel, pablo, fwestpha, hannes, tgraf, jpettit, jesse,
	netfilter-devel

The goal of this series is to allow OVS to send packets through the Linux
kernel connection tracker, and subsequently match on fields populated by
conntrack.

This version addresses the feedback from v4, mostly minor fixes, including
shifting the conntrack init into the per-namespace functions rather than
per-datapath and ensuring the ct_mark/ct_label attributes are re-serialized
when userspace dumps the actions. Users attempting to specify actions that set
ct_labels with a length longer than the supported length will now get flow
rejections. This series also rebases against the latest conntrack zone changes.

This functionality is enabled through the CONFIG_OPENVSWITCH_CONNTRACK option.

The branch below has been updated with the corresponding userspace pieces:
https://github.com/joestringer/ovs dev/ct_20150818

Joe Stringer (10):
  openvswitch: Serialize acts with original netlink len
  openvswitch: Move MASKED* macros to datapath.h
  ipv6: Export nf_ct_frag6_gather()
  dst: Add __skb_dst_copy() variation
  openvswitch: Add conntrack action
  openvswitch: Allow matching on conntrack mark
  netfilter: Always export nf_connlabels_replace()
  netfilter: connlabels: Export setting connlabel length
  openvswitch: Allow matching on conntrack label
  openvswitch: Allow attaching helpers to ct action

 include/net/dst.h                           |   9 +-
 include/net/netfilter/nf_conntrack_labels.h |   4 +
 include/uapi/linux/openvswitch.h            |  58 +++
 net/ipv6/netfilter/nf_conntrack_reasm.c     |   1 +
 net/netfilter/nf_conntrack_labels.c         |  34 +-
 net/netfilter/xt_connlabel.c                |  16 +-
 net/openvswitch/Kconfig                     |  11 +
 net/openvswitch/Makefile                    |   2 +
 net/openvswitch/actions.c                   | 229 +++++++--
 net/openvswitch/conntrack.c                 | 723 ++++++++++++++++++++++++++++
 net/openvswitch/conntrack.h                 |  78 +++
 net/openvswitch/datapath.c                  |  86 +++-
 net/openvswitch/datapath.h                  |  13 +
 net/openvswitch/flow.c                      |   6 +-
 net/openvswitch/flow.h                      |  11 +-
 net/openvswitch/flow_netlink.c              | 129 ++++-
 net/openvswitch/flow_netlink.h              |  13 +-
 net/openvswitch/vport.c                     |   1 +
 18 files changed, 1317 insertions(+), 107 deletions(-)
 create mode 100644 net/openvswitch/conntrack.c
 create mode 100644 net/openvswitch/conntrack.h

-- 
2.1.4

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-08-25 20:46 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25  0:32 [PATCHv5 net-next 00/10] OVS conntrack support Joe Stringer
2015-08-25  0:32 ` [PATCHv5 net-next 01/10] openvswitch: Serialize acts with original netlink len Joe Stringer
2015-08-25 18:23   ` Thomas Graf
2015-08-25  0:32 ` [PATCHv5 net-next 02/10] openvswitch: Move MASKED* macros to datapath.h Joe Stringer
2015-08-25  0:32 ` [PATCHv5 net-next 03/10] ipv6: Export nf_ct_frag6_gather() Joe Stringer
2015-08-25 19:15   ` Pravin Shelar
2015-08-25  0:32 ` [PATCHv5 net-next 04/10] dst: Add __skb_dst_copy() variation Joe Stringer
2015-08-25 18:23   ` Thomas Graf
2015-08-25  0:32 ` [PATCHv5 net-next 05/10] openvswitch: Add conntrack action Joe Stringer
2015-08-25 18:25   ` Thomas Graf
2015-08-25 19:22   ` Pravin Shelar
2015-08-25  0:32 ` [PATCHv5 net-next 06/10] openvswitch: Allow matching on conntrack mark Joe Stringer
2015-08-25 18:27   ` Thomas Graf
2015-08-25 20:34   ` Pravin Shelar
2015-08-25  0:32 ` [PATCHv5 net-next 07/10] netfilter: Always export nf_connlabels_replace() Joe Stringer
2015-08-25  0:32 ` [PATCHv5 net-next 08/10] netfilter: connlabels: Export setting connlabel length Joe Stringer
2015-08-25  0:32 ` [PATCHv5 net-next 09/10] openvswitch: Allow matching on conntrack label Joe Stringer
2015-08-25 18:29   ` Thomas Graf
2015-08-25 20:44   ` Pravin Shelar
2015-08-25  0:32 ` [PATCHv5 net-next 10/10] openvswitch: Allow attaching helpers to ct action Joe Stringer
2015-08-25 18:33   ` Thomas Graf
2015-08-25 20:10     ` Joe Stringer
2015-08-25 20:46   ` Pravin Shelar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).