summaryrefslogtreecommitdiffstats
path: root/src/conntrack.c
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2019-07-19 09:31:24 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-07-22 22:10:52 +0200
commitee4991ea402ca61a9d1a46c83c4d4219b97d7da0 (patch)
treed0f9c36a729e6a77afd55dd0f61fc4ada9c8f772 /src/conntrack.c
parentb47e00e8a579519b163cb4faed017463bf64c40d (diff)
conntrackd: cthelper: Add new SLP helper
Service Location Protocol (SLP) uses multicast requests for DA (Directory agent) and SA (Service agent) discovery. Replies to these requests are unicast and their source address does not match destination address of the request so that we need a conntrack helper. A kernel helper was submitted back in 2013 but was rejected as userspace helper infrastructure is preferred. This adds an SLP helper to conntrackd. As the function of SLP helper is the same as what existing mDNS helper does, src/helpers/slp.c is essentially just a copy of src/helpers/mdns.c, except for the default timeout and example usage. As with mDNS helper, there is no NAT support for the time being as that would probably require kernel side changes and certainly further study (and could possibly work only for source NAT). Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/conntrack.c')
0 files changed, 0 insertions, 0 deletions