<feed xmlns='http://www.w3.org/2005/Atom'>
<title>conntrack-tools.git/src, branch conntrack-tools-1.0.1</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-1.0.1</id>
<link rel='self' href='https://git.amelek.net/vyos/conntrack-tools.git/atom?h=conntrack-tools-1.0.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/'/>
<updated>2012-01-04T13:19:17+00:00</updated>
<entry>
<title>conntrackd: fix checking of return value of queue_add()</title>
<updated>2012-01-04T13:19:17+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2012-01-04T13:16:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=8da00687d65f06160827e4cd469c330d3a73a9d9'/>
<id>urn:sha1:8da00687d65f06160827e4cd469c330d3a73a9d9</id>
<content type='text'>
Most callers of queue_add() assume that it returns != 0 in case of
success. However, it may return -1 in case that the queue gets full.
In that case, most callers have to:

- release the object that they want to enqueue.
- decrement the refcount, in case they have bumped it.

However, most of these callers are using the tx_queue which currently
has no limit in size at all. This fix is necessary in case that I
decide to limit the size of the transmission queue in the future
(which makes a lot of sense indeed).

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: fix filtering of dump output if internal cache is disabled</title>
<updated>2011-12-19T17:52:31+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2011-12-19T17:52:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=6612fe8d073bf292f5dc7f6271c76f714e81d9d1'/>
<id>urn:sha1:6612fe8d073bf292f5dc7f6271c76f714e81d9d1</id>
<content type='text'>
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: add missing initial caching of gettimeofday()</title>
<updated>2011-10-24T10:01:26+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2011-10-24T10:01:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=482c167dffd033915f693c13eb3c47e6f6f77a27'/>
<id>urn:sha1:482c167dffd033915f693c13eb3c47e6f6f77a27</id>
<content type='text'>
Thus, we fix conntrackd -i for flows that were just retrieved
from the kernel:

tcp      6 ESTABLISHED src=192.168.1.135 dst=208.68.163.220 sport=42179 dport=5222 src=208.68.163.220 dst=192.168.1.135 sport=5222 dport=42179 [ASSURED] mark=0 [active since 1319450515s]

Note the wrong "active since" value.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrack: add missing break when parsing --id/--secmark options</title>
<updated>2011-07-08T11:30:36+00:00</updated>
<author>
<name>Florian Westphal</name>
<email>fw@strlen.de</email>
</author>
<published>2011-06-15T21:39:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=daa3b849286222a131e0829676ba98140de7241b'/>
<id>urn:sha1:daa3b849286222a131e0829676ba98140de7241b</id>
<content type='text'>
commit 147ed522f52a62ab0d854ddc443d27d97dbf6cdf
(conntrack: add support for mark mask) failed to add a break
after secmark/id option parsing.

Results in '-m 42 -c 1' to search for mark 1 instead of 42.

Signed-off-by: Florian Westphal &lt;fw@strlen.de&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrack: remove unused variable with -S</title>
<updated>2011-06-22T09:21:01+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2011-06-22T09:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=4904bbeff9b575d17678ff839583662c9f7b12c4'/>
<id>urn:sha1:4904bbeff9b575d17678ff839583662c9f7b12c4</id>
<content type='text'>
Error: UNUSED_VALUE:
conntrack-tools-1.0.0/src/conntrack.c:1297: returned_pointer: Pointer "nl" returned by "strchr(buf, 10)" is never used.

Reported-by: Jiri Popelka &lt;jpopelka@redhat.com&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrack: skip sending update message to kernel if conntrack is unchanged</title>
<updated>2011-06-15T12:46:30+00:00</updated>
<author>
<name>Florian Westphal</name>
<email>fw@strlen.de</email>
</author>
<published>2011-06-15T12:13:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=6428f54328a433a86bdc0d7154ff3a7d322e0fb4'/>
<id>urn:sha1:6428f54328a433a86bdc0d7154ff3a7d322e0fb4</id>
<content type='text'>
This speeds up operation when a lot of conntracks exist, but only
a few of them have to be altered.

This change is user-visible because the exit message
("%d flow entries have been updated") will now print the number of entries
that have been altered instead of the total number of conntracks seen.

Signed-off-by: Florian Westphal &lt;fw@strlen.de&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrack: add support for mark mask</title>
<updated>2011-06-15T12:46:19+00:00</updated>
<author>
<name>Florian Westphal</name>
<email>fw@strlen.de</email>
</author>
<published>2011-06-15T12:13:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=147ed522f52a62ab0d854ddc443d27d97dbf6cdf'/>
<id>urn:sha1:147ed522f52a62ab0d854ddc443d27d97dbf6cdf</id>
<content type='text'>
Extend --mark option to optionally take a mask, seperated
by '/', e.g. --mark 0x80/0xf0.

When used with -L, only test those bits of the mark that
are in the mask range (behaves like iptables like -m mark).

When used with -U, zero out those bits indicated by the mask and
XOR the new mark into the result (behaves like iptables -j MARK
--set-xmark).

Signed-off-by: Florian Westphal &lt;fw@strlen.de&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrack: display informative message if expectation table is flushed</title>
<updated>2011-02-22T14:34:59+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2011-02-22T14:34:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=88fd3dc90716e9d252cedcd668371743730acdcb'/>
<id>urn:sha1:88fd3dc90716e9d252cedcd668371743730acdcb</id>
<content type='text'>
With this patch, we display the following message after:

# conntrack -F expect
conntrack v0.9.15 (conntrack-tools): expectation table has been emptied.

To make it consistent with the message displayed with conntrack -F.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrackd: remove use of deprecated nfct_maxsize()</title>
<updated>2011-02-18T11:15:52+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2011-02-18T11:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=4dd7a3c15830aa21548716798171e67cb14bca49'/>
<id>urn:sha1:4dd7a3c15830aa21548716798171e67cb14bca49</id>
<content type='text'>
This patch removes the use of nfct_maxsize() and several abusive
stack-based allocations.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>conntrack: allocate template objects in the heap</title>
<updated>2011-02-17T18:05:32+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2011-02-17T18:05:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/conntrack-tools.git/commit/?id=3bb13acbff0983960e06eb33e0daa98c3dab472c'/>
<id>urn:sha1:3bb13acbff0983960e06eb33e0daa98c3dab472c</id>
<content type='text'>
With this patch, we don't abuse the stack anymore, instead we allocate
the template objects that are used in the heap.

We stop using nfct_maxsize() which is now deprecated in
libnetfilter_conntrack.

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