diff options
author | Kelvie Wong <kelvie@ieee.org> | 2012-05-02 16:39:24 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-08 19:40:59 +0200 |
commit | 9768e1ace458fa4ebf88bc3943fd8fb77113ed9c (patch) | |
tree | 42b47bc693694767bff2820811896a7b1580b58d /net/ipv6 | |
parent | net: export sysctl_[r|w]mem_max symbols needed by ip_vs_sync (diff) | |
download | linux-9768e1ace458fa4ebf88bc3943fd8fb77113ed9c.tar.xz linux-9768e1ace458fa4ebf88bc3943fd8fb77113ed9c.zip |
netfilter: nf_ct_expect: partially implement ctnetlink_change_expect
This refreshes the "timeout" attribute in existing expectations if one is
given.
The use case for this would be for userspace helpers to extend the lifetime
of the expectation when requested, as this is not possible right now
without deleting/recreating the expectation.
I use this specifically for forwarding DCERPC traffic through:
DCERPC has a port mapper daemon that chooses a (seemingly) random port for
future traffic to go to. We expect this traffic (with a reasonable
timeout), but sometimes the port mapper will tell the client to continue
using the same port. This allows us to extend the expectation accordingly.
Signed-off-by: Kelvie Wong <kelvie@ieee.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions