All of lore.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] libnetfilter_conntrack 0.0.98 release
@ 2008-11-29 12:49 Pablo Neira Ayuso
  2008-11-30  9:46 ` Wolfram Schlich
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2008-11-29 12:49 UTC (permalink / raw)
  To: netfilter; +Cc: netfilter-announce, netfilter-devel, lwn

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

Hi!

The netfilter project proudly presents libnetfilter_conntrack-0.0.98.

libnetfilter_conntrack is a userspace library providing a programming
interface (API) to the in-kernel connection tracking state table. This
library requires a linux kernel >= 2.6.18.

This release includes one major bugfix, a couple of minor fixes, the new
attribute group API and cleanups. See ChangeLog for more details.

You can download it from:

http://www.netfilter.org/projects/libnetfilter_conntrack/
ftp://ftp.netfilter.org/pub/libnetfilter_conntrack/

Pablo,
on behalf of the Netfilter Project.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers


[-- Attachment #2: ChangeLog --]
[-- Type: text/plain, Size: 691 bytes --]

Pablo Neira Ayuso (13):
      objopt: use indirect calls instead of switch
      API: use of __builtin_expect in error checking paths
      snprintf: fix compilation warning in 64-bits platforms
      groups: add attribute group API
      API: add nfct_attr_is_set_array function
      version: bump to 0.0.98
      src: set specific array size for the API
      qa: add test file to check for missing indirect function calls
      helper: fix missing copy function for helper name
      bsf: major rework of the BSF generation code
      bsf: remove unnecessary function inline
      api: fix bogus netlink flags in nfct_build_query
      api: fix bogus netlink flags in nfexp_build_query


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ANNOUNCE] libnetfilter_conntrack 0.0.98 release
  2008-11-29 12:49 [ANNOUNCE] libnetfilter_conntrack 0.0.98 release Pablo Neira Ayuso
@ 2008-11-30  9:46 ` Wolfram Schlich
  2008-11-30 10:03   ` Wolfram Schlich
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Schlich @ 2008-11-30  9:46 UTC (permalink / raw)
  To: netfilter

* Pablo Neira Ayuso <pablo@netfilter.org> [2008-11-29 13:49]:
> Hi!

Hey :)

> The netfilter project proudly presents libnetfilter_conntrack-0.0.98.

After upgrading to 0.0.98 and restarting conntrackd, I constantly
get such messages on the backup firewall, even after restarting
conntrackd on both firewalls once again:

2008-11-30 10:40:08 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038103 before expected seq=1228039271
2008-11-30 10:40:09 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038104 before expected seq=1228039271
2008-11-30 10:40:10 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038105 before expected seq=1228039273
2008-11-30 10:40:11 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038106 before expected seq=1228039274

The numbers look kinda confusing to me.

What's wrong? :)
-- 
Regards,
Wolfram Schlich <wschlich@gentoo.org>
Gentoo Linux * http://dev.gentoo.org/~wschlich/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ANNOUNCE] libnetfilter_conntrack 0.0.98 release
  2008-11-30  9:46 ` Wolfram Schlich
@ 2008-11-30 10:03   ` Wolfram Schlich
  2008-12-01 19:50     ` conntrackd reports message before expected seq [was Re: [ANNOUNCE] libnetfilter_conntrack 0.0.98 release] Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfram Schlich @ 2008-11-30 10:03 UTC (permalink / raw)
  To: netfilter

* Wolfram Schlich <lists@wolfram.schlich.org> [2008-11-30 10:47]:
> After upgrading to 0.0.98 and restarting conntrackd, I constantly
> get such messages on the backup firewall, even after restarting
> conntrackd on both firewalls once again:
> 
> 2008-11-30 10:40:08 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038103 before expected seq=1228039271
> 2008-11-30 10:40:09 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038104 before expected seq=1228039271
> 2008-11-30 10:40:10 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038105 before expected seq=1228039273
> 2008-11-30 10:40:11 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038106 before expected seq=1228039274
> 
> The numbers look kinda confusing to me.
> 
> What's wrong? :)

