netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Graf <tgraf@suug.ch>
To: Joe Stringer <joestringer@nicira.com>
Cc: netdev@vger.kernel.org, pshelar@nicira.com,
	linux-kernel@vger.kernel.org, pablo@netfilter.org,
	fwestpha@redhat.com, hannes@redhat.com, jpettit@nicira.com,
	jesse@nicira.com, netfilter-devel@vger.kernel.org
Subject: Re: [PATCHv5 net-next 10/10] openvswitch: Allow attaching helpers to ct action
Date: Tue, 25 Aug 2015 20:33:02 +0200	[thread overview]
Message-ID: <20150825183302.GN3707@pox.localdomain> (raw)
In-Reply-To: <1440462740-23358-11-git-send-email-joestringer@nicira.com>

On 08/24/15 at 05:32pm, Joe Stringer wrote:
> Add support for using conntrack helpers to assist protocol detection.
> The new OVS_CT_ATTR_HELPER attribute of the CT action specifies a helper
> to be used for this connection. If no helper is specified, then helpers
> will be automatically applied as per the sysctl configuration of
> net.netfilter.nf_conntrack_helper.
> 
> The helper may be specified as part of the conntrack action, eg:
> ct(helper=ftp). Initial packets for related connections should be
> committed to allow later packets for the flow to be considered
> established.
> 
> Example ovs-ofctl flows allowing FTP connections from ports 1->2:
> in_port=1,tcp,action=ct(helper=ftp,commit),2
> in_port=2,tcp,ct_state=-trk,action=ct(recirc)
> in_port=2,tcp,ct_state=+trk-new+est,action=1
> in_port=2,tcp,ct_state=+trk+rel,action=1

Not subject to this patch but we may want to revisit the syntax of the
state flags. It's neatly compressed like this but ct_state=untracked
ct_state=related might be more readable. The +trk should be implicit
for anything !untracked

> Signed-off-by: Joe Stringer <joestringer@nicira.com>

Acked-by: Thomas Graf <tgraf@suug.ch>

  reply	other threads:[~2015-08-25 18:33 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2015-08-25 20:10     ` Joe Stringer
2015-08-25 20:46   ` Pravin Shelar

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=20150825183302.GN3707@pox.localdomain \
    --to=tgraf@suug.ch \
    --cc=fwestpha@redhat.com \
    --cc=hannes@redhat.com \
    --cc=jesse@nicira.com \
    --cc=joestringer@nicira.com \
    --cc=jpettit@nicira.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=pshelar@nicira.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;
as well as URLs for NNTP newsgroup(s).