<feed xmlns='http://www.w3.org/2005/Atom'>
<title>conntrack-tools.git/src/helpers, branch upstream</title>
<subtitle>conntrack-tools i.e. conntrack and conntrackd (mirror of https://github.com/vyos/conntrack-tools.git)
</subtitle>
<id>https://git.amelek.net/vyos/conntrack-tools.git/atom?h=upstream</id>
<link rel='self' href='https://git.amelek.net/vyos/conntrack-tools.git/atom?h=upstream'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/'/>
<updated>2015-05-21T12:48:47+00:00</updated>
<entry>
<title>src: Define _GNU_SOURCE to get members of tcphdr&amp;ucphdr</title>
<updated>2015-05-21T12:48:47+00:00</updated>
<author>
<name>Felix Janda</name>
<email>felix.janda@posteo.de</email>
</author>
<published>2015-05-16T10:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=fe1f2d58add1e56e651c43de8cd60db8123d49bb'/>
<id>urn:sha1:fe1f2d58add1e56e651c43de8cd60db8123d49bb</id>
<content type='text'>
The source uses linux names for members of tcphdr. For example
"source" instead of "th_sport", ... musl libc's headers need
_GNU_SOURCE defined in order to expose these.

Signed-off-by: Felix Janda &lt;felix.janda@posteo.de&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>src: Use stdint types</title>
<updated>2015-05-21T12:46:53+00:00</updated>
<author>
<name>Felix Janda</name>
<email>felix.janda@posteo.de</email>
</author>
<published>2015-05-16T09:38:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=1c637fe7ea8a70a77273366d24e221b0d3d64702'/>
<id>urn:sha1:1c637fe7ea8a70a77273366d24e221b0d3d64702</id>
<content type='text'>
Signed-off-by: Felix Janda &lt;felix.janda@posteo.de&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: userspace SSDP helper</title>
<updated>2014-03-12T12:34:57+00:00</updated>
<author>
<name>Ash Hughes</name>
<email>ashley.hughes@blueyonder.co.uk</email>
</author>
<published>2014-03-08T21:13:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=92246dcc1fdcf222302a42926e0e95af2c30463e'/>
<id>urn:sha1:92246dcc1fdcf222302a42926e0e95af2c30463e</id>
<content type='text'>
Here is a patch which adds a userspace conntrack helper for the SSDP
protocol. This is based on the code found at:

http://marc.info/?t=132945775100001&amp;r=1&amp;w=2

I'm not sure how to get my laptop to play at IPv6, so I've not tested
this part, but I've tested the IPv4 section and it works.

Signed-off-by: Ash Hughes &lt;ashley.hughes@blueyonder.co.uk&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: cthelper: add amanda helper</title>
<updated>2013-10-07T13:34:14+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@soleta.eu</email>
</author>
<published>2013-10-07T12:41:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=808a25129605c9e7de9f86fb8d5a5ed3310edd43'/>
<id>urn:sha1:808a25129605c9e7de9f86fb8d5a5ed3310edd43</id>
<content type='text'>
This patch adds a userspace port of the amanda helper that is
currently implemented in the kernel.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@soleta.eu&gt;
</content>
</entry>
<entry>
<title>conntrackd: cthelper: add TFTP helper</title>
<updated>2013-10-03T08:51:03+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2013-10-02T17:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=ea753a152cbf3a2658b5ec5bacfb738c13a4c476'/>
<id>urn:sha1:ea753a152cbf3a2658b5ec5bacfb738c13a4c476</id>
<content type='text'>
This patch adds an userspace port of the TFTP helper that is currently
implemented in the kernel. This includes NAT support. It requires a
Linux kernel 3.12.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: cthelper: add SANE helper</title>
<updated>2013-10-03T08:43:30+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2013-10-03T07:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=9b99aa2980574f4d3bf26145a1bf8bd69d34e764'/>
<id>urn:sha1:9b99aa2980574f4d3bf26145a1bf8bd69d34e764</id>
<content type='text'>
This patch adds an userspace port of the SANE helper that is currently
implemented in the kernel. This requires Linux kernel 3.12 to work.
</content>
</entry>
<entry>
<title>conntrackd: helpers: add DHCPv6 helper</title>
<updated>2013-09-26T16:52:26+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2013-08-06T12:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=36118bfc4901b0978d2c8f17912fe91ec66f35e8'/>
<id>urn:sha1:36118bfc4901b0978d2c8f17912fe91ec66f35e8</id>
<content type='text'>
This patch adds support for the DHCPv6 helper.

1) nfct helper add dhcpv6 inet6 udp
2) ip6tables -I OUTPUT -t raw -p udp --sport 546 -j CT --helper dhcpv6
3) run conntrackd

You should see:

% conntrack -L exp -f ipv6
279 proto=17 src=:: dst=ff02::1:2 sport=0 dport=546 mask-src=:: mask-dst=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff sport=0 dport=65535 master-src=fe80::221:ccff:fe4a:7f9c master-dst=ff02::1:2 sport=546 dport=547 PERMANENT class=0 helper=dhcpv6

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>cthelper: ftp: fix EPRT case for IPv4</title>
<updated>2012-08-21T11:48:23+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2012-08-21T11:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=137b0a2ac9568638be078126ca92ac62ca51e1f4'/>
<id>urn:sha1:137b0a2ac9568638be078126ca92ac62ca51e1f4</id>
<content type='text'>
%pI4 also exists in the Linux kernel.

It would be good to have some generic functions to convert binary data
to address string. Later.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: TNS helper added to cthelper</title>
<updated>2012-08-01T17:20:17+00:00</updated>
<author>
<name>Jozsef Kadlecsik</name>
<email>kadlec@blackhole.kfki.hu</email>
</author>
<published>2012-05-15T12:43:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=40f4330e6b50ed2b198549b1006c6fcb349f5a3b'/>
<id>urn:sha1:40f4330e6b50ed2b198549b1006c6fcb349f5a3b</id>
<content type='text'>
Signed-off-by: Jozsef Kadlecsik &lt;kadlec@blackhole.kfki.hu&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: RPC helper added to cthelper</title>
<updated>2012-08-01T17:20:12+00:00</updated>
<author>
<name>Jozsef Kadlecsik</name>
<email>kadlec@blackhole.kfki.hu</email>
</author>
<published>2012-05-15T12:31:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=969d93f14fffadb5cae67a7662484c1e064bbff1'/>
<id>urn:sha1:969d93f14fffadb5cae67a7662484c1e064bbff1</id>
<content type='text'>
How to use this helper in a few steps:

1) You can enable this helper via:

 nfct helper add rpc inet tcp
 nfct helper add rpc inet udp

2) Configure /etc/conntrackd/conntrackd.conf and launch it.

3) You can test this helper locally with the following rule-set:

 iptables -A OUTPUT -t raw -p udp -m udp --dport 111 -j CT --helper rpc
 iptables -A OUTPUT -t raw -p tcp -m tcp --dport 111 -j CT --helper rpc
 iptables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 111 -j ACCEPT
 iptables -A OUTPUT -p udp -m state --state NEW,ESTABLISHED -m udp --dport 111 -j ACCEPT
 iptables -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
 iptables -P OUTPUT DROP

4) Configure NFS and export some local directory. Then, mount it with version 3.

 mount.nfs -onfsvers=3 127.0.0.1:/srv/cvs /mnt/

You should see permanent expectations created for this.

Signed-off-by: Jozsef Kadlecsik &lt;kadlec@blackhole.kfki.hu&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
</feed>
