* [ANNOUNCE] Release conntrack-tools 0.9.6
@ 2008-03-08 13:05 ` Pablo Neira Ayuso
0 siblings, 0 replies; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-03-08 13:05 UTC (permalink / raw)
To: netfilter-announce, netfilter, Netfilter Development Mailinglist,
Netfilter-failover list
[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]
Hi!
The netfilter project proudly presents another development release of
the conntrack-tools. This release includes important improvements, new
features and bugfixes:
* IPv6 support and new manpage for conntrackd
* XML and timestamp support for conntrack
* secmark support
* improved performance
* support for VLAN interfaces
* support for related connections and NAT sequence adjustments (helpers)
* improved statistics support
* tons of cleanups and improvements from Max Kellermann
Detailed changelog is attached.
What are the conntrack-tools?
- The userspace daemon so-called conntrackd that covers the specific
aspects of stateful Linux firewalls to enable high availability
solutions. It can be used as statistics collector of the firewall use as
well. The daemon is highly configurable and easily extensible.
- The command line interface (CLI) conntrack that provides an interface
to add, delete and update flow entries, list current active flows in
plain text/XML, current IPv4 NAT'ed flows, reset counters, and flush the
complete connection tracking table among many other.
Where can I download it from?
http://www.netfilter.org/projects/conntrack-tools/downloads.html
Where can I get more information about them?
http://people.netfilter.org/pablo/conntrack-tools/
Enjoy,
Pablo (on behalf of the Netfilter Project)
--
"Los honestos son inadaptados sociales" -- Les Luthiers
[-- Attachment #2: ChangeLog --]
[-- Type: text/plain, Size: 4848 bytes --]
version 0.9.6 (2008/03/08)
------------------------------
Pablo Neira Ayuso <pablo@netfilter.org>:
o fix compilation problem due to missing headers (Krisztian Kovacs)
o include kernel options and Fedora comments in the INSTALL file
o remove -lpthread during compilation
o update library function checking in configure.in
= conntrack =
o fix missing `-g' and `-n' options in getopt_long control string
o add support for secmark (requires Linux kernel >= 2.6.25)
o add mark and secmark information to the manpage
o cleanup error message
o add support for -E -o xml,timestamp
= conntrackd =
o Add IPv6 support
o Remove window tracking disabling limitation (requires Linux kernel >= 2.6.22)
o syslog support (based on patch from Simon Lodal)
o add CacheWriteThrough clause: external cache write through policy
o add support for secmark (requires Linux kernel >= 2.6.25)
o add conntrackd (8) manpage
o raise ignorepool maximum limit from 1024 to INT_MAX
o Use more appropriate names for the existing synchronization modes:
o rename `persistent' mode to `alarm'
o rename `nack' mode to `ftfw'
o Now default synchronization mode is ftfw instead of alarm
o rename `examples' directory to `doc'
o add support for related conntracks (requires Linux kernel >= 2.6.22)
o show error and warning messages to stderr
o hash lookup speedups based on comments from netdev's discussions
o add support for connection logging to the statistics mode via Logfile
o minor irrelevant fixes for uncommon error paths and fix several typos
o detach daemon from its terminal (Ben Lenitz <BLentz@channing-bete.com>)
o obsolete `-S' option: Use information provided by the config file
o daemonize conntrackd after initialization
o rename class `buffer' to `queue' which is what it really implements
o fix logfiles permissions, do not default to umask
o wake up the daemon iff there are real events to handle instead of polling
o add support for tagged vlan interfaces in the config file, e.g. eth0.1
o implement a rb-tree based alarm framework
o constify queue_iterate()
o use list_del_init() and list_empty() to check if a node is in the list
o remove unix socket file on exit
o use umask() to set up file permissions
o add support for NAT sequence adjustment (requires Linux kernel >= 2.6.25)
o remove TODO file from release tarballs
o compose the file descriptor set at initialization stage to save some cycles
o cleanup: remove config_set from main(), use config_file variable instead
Max Kellermann <max@duempel.org>:
o fix shadow warnings by renaming variables or making them local
o remove "-g" from Makefile.am, this should be specified by the user
o enable C99 mode
o use C99 integers (uint32_t instead of u_int32_t)
o remove several superfluous initializations
= conntrack =
o check for malloc() failure in merge_opts
o eliminate local variable by returning from the loop
o explicitly cast in nat_parse()
= conntrackd =
o resolve global variable "alarm" conflict with alarm() function in unistd.h.
o enable gcc warnings, including -Werror
o use list_for_each_entry() instead of list_for_each()
o use const when possible
o remove prefetch in slist.h since it confuses gcc
o fix illegal use of return in the yacc code, use break instead
o fix wrong invocations after prototype cleanup
o set the return type of the parse functions to "void"
o use the comma operator instead of curly braces
o add missing function prototypes
o merge several *_alarm() functions into init_alarm()
o use add_alarm() in mod_alarm() to avoid code duplication
o import tcp_state_helper only once
o add missing printf arguments
o use timeradd() since manipulating tv_sec directly
o fix lots of gcc warnings
o don't call INIT_LIST_HEAD on list item when unneeded
o always close stdin - even in non-daemon mode, it is of no use
o chdir("/") to release the cwd inode
o ignore setsid() failure, because there is only one possible and
o fix harmless error condition
o fix memory leaks in several error output paths
o import only required C headers and put local headers on top to check
o fix double free() bug in the error output path of mcast_create()
o eliminate unsed cache_get_conntrack() in rs_list_to_tx()
o remove capability code and rely on the error returned by the syscall
o major simplification of the logging infrastructure
o use fputs() instead of fprintf() in log.c
o improve error message if netlink initialization fails
o merge mod_alarm() into add_alarm(), remove alarm_set_expiration()
o remove init_alarm() before add_alarm()
o fix error checking of local_create_server()
o added struct local_server, several cleanups in local socket infrastructure
o remove unused prototypes in network.h
o check if the received packet is large enough
o introduce alarm_pending()
o cleanup: use size_t instead of integer
o several cleanups in the rbtree-based alarm
o whitespace cleanups
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ANNOUNCE] Release conntrack-tools 0.9.6
@ 2008-03-08 13:05 ` Pablo Neira Ayuso
0 siblings, 0 replies; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-03-08 13:05 UTC (permalink / raw)
To: netfilter-announce, netfilter, Netfilter Development Mailinglist,
Netfilter-failover list
[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]
Hi!
The netfilter project proudly presents another development release of
the conntrack-tools. This release includes important improvements, new
features and bugfixes:
* IPv6 support and new manpage for conntrackd
* XML and timestamp support for conntrack
* secmark support
* improved performance
* support for VLAN interfaces
* support for related connections and NAT sequence adjustments (helpers)
* improved statistics support
* tons of cleanups and improvements from Max Kellermann
Detailed changelog is attached.
What are the conntrack-tools?
- The userspace daemon so-called conntrackd that covers the specific
aspects of stateful Linux firewalls to enable high availability
solutions. It can be used as statistics collector of the firewall use as
well. The daemon is highly configurable and easily extensible.
- The command line interface (CLI) conntrack that provides an interface
to add, delete and update flow entries, list current active flows in
plain text/XML, current IPv4 NAT'ed flows, reset counters, and flush the
complete connection tracking table among many other.
Where can I download it from?
http://www.netfilter.org/projects/conntrack-tools/downloads.html
Where can I get more information about them?
http://people.netfilter.org/pablo/conntrack-tools/
Enjoy,
Pablo (on behalf of the Netfilter Project)
--
"Los honestos son inadaptados sociales" -- Les Luthiers
[-- Attachment #2: ChangeLog --]
[-- Type: text/plain, Size: 4848 bytes --]
version 0.9.6 (2008/03/08)
------------------------------
Pablo Neira Ayuso <pablo@netfilter.org>:
o fix compilation problem due to missing headers (Krisztian Kovacs)
o include kernel options and Fedora comments in the INSTALL file
o remove -lpthread during compilation
o update library function checking in configure.in
= conntrack =
o fix missing `-g' and `-n' options in getopt_long control string
o add support for secmark (requires Linux kernel >= 2.6.25)
o add mark and secmark information to the manpage
o cleanup error message
o add support for -E -o xml,timestamp
= conntrackd =
o Add IPv6 support
o Remove window tracking disabling limitation (requires Linux kernel >= 2.6.22)
o syslog support (based on patch from Simon Lodal)
o add CacheWriteThrough clause: external cache write through policy
o add support for secmark (requires Linux kernel >= 2.6.25)
o add conntrackd (8) manpage
o raise ignorepool maximum limit from 1024 to INT_MAX
o Use more appropriate names for the existing synchronization modes:
o rename `persistent' mode to `alarm'
o rename `nack' mode to `ftfw'
o Now default synchronization mode is ftfw instead of alarm
o rename `examples' directory to `doc'
o add support for related conntracks (requires Linux kernel >= 2.6.22)
o show error and warning messages to stderr
o hash lookup speedups based on comments from netdev's discussions
o add support for connection logging to the statistics mode via Logfile
o minor irrelevant fixes for uncommon error paths and fix several typos
o detach daemon from its terminal (Ben Lenitz <BLentz@channing-bete.com>)
o obsolete `-S' option: Use information provided by the config file
o daemonize conntrackd after initialization
o rename class `buffer' to `queue' which is what it really implements
o fix logfiles permissions, do not default to umask
o wake up the daemon iff there are real events to handle instead of polling
o add support for tagged vlan interfaces in the config file, e.g. eth0.1
o implement a rb-tree based alarm framework
o constify queue_iterate()
o use list_del_init() and list_empty() to check if a node is in the list
o remove unix socket file on exit
o use umask() to set up file permissions
o add support for NAT sequence adjustment (requires Linux kernel >= 2.6.25)
o remove TODO file from release tarballs
o compose the file descriptor set at initialization stage to save some cycles
o cleanup: remove config_set from main(), use config_file variable instead
Max Kellermann <max@duempel.org>:
o fix shadow warnings by renaming variables or making them local
o remove "-g" from Makefile.am, this should be specified by the user
o enable C99 mode
o use C99 integers (uint32_t instead of u_int32_t)
o remove several superfluous initializations
= conntrack =
o check for malloc() failure in merge_opts
o eliminate local variable by returning from the loop
o explicitly cast in nat_parse()
= conntrackd =
o resolve global variable "alarm" conflict with alarm() function in unistd.h.
o enable gcc warnings, including -Werror
o use list_for_each_entry() instead of list_for_each()
o use const when possible
o remove prefetch in slist.h since it confuses gcc
o fix illegal use of return in the yacc code, use break instead
o fix wrong invocations after prototype cleanup
o set the return type of the parse functions to "void"
o use the comma operator instead of curly braces
o add missing function prototypes
o merge several *_alarm() functions into init_alarm()
o use add_alarm() in mod_alarm() to avoid code duplication
o import tcp_state_helper only once
o add missing printf arguments
o use timeradd() since manipulating tv_sec directly
o fix lots of gcc warnings
o don't call INIT_LIST_HEAD on list item when unneeded
o always close stdin - even in non-daemon mode, it is of no use
o chdir("/") to release the cwd inode
o ignore setsid() failure, because there is only one possible and
o fix harmless error condition
o fix memory leaks in several error output paths
o import only required C headers and put local headers on top to check
o fix double free() bug in the error output path of mcast_create()
o eliminate unsed cache_get_conntrack() in rs_list_to_tx()
o remove capability code and rely on the error returned by the syscall
o major simplification of the logging infrastructure
o use fputs() instead of fprintf() in log.c
o improve error message if netlink initialization fails
o merge mod_alarm() into add_alarm(), remove alarm_set_expiration()
o remove init_alarm() before add_alarm()
o fix error checking of local_create_server()
o added struct local_server, several cleanups in local socket infrastructure
o remove unused prototypes in network.h
o check if the received packet is large enough
o introduce alarm_pending()
o cleanup: use size_t instead of integer
o several cleanups in the rbtree-based alarm
o whitespace cleanups
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE] Release conntrack-tools 0.9.6
2008-03-08 13:05 ` Pablo Neira Ayuso
(?)
@ 2008-03-09 19:31 ` Krzysztof Oledzki
2008-03-09 19:37 ` Krzysztof Oledzki
2008-03-11 11:30 ` [ANNOUNCE] Release conntrack-tools 0.9.6 Pablo Neira Ayuso
-1 siblings, 2 replies; 7+ messages in thread
From: Krzysztof Oledzki @ 2008-03-09 19:31 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: Netfilter Development Mailinglist
[-- Attachment #1: Type: TEXT/PLAIN, Size: 896 bytes --]
On Sat, 8 Mar 2008, Pablo Neira Ayuso wrote:
> Hi!
Hi,
> The netfilter project proudly presents another development release of
> the conntrack-tools. This release includes important improvements, new
> features and bugfixes:
<CUT>
I attached two patches to fix two warnings about shadowed declarations.
BTW: It seems there is somethig wrong with --dst-nat/--src-nat filtering:
# conntrack -L --src-nat|wc -l;conntrack -L --src-nat=1.2.3.4|wc -l;conntrack -L --src-nat=244.244.244.244|wc -l
5010
5010
5010
If I understand it properly "conntrack -L --src-nat=A.B.C.D" is supposed
to show only connections snated to A.B.C.D, but as you can see it ignores
this parameter and shows all snated connections.
From the other hand --dst-nat works in exactly opposite way: it filters
out all connections, even matching ones.
Best regards,
Krzysztof Olędzki
[-- Attachment #2: Type: TEXT/PLAIN, Size: 606 bytes --]
diff -Nur conntrack-tools-20080308-orig/include/network.h conntrack-tools-20080308/include/network.h
--- conntrack-tools-20080308-orig/include/network.h 2008-01-23 13:30:36.000000000 +0100
+++ conntrack-tools-20080308/include/network.h 2008-03-08 17:39:56.000000000 +0100
@@ -61,7 +61,7 @@
struct mcast_conf;
-int mcast_buffered_init(struct mcast_conf *conf);
+int mcast_buffered_init(struct mcast_conf *mconf);
void mcast_buffered_destroy(void);
int mcast_buffered_send_netmsg(struct mcast_sock *m, void *data, size_t len);
ssize_t mcast_buffered_pending_netmsg(struct mcast_sock *m);
[-- Attachment #3: Type: TEXT/PLAIN, Size: 553 bytes --]
diff -Nur conntrack-tools-20080308-orig/include/state_helper.h conntrack-tools-20080308/include/state_helper.h
--- conntrack-tools-20080308-orig/include/state_helper.h 2008-03-08 17:50:11.000000000 +0100
+++ conntrack-tools-20080308/include/state_helper.h 2008-03-08 17:50:41.000000000 +0100
@@ -17,6 +17,6 @@
};
int state_helper_verdict(int type, struct nf_conntrack *ct);
-void state_helper_register(struct state_replication_helper *h, int state);
+void state_helper_register(struct state_replication_helper *h, int h_state);
#endif
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE] Release conntrack-tools 0.9.6
2008-03-09 19:31 ` Krzysztof Oledzki
@ 2008-03-09 19:37 ` Krzysztof Oledzki
2008-04-13 1:53 ` bug in conntrack + NAT filtering [was Re: [ANNOUNCE] Release conntrack-tools 0.9.6] Pablo Neira Ayuso
2008-03-11 11:30 ` [ANNOUNCE] Release conntrack-tools 0.9.6 Pablo Neira Ayuso
1 sibling, 1 reply; 7+ messages in thread
From: Krzysztof Oledzki @ 2008-03-09 19:37 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: Netfilter Development Mailinglist
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1112 bytes --]
On Sun, 9 Mar 2008, Krzysztof Oledzki wrote:
>
>
> On Sat, 8 Mar 2008, Pablo Neira Ayuso wrote:
>
>> Hi!
> Hi,
>
>> The netfilter project proudly presents another development release of
>> the conntrack-tools. This release includes important improvements, new
>> features and bugfixes:
>
> <CUT>
>
> I attached two patches to fix two warnings about shadowed declarations.
>
> BTW: It seems there is somethig wrong with --dst-nat/--src-nat filtering:
>
> # conntrack -L --src-nat|wc -l;conntrack -L --src-nat=1.2.3.4|wc -l;conntrack
> -L --src-nat=244.244.244.244|wc -l
> 5010
> 5010
> 5010
>
> If I understand it properly "conntrack -L --src-nat=A.B.C.D" is supposed to
> show only connections snated to A.B.C.D, but as you can see it ignores this
> parameter and shows all snated connections.
>
> From the other hand --dst-nat works in exactly opposite way: it filters out
> all connections, even matching ones.
Small update: "--dst-nat A.B.C.D" instead of "--dst-nat=A.B.C.D" works
exactly like --src-nat (shows everything).
Best regards,
Krzysztof Olędzki
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE] Release conntrack-tools 0.9.6
[not found] ` <003b01c881ae$ce989d60$6bc9d820$@com>
@ 2008-03-09 20:12 ` Pablo Neira Ayuso
0 siblings, 0 replies; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-03-09 20:12 UTC (permalink / raw)
To: Gilad Benjamini; +Cc: Netfilter Development Mailinglist
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
Gilad Benjamini wrote:
> Hi,
> The tarball includes ".svn" directories under the doc subdirectory.
> May I assume this is a mistake ?
Indeed. I forgot to update the dist-hook when I renamed examples/ to
doc/. I just committed the patch attached to SVN.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 321 bytes --]
Index: Makefile.am
===================================================================
--- Makefile.am (revisión: 7395)
+++ Makefile.am (copia de trabajo)
@@ -17,4 +17,4 @@
dist-hook:
rm -rf `find $(distdir)/debian -name .svn`
- rm -rf `find $(distdir)/examples -name .svn`
+ rm -rf `find $(distdir)/doc -name .svn`
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ANNOUNCE] Release conntrack-tools 0.9.6
2008-03-09 19:31 ` Krzysztof Oledzki
2008-03-09 19:37 ` Krzysztof Oledzki
@ 2008-03-11 11:30 ` Pablo Neira Ayuso
1 sibling, 0 replies; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-03-11 11:30 UTC (permalink / raw)
To: Krzysztof Oledzki; +Cc: Netfilter Development Mailinglist
Krzysztof Oledzki wrote:
> On Sat, 8 Mar 2008, Pablo Neira Ayuso wrote:
>> The netfilter project proudly presents another development release of
>> the conntrack-tools. This release includes important improvements, new
>> features and bugfixes:
>
> <CUT>
>
> I attached two patches to fix two warnings about shadowed declarations.
Applied. Thanks.
> BTW: It seems there is somethig wrong with --dst-nat/--src-nat filtering:
>
> # conntrack -L --src-nat|wc -l;conntrack -L --src-nat=1.2.3.4|wc
> -l;conntrack -L --src-nat=244.244.244.244|wc -l
> 5010
> 5010
> 5010
>
> If I understand it properly "conntrack -L --src-nat=A.B.C.D" is supposed
> to show only connections snated to A.B.C.D, but as you can see it
> ignores this parameter and shows all snated connections.
>
> From the other hand --dst-nat works in exactly opposite way: it filters
> out all connections, even matching ones.
Will investigate. I'd appreciate a patch for this.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug in conntrack + NAT filtering [was Re: [ANNOUNCE] Release conntrack-tools 0.9.6]
2008-03-09 19:37 ` Krzysztof Oledzki
@ 2008-04-13 1:53 ` Pablo Neira Ayuso
0 siblings, 0 replies; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-04-13 1:53 UTC (permalink / raw)
To: Krzysztof Oledzki; +Cc: Netfilter Development Mailinglist
Hi Krzysztof,
Krzysztof Oledzki wrote:
>> BTW: It seems there is somethig wrong with --dst-nat/--src-nat filtering:
>>
>> # conntrack -L --src-nat|wc -l;conntrack -L --src-nat=1.2.3.4|wc
>> -l;conntrack -L --src-nat=244.244.244.244|wc -l
>> 5010
>> 5010
>> 5010
I have committed a patch to SVN that it is supposed to fix this problem.
The commit also contains a way more flexible delete and update
operations, now you can do: conntrack -D -s 1.2.3.4 to delete all the
flows that are identified by the source IP 1.2.3.4. Similar feature for
the update operation: conntrack -U -s 1.2.3.4 -m 1 sets the connmark to
1 for all the matching flows.
I have also added a very (really very) simple tool to SVN that to
perform qa testing for the command line tool based on an user-defined
testsuite. Any help feeding the testsuite directory would be appreciate.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-13 1:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-08 13:05 [ANNOUNCE] Release conntrack-tools 0.9.6 Pablo Neira Ayuso
2008-03-08 13:05 ` Pablo Neira Ayuso
2008-03-09 19:31 ` Krzysztof Oledzki
2008-03-09 19:37 ` Krzysztof Oledzki
2008-04-13 1:53 ` bug in conntrack + NAT filtering [was Re: [ANNOUNCE] Release conntrack-tools 0.9.6] Pablo Neira Ayuso
2008-03-11 11:30 ` [ANNOUNCE] Release conntrack-tools 0.9.6 Pablo Neira Ayuso
[not found] ` <003b01c881ae$ce989d60$6bc9d820$@com>
2008-03-09 20:12 ` 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.