mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Stringer <joestringer@nicira.com>
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, pablo@netfilter.org,
	kaber@trash.net, jpettit@nicira.com, pshelar@nicira.com,
	azhou@nicira.com, jesse@nicira.com, fwestpha@redhat.com,
	hannes@redhat.com, tgraf@noironetworks.com
Subject: [PATCH net-next 0/9] OVS conntrack support
Date: Thu, 30 Jul 2015 11:12:34 -0700	[thread overview]
Message-ID: <1438279963-29563-1-git-send-email-joestringer@nicira.com> (raw)

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 includes new handling of IPv4 and IPv6 fragments, support for
conntrack labels, and tracking connections via helpers. The kernel module tests
distributed with the corresponding OVS userspace check a variety of scenarios
implementing one-way firewalls, two-way firewalls, with and without IP
fragments, VLANs and VXLAN tunnels, and in conjunction with FTP helpers, for
both IPv4 and IPv6 traffic.

This functionality is enabled through the CONFIG_OPENVSWITCH_CONNTRACK option.

The branch below has been updated with the corresponding userspace pieces:
https://github.com/justinpettit/ovs conntrack

Joe Stringer (8):
  openvswitch: Scrub packet in ovs_vport_receive()
  openvswitch: Serialize acts with original netlink len
  openvswitch: Move MASKED* macros to datapath.h
  ipv6: Export nf_ct_frag6_gather()
  openvswitch: Add conntrack action
  netfilter: Always export nf_connlabels_replace()
  openvswitch: Allow matching on conntrack label
  openvswitch: Allow attaching helpers to ct action

Justin Pettit (1):
  openvswitch: Allow matching on conntrack mark

 include/uapi/linux/openvswitch.h        |  49 +++
 net/ipv6/netfilter/nf_conntrack_reasm.c |   1 +
 net/netfilter/nf_conntrack_labels.c     |   2 -
 net/openvswitch/Kconfig                 |  12 +
 net/openvswitch/Makefile                |   1 +
 net/openvswitch/actions.c               | 224 ++++++++--
 net/openvswitch/conntrack.c             | 758 ++++++++++++++++++++++++++++++++
 net/openvswitch/conntrack.h             | 128 ++++++
 net/openvswitch/datapath.c              |  70 ++-
 net/openvswitch/datapath.h              |  12 +
 net/openvswitch/flow.c                  |   5 +
 net/openvswitch/flow.h                  |   9 +
 net/openvswitch/flow_netlink.c          | 103 ++++-
 net/openvswitch/flow_netlink.h          |   4 +-
 net/openvswitch/vport.c                 |   4 +
 15 files changed, 1317 insertions(+), 65 deletions(-)
 create mode 100644 net/openvswitch/conntrack.c
 create mode 100644 net/openvswitch/conntrack.h

-- 
2.1.4


             reply	other threads:[~2015-07-30 18:13 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 18:12 Joe Stringer [this message]
2015-07-30 18:12 ` [PATCH net-next 1/9] openvswitch: Scrub packet in ovs_vport_receive() Joe Stringer
2015-07-30 18:40   ` Thomas Graf
2015-07-30 23:16     ` Joe Stringer
2015-07-31  7:38       ` Thomas Graf
2015-07-31  3:43   ` Pravin Shelar
2015-07-31 14:34   ` Hannes Frederic Sowa
2015-07-31 17:51     ` Joe Stringer
2015-08-01 19:17       ` Thomas Graf
2015-08-05  4:40         ` Joe Stringer
2015-08-07 22:07           ` Jesse Gross
2015-07-30 18:12 ` [PATCH net-next 2/9] openvswitch: Serialize acts with original netlink len Joe Stringer
2015-07-30 19:35   ` Thomas Graf
2015-07-30 18:12 ` [PATCH net-next 3/9] openvswitch: Move MASKED* macros to datapath.h Joe Stringer
2015-07-30 19:36   ` Thomas Graf
2015-07-30 18:12 ` [PATCH net-next 4/9] ipv6: Export nf_ct_frag6_gather() Joe Stringer
2015-07-30 19:36   ` Thomas Graf
2015-07-30 18:12 ` [PATCH net-next 5/9] openvswitch: Add conntrack action Joe Stringer
2015-07-31 14:52   ` Hannes Frederic Sowa
2015-07-31 18:35     ` Joe Stringer
2015-07-31 15:26   ` Hannes Frederic Sowa
2015-07-31 20:14     ` Joe Stringer
2015-08-01  2:08   ` Pravin Shelar
2015-08-03 22:58     ` Joe Stringer
2015-07-30 18:12 ` [PATCH net-next 6/9] openvswitch: Allow matching on conntrack mark Joe Stringer
2015-07-30 18:12 ` [PATCH net-next 7/9] netfilter: Always export nf_connlabels_replace() Joe Stringer
2015-07-30 18:12 ` [PATCH net-next 8/9] openvswitch: Allow matching on conntrack label Joe Stringer
2015-07-31 13:20   ` Florian Westphal
2015-07-31 23:07     ` Joe Stringer
2015-07-30 18:12 ` [PATCH net-next 9/9] openvswitch: Allow attaching helpers to ct action Joe Stringer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438279963-29563-1-git-send-email-joestringer@nicira.com \
    --to=joestringer@nicira.com \
    --cc=azhou@nicira.com \
    --cc=fwestpha@redhat.com \
    --cc=hannes@redhat.com \
    --cc=jesse@nicira.com \
    --cc=jpettit@nicira.com \
    --cc=kaber@trash.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=pshelar@nicira.com \
    --cc=tgraf@noironetworks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®