Interesting... it went away after rebooting both machines at once.
-- 
Regards,
Wolfram Schlich <wschlich@gentoo.org>
Gentoo Linux * http://dev.gentoo.org/~wschlich/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* conntrackd reports message before expected seq [was Re: [ANNOUNCE] libnetfilter_conntrack 0.0.98 release]
  2008-11-30 10:03   ` Wolfram Schlich
@ 2008-12-01 19:50     ` Pablo Neira Ayuso
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Neira Ayuso @ 2008-12-01 19:50 UTC (permalink / raw)
  To: netfilter; +Cc: Wolfram Schlich

Hi Wolfram,

Wolfram Schlich wrote:
> * Wolfram Schlich <lists@wolfram.schlich.org> [2008-11-30 10:47]:
>> After upgrading to 0.0.98 and restarting conntrackd, I constantly
>> get such messages on the backup firewall, even after restarting
>> conntrackd on both firewalls once again:
>>
>> 2008-11-30 10:40:08 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038103 before expected seq=1228039271
>> 2008-11-30 10:40:09 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038104 before expected seq=1228039271
>> 2008-11-30 10:40:10 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038105 before expected seq=1228039273
>> 2008-11-30 10:40:11 +01:00; hafw2; daemon.warning; conntrack-tools[29154]: Received seq=1228038106 before expected seq=1228039274
>>
>> The numbers look kinda confusing to me.
>>
>> What's wrong? :)
> 
> Interesting... it went away after rebooting both machines at once.

There are two possible reasons for this:

* There is a bug in the hello'ing, actually there was one in 0.9.7 (race 
condition, not that easy to trigger) but it is fixed in 0.9.8. When 
conntrackd starts in one node in ft-fw mode, it sets its hello flag in 
every message until the other node replies with a hello back. This is 
used to reset the sequence tracking. If the node does not see any hello, 
it does not reset its sequence tracking, reporting a similar log message.

* This has happened to me once: You (or your script) has deleted the 
/var/lock/conntrack.lock file of an existing conntrackd instance, then 
you launched conntrackd. At this moment you have two instances of 
conntrackd running in ft-fw mode (but you did not notice), each sending 
messages with their own sequence number. Then, the other point drops the 
messages of one of the instances as they are before the expected 
sequence number.

I think your problem is the second, as the expected sequence is 
increasing (so this means the node is accepting the messages from one 
instance or somewhere else). A bug in the hello'ing (as described in the 
first point) would keep the expected sequence the same.

I'm not sure how to fix a situation in which the lock file is deleted 
accidentally and two instances of conntrackd run at the same time in 
ft-fw mode. Let me think about this, probably the init scripts can check 
this before relaunching conntrackd?

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ANNOUNCE] libnetfilter_conntrack 0.0.98 release
@ 2008-12-14 21:52 Pablo Neira Ayuso
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Neira Ayuso @ 2008-12-14 21:52 UTC (permalink / raw)
  To: netfilter; +Cc: netfilter-announce, netfilter-devel, lwn

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

Hi!

The netfilter project proudly presents libnetfilter_conntrack-0.0.99.

libnetfilter_conntrack is a userspace library providing a programming
interface (API) to the in-kernel connection tracking state table. This
library requires a linux kernel >= 2.6.18.

This release includes a couple of minor fixes. See ChangeLog for more
details.

You can download it from:

http://www.netfilter.org/projects/libnetfilter_conntrack/
ftp://ftp.netfilter.org/pub/libnetfilter_conntrack/

Pablo,
on behalf of the Netfilter Project.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers



[-- Attachment #2: ChangeLog --]
[-- Type: text/plain, Size: 384 bytes --]

Pablo Neira Ayuso (6):
      automake: add missing stack.h to include/internal/Makefile.am
      version: bump to 0.0.99
      api: fix minor issues in the kerneldoc style documentation
      utils: fix wrong use of errno in example files
      headers: add CTA_NAT_SEQ_UNSPEC to linux_nfnetlink_conntrack.h
      build: do not inconditionally include TCP state into netlink message


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-14 21:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-29 12:49 [ANNOUNCE] libnetfilter_conntrack 0.0.98 release Pablo Neira Ayuso
2008-11-30  9:46 ` Wolfram Schlich
2008-11-30 10:03   ` Wolfram Schlich
2008-12-01 19:50     ` conntrackd reports message before expected seq [was Re: [ANNOUNCE] libnetfilter_conntrack 0.0.98 release] Pablo Neira Ayuso
  -- strict thread matches above, loose matches on Subject: below --
2008-12-14 21:52 [ANNOUNCE] libnetfilter_conntrack 0.0.98 release Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.