lkml.org 
[lkml]   [2015]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/9] OVS conntrack support
Date
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



\
 
 \ /
  Last update: 2015-07-30 20:21    [W:1.803 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site