<feed xmlns='http://www.w3.org/2005/Atom'>
<title>conntrack-tools.git/include, branch conntrack-tools-0.9.8</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=conntrack-tools-0.9.8</id>
<link rel='self' href='https://git.amelek.net/vyos/conntrack-tools.git/atom?h=conntrack-tools-0.9.8'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/'/>
<updated>2008-10-21T17:11:42+00:00</updated>
<entry>
<title>filter: do not filter in user-space if kernel supports BSF</title>
<updated>2008-10-21T17:11:42+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-10-21T17:11:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=50162d3c19e38a491d95ec26767438ec25bab0dc'/>
<id>urn:sha1:50162d3c19e38a491d95ec26767438ec25bab0dc</id>
<content type='text'>
This patch avoids a double filtering in user-space and kernel-space if
the kernel support BSF. Since we do not use BSF for dumps and resyncs,
we add a new parameter to ignore_conntrack to indicate if we have to
perform the filtering in user-space or not.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrack: fix filtering for unsupported protocol</title>
<updated>2008-10-04T09:32:37+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-10-04T09:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=e44561766b025600e4af55a35166db46206dd42c'/>
<id>urn:sha1:e44561766b025600e4af55a35166db46206dd42c</id>
<content type='text'>
This patch fixes filtering for unsupported protocol. Thus, you can
use -L -p 47 or -L -p gre to filter `gre' traffic.

Based on an initial patch from Bryan Duff &lt;bduff@astrocorp.com&gt;.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrack: cleanup XML header handling</title>
<updated>2008-09-28T20:46:15+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-09-28T20:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=1c2772d3e5f77022649410d9f5787221cc38573f'/>
<id>urn:sha1:1c2772d3e5f77022649410d9f5787221cc38573f</id>
<content type='text'>
This patch removes the use of snprintf and directly print the XML header
to the standard output. This simplifies the handling.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>ftfw: fix race condition in the helloing routine</title>
<updated>2008-09-25T15:06:12+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-09-25T15:06:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=30216bf35c8cfe078ede4c4ad7f43544b469b7d3'/>
<id>urn:sha1:30216bf35c8cfe078ede4c4ad7f43544b469b7d3</id>
<content type='text'>
This patch fixes a race condition that can prevent one node from sending
the initial hello message required to reset the sequence tracking.

               node A                   node B
                  |                        |
        start     |                        |
        hello msg |-----------------------&gt;|
        stop      |                        |
        start     |                        |
                  |&lt;-----------------------| hello-back msg

In the picture above, the node A never sends the hello messages. Thus,
the node B drops the next messages as they are in the before boundary.
This patch adds a new state to the the helloing state-machine to fix
this problem.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>filter: check if kernel-space filtering is available</title>
<updated>2008-09-17T11:07:54+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-09-17T11:07:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=fc5c992b7010a733250633d55c4a6ab4932a7125'/>
<id>urn:sha1:fc5c992b7010a733250633d55c4a6ab4932a7125</id>
<content type='text'>
Check if the Linux kernel is &gt;= 2.6.26, otherwise it does not support
kernel-space filtering. This is not clean but we have no choice, the BSF
infrastructure does not return ENOTSUPP for unsupported operations.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>cache iterators: commit master entries before related ones</title>
<updated>2008-08-07T12:53:29+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-08-07T12:53:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=8a78dda3e6676286f09f5c78cca60a8178186930'/>
<id>urn:sha1:8a78dda3e6676286f09f5c78cca60a8178186930</id>
<content type='text'>
Commit master entries before related ones to avoid ENOENT errors.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>cache iterators: rework cache_reset_timers</title>
<updated>2008-08-07T12:53:12+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-08-07T12:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=6cb33c62c8007593d8a85aa202fa173043877135'/>
<id>urn:sha1:6cb33c62c8007593d8a85aa202fa173043877135</id>
<content type='text'>
This patch adds the clause PurgeTimeout that sets the new timer
when conntrackd -t is called. This command is particularly useful
when the sysadmin triggers hand-overs between several nodes without
rebooting as it reduces the timers of the remaining entries in
the kernel. Thus, avoiding clashes between new and old entries that
may trigger INVALID packets.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>netlink: add getter and check existence functions</title>
<updated>2008-08-07T12:52:41+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-08-07T12:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=a4f4647b4b7f32f2d1caab98544802c8cdd7b4d6'/>
<id>urn:sha1:a4f4647b4b7f32f2d1caab98544802c8cdd7b4d6</id>
<content type='text'>
This patch adds nl_get_conntrack and it changes the behaviour of
nl_exist_conntrack. Now, nl_get_conntrack requests the kernel for
a conntrack and updates the cached entry. On the other hand,
nl_exist_conntrack only inquiries for the existence of the
entry.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: add -t option to shorten conntrack timeouts</title>
<updated>2008-08-02T16:59:36+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-08-02T16:59:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=16010f777b090b293a00072d8368e94418cc99f8'/>
<id>urn:sha1:16010f777b090b293a00072d8368e94418cc99f8</id>
<content type='text'>
This patch adds the new option `-t' for conntrackd. This option shortens
the value of the timeout for the cached entries that lives in the
kernel. This option is particularly useful to remove the zombie
established entries that remain in kernel if the user tests the platform
by forcing the takeover from one to another node several times.

We currently use the value of CommitTimeout which is sane for it. Adding
a new option does not seem to add more flexibility IMO.

Once we get the patches to notify user changes via ctnetlink and the
netlink flag NLM_F_ECHO works, we may directly invoke a massive purge of
the entries, however, such solution would still need evaluation.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>ftfw: show consistent information to users for problem diagnosing</title>
<updated>2008-08-01T15:52:54+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2008-08-01T15:52:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=9de87ff1c675f7ae5f463c4820bffb502e7ce852'/>
<id>urn:sha1:9de87ff1c675f7ae5f463c4820bffb502e7ce852</id>
<content type='text'>
This patch hides information that may confuse users while they are
diagnosing problems in their setup. For example, we hide entries
that are schedule to expire - from the user side, they are already
destroyed entries; and we show in the counters the real active entries,
not all that are stored in the caches.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
</feed>
