* [NETFILTER 00/02]: Netfilter fixes
@ 2007-10-18 10:12 Patrick McHardy
2007-10-18 10:12 ` [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix Patrick McHardy
2007-10-18 10:12 ` [NETFILTER 02/02]: xt_sctp: fix mistake to pass a pointer where array is required Patrick McHardy
0 siblings, 2 replies; 21+ messages in thread
From: Patrick McHardy @ 2007-10-18 10:12 UTC (permalink / raw)
To: davem; +Cc: Patrick McHardy, netfilter-devel
Hi Dave,
these two patches contain a follow-up fix to the TCP conntrack connection
reopening problem and a fix for the sctp match, which uses ARRAY_SIZE on
a pointer instead of an array.
Please apply, thanks.
include/linux/netfilter/xt_sctp.h | 13 +++++--------
net/netfilter/nf_conntrack_proto_tcp.c | 11 +++++++----
net/netfilter/xt_sctp.c | 18 ++++++++----------
3 files changed, 20 insertions(+), 22 deletions(-)
Jozsef Kadlecsik (1):
[NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
Li Zefan (1):
[NETFILTER]: xt_sctp: fix mistake to pass a pointer where array is required
^ permalink raw reply [flat|nested] 21+ messages in thread* [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix
2007-10-18 10:12 [NETFILTER 00/02]: Netfilter fixes Patrick McHardy
@ 2007-10-18 10:12 ` Patrick McHardy
2007-10-18 10:26 ` Krzysztof Oledzki
2007-10-18 10:12 ` [NETFILTER 02/02]: xt_sctp: fix mistake to pass a pointer where array is required Patrick McHardy
1 sibling, 1 reply; 21+ messages in thread
From: Patrick McHardy @ 2007-10-18 10:12 UTC (permalink / raw)
To: davem; +Cc: Patrick McHardy, netfilter-devel
[NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
Setting the last_dir parameter was missing from the previous one.
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tested-by: Krzysztof Piotr Oledzki <ole@ans.pl>
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
commit 9768fafed7a5588757d972b2f511cb17a874f496
tree f0a8526f52a503a1cff944c9dc3012e05763310a
parent d85714d81cc0408daddb68c10f7fd69eafe7c213
author Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Thu, 18 Oct 2007 12:09:51 +0200
committer Patrick McHardy <kaber@trash.net> Thu, 18 Oct 2007 12:09:51 +0200
net/netfilter/nf_conntrack_proto_tcp.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/net/netfilter/nf_conntrack_proto_tcp.c b/net/netfilter/nf_conntrack_proto_tcp.c
index c707534..4dc23ab 100644
--- a/net/netfilter/nf_conntrack_proto_tcp.c
+++ b/net/netfilter/nf_conntrack_proto_tcp.c
@@ -834,10 +834,12 @@ static int tcp_packet(struct nf_conn *conntrack,
case TCP_CONNTRACK_SYN_SENT:
if (old_state < TCP_CONNTRACK_TIME_WAIT)
break;
- if (conntrack->proto.tcp.seen[!dir].flags &
- IP_CT_TCP_FLAG_CLOSE_INIT) {
- /* Attempt to reopen a closed connection.
- * Delete this connection and look up again. */
+ if ((conntrack->proto.tcp.seen[!dir].flags &
+ IP_CT_TCP_FLAG_CLOSE_INIT)
+ || (conntrack->proto.tcp.last_dir == dir
+ && conntrack->proto.tcp.last_index == TCP_RST_SET)) {
+ /* Attempt to reopen a closed/aborted connection.
+ * Delete this connection and look up again. */
write_unlock_bh(&tcp_lock);
if (del_timer(&conntrack->timeout))
conntrack->timeout.function((unsigned long)
@@ -925,6 +927,7 @@ static int tcp_packet(struct nf_conn *conntrack,
in_window:
/* From now on we have got in-window packets */
conntrack->proto.tcp.last_index = index;
+ conntrack->proto.tcp.last_dir = dir;
pr_debug("tcp_conntracks: ");
NF_CT_DUMP_TUPLE(tuple);
^ permalink raw reply related [flat|nested] 21+ messages in thread* Re: [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix
2007-10-18 10:12 ` [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix Patrick McHardy
@ 2007-10-18 10:26 ` Krzysztof Oledzki
2007-10-18 10:29 ` Patrick McHardy
0 siblings, 1 reply; 21+ messages in thread
From: Krzysztof Oledzki @ 2007-10-18 10:26 UTC (permalink / raw)
To: Patrick McHardy; +Cc: davem, netfilter-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 529 bytes --]
On Thu, 18 Oct 2007, Patrick McHardy wrote:
> [NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
>
> Setting the last_dir parameter was missing from the previous one.
This description is IMHO wrong. It should be as in previous, little
incomplete (last_dir), patch:
"If one side aborts an established connection, the entry still lingers for
10s in conntrack for the late packets. Allow to open up the connection
again for the party which sent the RST packet."
Best regards,
Krzysztof Olędzki
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix
2007-10-18 10:26 ` Krzysztof Oledzki
@ 2007-10-18 10:29 ` Patrick McHardy
2007-10-18 10:37 ` Krzysztof Oledzki
0 siblings, 1 reply; 21+ messages in thread
From: Patrick McHardy @ 2007-10-18 10:29 UTC (permalink / raw)
To: Krzysztof Oledzki; +Cc: davem, netfilter-devel
Krzysztof Oledzki wrote:
>
>
> On Thu, 18 Oct 2007, Patrick McHardy wrote:
>
>> [NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
>>
>> Setting the last_dir parameter was missing from the previous one.
>
> This description is IMHO wrong. It should be as in previous, little
> incomplete (last_dir), patch:
>
> "If one side aborts an established connection, the entry still lingers for
> 10s in conntrack for the late packets. Allow to open up the connection
> again for the party which sent the RST packet."
The first patch was submitted seperately with a somewhat similar
description. This is just the incremental fix.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix
2007-10-18 10:29 ` Patrick McHardy
@ 2007-10-18 10:37 ` Krzysztof Oledzki
2007-10-18 12:12 ` David Miller
0 siblings, 1 reply; 21+ messages in thread
From: Krzysztof Oledzki @ 2007-10-18 10:37 UTC (permalink / raw)
To: Patrick McHardy; +Cc: davem, netfilter-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1402 bytes --]
On Thu, 18 Oct 2007, Patrick McHardy wrote:
> Krzysztof Oledzki wrote:
>>
>>
>> On Thu, 18 Oct 2007, Patrick McHardy wrote:
>>
>>> [NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
>>>
>>> Setting the last_dir parameter was missing from the previous one.
>>
>> This description is IMHO wrong. It should be as in previous, little
>> incomplete (last_dir), patch:
>>
>> "If one side aborts an established connection, the entry still lingers for
>> 10s in conntrack for the late packets. Allow to open up the connection
>> again for the party which sent the RST packet."
>
>
> The first patch was submitted seperately with a somewhat similar
> description. This is just the incremental fix.
No, there are two independent fixes. The first one is already in the
mainline (nf_conntrack_tcp: fix connection reopening) and it is OK:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=17311393f969090ab060540bd9dbe7dc885a76d5
The second one had been incomplete:
http://marc.info/?l=netfilter-devel&m=119214261727254&w=1
and it was recently fixed:
http://marc.info/?l=netfilter-devel&m=119264302103523&w=1
So, this "Setting the last_dir parameter was missing from the previous
one." comment applies to this patch:
http://marc.info/?l=netfilter-devel&m=119214261727254&w=1
Best regards,
Krzysztof Olędzki
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix
2007-10-18 10:37 ` Krzysztof Oledzki
@ 2007-10-18 12:12 ` David Miller
2007-10-18 12:16 ` Patrick McHardy
0 siblings, 1 reply; 21+ messages in thread
From: David Miller @ 2007-10-18 12:12 UTC (permalink / raw)
To: ole; +Cc: kaber, netfilter-devel
From: Krzysztof Oledzki <ole@ans.pl>
Date: Thu, 18 Oct 2007 12:37:42 +0200 (CEST)
>
>
> On Thu, 18 Oct 2007, Patrick McHardy wrote:
>
> > Krzysztof Oledzki wrote:
> >>
> >>
> >> On Thu, 18 Oct 2007, Patrick McHardy wrote:
> >>
> >>> [NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
> >>>
> >>> Setting the last_dir parameter was missing from the previous one.
> >>
> >> This description is IMHO wrong. It should be as in previous, little
> >> incomplete (last_dir), patch:
> >>
> >> "If one side aborts an established connection, the entry still lingers for
> >> 10s in conntrack for the late packets. Allow to open up the connection
> >> again for the party which sent the RST packet."
> >
> >
> > The first patch was submitted seperately with a somewhat similar
> > description. This is just the incremental fix.
>
> No, there are two independent fixes. The first one is already in the
> mainline (nf_conntrack_tcp: fix connection reopening) and it is OK:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=17311393f969090ab060540bd9dbe7dc885a76d5
>
> The second one had been incomplete:
> http://marc.info/?l=netfilter-devel&m=119214261727254&w=1
> and it was recently fixed:
> http://marc.info/?l=netfilter-devel&m=119264302103523&w=1
>
> So, this "Setting the last_dir parameter was missing from the previous
> one." comment applies to this patch:
> http://marc.info/?l=netfilter-devel&m=119214261727254&w=1
Please sort out this changelog message issue so I can apply
the patch correctly :-)
Thanks!
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix
2007-10-18 12:12 ` David Miller
@ 2007-10-18 12:16 ` Patrick McHardy
2007-10-18 12:22 ` David Miller
0 siblings, 1 reply; 21+ messages in thread
From: Patrick McHardy @ 2007-10-18 12:16 UTC (permalink / raw)
To: David Miller; +Cc: ole, netfilter-devel
David Miller wrote:
> From: Krzysztof Oledzki <ole@ans.pl>
> Date: Thu, 18 Oct 2007 12:37:42 +0200 (CEST)
>
>>>> On Thu, 18 Oct 2007, Patrick McHardy wrote:
>>>>
>>>>> [NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
>>>>>
>>>>> Setting the last_dir parameter was missing from the previous one.
>>>> This description is IMHO wrong. It should be as in previous, little
>>>> incomplete (last_dir), patch:
>>>>
>>>> "If one side aborts an established connection, the entry still lingers for
>>>> 10s in conntrack for the late packets. Allow to open up the connection
>>>> again for the party which sent the RST packet."
>>>
> Please sort out this changelog message issue so I can apply
> the patch correctly :-)
Please take the one from Krzysztof :)
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix
2007-10-18 12:16 ` Patrick McHardy
@ 2007-10-18 12:22 ` David Miller
2007-10-18 13:21 ` Jozsef Kadlecsik
0 siblings, 1 reply; 21+ messages in thread
From: David Miller @ 2007-10-18 12:22 UTC (permalink / raw)
To: kaber; +Cc: ole, netfilter-devel
From: Patrick McHardy <kaber@trash.net>
Date: Thu, 18 Oct 2007 14:16:58 +0200
> David Miller wrote:
> > From: Krzysztof Oledzki <ole@ans.pl>
> > Date: Thu, 18 Oct 2007 12:37:42 +0200 (CEST)
> >
> >>>> On Thu, 18 Oct 2007, Patrick McHardy wrote:
> >>>>
> >>>>> [NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
> >>>>>
> >>>>> Setting the last_dir parameter was missing from the previous one.
> >>>> This description is IMHO wrong. It should be as in previous, little
> >>>> incomplete (last_dir), patch:
> >>>>
> >>>> "If one side aborts an established connection, the entry still lingers for
> >>>> 10s in conntrack for the late packets. Allow to open up the connection
> >>>> again for the party which sent the RST packet."
> >>>
> > Please sort out this changelog message issue so I can apply
> > the patch correctly :-)
>
>
> Please take the one from Krzysztof :)
Done! :-)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [NETFILTER 02/02]: xt_sctp: fix mistake to pass a pointer where array is required
2007-10-18 10:12 [NETFILTER 00/02]: Netfilter fixes Patrick McHardy
2007-10-18 10:12 ` [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix Patrick McHardy
@ 2007-10-18 10:12 ` Patrick McHardy
2007-10-18 12:12 ` David Miller
1 sibling, 1 reply; 21+ messages in thread
From: Patrick McHardy @ 2007-10-18 10:12 UTC (permalink / raw)
To: davem; +Cc: Patrick McHardy, netfilter-devel
[NETFILTER]: xt_sctp: fix mistake to pass a pointer where array is required
Macros like SCTP_CHUNKMAP_XXX(chukmap) require chukmap to be an array,
but match_packet() passes a pointer to these macros. Also remove the
ELEMCOUNT macro and fix a bug in SCTP_CHUNKMAP_COPY.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
commit 49091cc16abab0ee62d22b36371f720f5727537e
tree fbd19a12cad171095c2a0fd9f87c174bbbad0b2f
parent 9768fafed7a5588757d972b2f511cb17a874f496
author Li Zefan <lizf@cn.fujitsu.com> Thu, 18 Oct 2007 12:09:53 +0200
committer Patrick McHardy <kaber@trash.net> Thu, 18 Oct 2007 12:09:53 +0200
include/linux/netfilter/xt_sctp.h | 13 +++++--------
net/netfilter/xt_sctp.c | 18 ++++++++----------
2 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/include/linux/netfilter/xt_sctp.h b/include/linux/netfilter/xt_sctp.h
index b157897..dd5a4fd 100644
--- a/include/linux/netfilter/xt_sctp.h
+++ b/include/linux/netfilter/xt_sctp.h
@@ -7,9 +7,6 @@
#define XT_SCTP_VALID_FLAGS 0x07
-#define ELEMCOUNT(x) (sizeof(x)/sizeof(x[0]))
-
-
struct xt_sctp_flag_info {
u_int8_t chunktype;
u_int8_t flag;
@@ -59,21 +56,21 @@ struct xt_sctp_info {
#define SCTP_CHUNKMAP_RESET(chunkmap) \
do { \
int i; \
- for (i = 0; i < ELEMCOUNT(chunkmap); i++) \
+ for (i = 0; i < ARRAY_SIZE(chunkmap); i++) \
chunkmap[i] = 0; \
} while (0)
#define SCTP_CHUNKMAP_SET_ALL(chunkmap) \
do { \
int i; \
- for (i = 0; i < ELEMCOUNT(chunkmap); i++) \
+ for (i = 0; i < ARRAY_SIZE(chunkmap); i++) \
chunkmap[i] = ~0; \
} while (0)
#define SCTP_CHUNKMAP_COPY(destmap, srcmap) \
do { \
int i; \
- for (i = 0; i < ELEMCOUNT(chunkmap); i++) \
+ for (i = 0; i < ARRAY_SIZE(srcmap); i++) \
destmap[i] = srcmap[i]; \
} while (0)
@@ -81,7 +78,7 @@ struct xt_sctp_info {
({ \
int i; \
int flag = 1; \
- for (i = 0; i < ELEMCOUNT(chunkmap); i++) { \
+ for (i = 0; i < ARRAY_SIZE(chunkmap); i++) { \
if (chunkmap[i]) { \
flag = 0; \
break; \
@@ -94,7 +91,7 @@ struct xt_sctp_info {
({ \
int i; \
int flag = 1; \
- for (i = 0; i < ELEMCOUNT(chunkmap); i++) { \
+ for (i = 0; i < ARRAY_SIZE(chunkmap); i++) { \
if (chunkmap[i] != ~0) { \
flag = 0; \
break; \
diff --git a/net/netfilter/xt_sctp.c b/net/netfilter/xt_sctp.c
index f907770..3358273 100644
--- a/net/netfilter/xt_sctp.c
+++ b/net/netfilter/xt_sctp.c
@@ -42,21 +42,21 @@ match_flags(const struct xt_sctp_flag_info *flag_info,
static inline bool
match_packet(const struct sk_buff *skb,
unsigned int offset,
- const u_int32_t *chunkmap,
- int chunk_match_type,
- const struct xt_sctp_flag_info *flag_info,
- const int flag_count,
+ const struct xt_sctp_info *info,
bool *hotdrop)
{
u_int32_t chunkmapcopy[256 / sizeof (u_int32_t)];
sctp_chunkhdr_t _sch, *sch;
+ int chunk_match_type = info->chunk_match_type;
+ const struct xt_sctp_flag_info *flag_info = info->flag_info;
+ int flag_count = info->flag_count;
#ifdef DEBUG_SCTP
int i = 0;
#endif
if (chunk_match_type == SCTP_CHUNK_MATCH_ALL)
- SCTP_CHUNKMAP_COPY(chunkmapcopy, chunkmap);
+ SCTP_CHUNKMAP_COPY(chunkmapcopy, info->chunkmap);
do {
sch = skb_header_pointer(skb, offset, sizeof(_sch), &_sch);
@@ -73,7 +73,7 @@ match_packet(const struct sk_buff *skb,
duprintf("skb->len: %d\toffset: %d\n", skb->len, offset);
- if (SCTP_CHUNKMAP_IS_SET(chunkmap, sch->type)) {
+ if (SCTP_CHUNKMAP_IS_SET(info->chunkmap, sch->type)) {
switch (chunk_match_type) {
case SCTP_CHUNK_MATCH_ANY:
if (match_flags(flag_info, flag_count,
@@ -104,7 +104,7 @@ match_packet(const struct sk_buff *skb,
switch (chunk_match_type) {
case SCTP_CHUNK_MATCH_ALL:
- return SCTP_CHUNKMAP_IS_CLEAR(chunkmap);
+ return SCTP_CHUNKMAP_IS_CLEAR(info->chunkmap);
case SCTP_CHUNK_MATCH_ANY:
return false;
case SCTP_CHUNK_MATCH_ONLY:
@@ -148,9 +148,7 @@ match(const struct sk_buff *skb,
&& ntohs(sh->dest) <= info->dpts[1],
XT_SCTP_DEST_PORTS, info->flags, info->invflags)
&& SCCHECK(match_packet(skb, protoff + sizeof (sctp_sctphdr_t),
- info->chunkmap, info->chunk_match_type,
- info->flag_info, info->flag_count,
- hotdrop),
+ info, hotdrop),
XT_SCTP_CHUNK_TYPES, info->flags, info->invflags);
}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [NETFILTER 00/02]: Netfilter fixes
@ 2007-12-11 17:42 Patrick McHardy
0 siblings, 0 replies; 21+ messages in thread
From: Patrick McHardy @ 2007-12-11 17:42 UTC (permalink / raw)
To: davem; +Cc: Patrick McHardy, netfilter-devel
Hi Dave,
these two patches fix a missing bit on conntrack entries with master
connections created through ctnetlink and some brokeness in the
iptables compat code, causing it to use pointers dumped to userspace
and copied back again to the kernel without any checks for validity.
Pleasy apply, thanks.
net/ipv4/netfilter/ip_tables.c | 57 +++++++--------------------------
net/netfilter/nf_conntrack_netlink.c | 4 ++-
net/netfilter/x_tables.c | 8 +++-
3 files changed, 21 insertions(+), 48 deletions(-)
Pablo Neira Ayuso (1):
[NETFILTER]: ctnetlink: set expected bit for related conntracks
Patrick McHardy (1):
[NETFILTER]: ip_tables: fix compat copy race
^ permalink raw reply [flat|nested] 21+ messages in thread* [NETFILTER 00/02]: Netfilter fixes
@ 2007-10-11 16:44 Patrick McHardy
0 siblings, 0 replies; 21+ messages in thread
From: Patrick McHardy @ 2007-10-11 16:44 UTC (permalink / raw)
To: davem; +Cc: Patrick McHardy, netfilter-devel
Hi Dave,
following are two netfilter fixes, adding missing IPv6 module aliases
to a few matches and targets and fixing TCP conntrack connection
reopening. I'll also push the conntrack patch to -stable once it
hits upstream.
Please apply. thanks.
net/netfilter/nf_conntrack_proto_tcp.c | 35 ++++++++++++-------------------
net/netfilter/xt_CLASSIFY.c | 1 +
net/netfilter/xt_CONNMARK.c | 1 +
net/netfilter/xt_NOTRACK.c | 1 +
net/netfilter/xt_connbytes.c | 1 +
net/netfilter/xt_connmark.c | 1 +
net/netfilter/xt_dccp.c | 1 +
net/netfilter/xt_sctp.c | 1 +
net/netfilter/xt_tcpmss.c | 1 +
9 files changed, 22 insertions(+), 21 deletions(-)
Jan Engelhardt (1):
[NETFILTER]: x_tables: add missing ip6t_modulename aliases
Jozsef Kadlecsik (1):
[NETFILTER]: nf_conntrack_tcp: fix connection reopening
^ permalink raw reply [flat|nested] 21+ messages in thread* [NETFILTER 00/02]: Netfilter fixes
@ 2007-09-09 22:20 Patrick McHardy
0 siblings, 0 replies; 21+ messages in thread
From: Patrick McHardy @ 2007-09-09 22:20 UTC (permalink / raw)
To: davem; +Cc: netfilter-devel, Patrick McHardy
Hi Dave,
these patches fix an incorrect warning message in IPv4 connection tracking
and the module unload deadlock notices by Neil Horman.
Please apply, thanks.
include/linux/netfilter.h | 5 +--
net/bridge/netfilter/ebtables.c | 1 +
net/ipv4/ipvs/ip_vs_ctl.c | 1 +
net/ipv4/netfilter/arp_tables.c | 1 +
net/ipv4/netfilter/ip_tables.c | 1 +
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c | 11 ++----
net/ipv6/netfilter/ip6_tables.c | 1 +
net/netfilter/nf_sockopt.c | 36 +++++++----------------
8 files changed, 22 insertions(+), 35 deletions(-)
Neil Horman (1):
[NETFILTER]: Fix/improve deadlock condition on module removal netfilter
Patrick McHardy (1):
[NETFILTER]: nf_conntrack_ipv4: fix "Frag of proto ..." messages
^ permalink raw reply [flat|nested] 21+ messages in thread* [NETFILTER 00/02]: Netfilter fixes
@ 2007-06-22 11:47 Patrick McHardy
2007-06-22 21:11 ` David Miller
0 siblings, 1 reply; 21+ messages in thread
From: Patrick McHardy @ 2007-06-22 11:47 UTC (permalink / raw)
To: davem; +Cc: netfilter-devel, Patrick McHardy
Hi Dave,
following are two netfilter fixes for 2.6.22, adding a few new SIP message
types that are necessary to get Jerome's setup working, and a patch to
forbid changing helpers of an existing connection to avoid races while
changing the helper private area.
Please apply, thanks.
net/netfilter/nf_conntrack_netlink.c | 3 +--
net/netfilter/nf_conntrack_sip.c | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
Jerome Borsboom (1):
[NETFILTER]: nf_conntrack_sip: add missing message types containing RTP info
Yasuyuki Kozakai (1):
[NETFILTER]: nfctnetlink: Don't allow to change helper
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [NETFILTER 00/02]: Netfilter fixes
2007-06-22 11:47 Patrick McHardy
@ 2007-06-22 21:11 ` David Miller
0 siblings, 0 replies; 21+ messages in thread
From: David Miller @ 2007-06-22 21:11 UTC (permalink / raw)
To: kaber; +Cc: netfilter-devel
From: Patrick McHardy <kaber@trash.net>
Date: Fri, 22 Jun 2007 13:47:30 +0200 (MEST)
> Hi Dave,
>
> following are two netfilter fixes for 2.6.22, adding a few new SIP message
> types that are necessary to get Jerome's setup working, and a patch to
> forbid changing helpers of an existing connection to avoid races while
> changing the helper private area.
>
> Please apply, thanks.
Both patches applied, thanks Patrick!
^ permalink raw reply [flat|nested] 21+ messages in thread
* [NETFILTER 00/02]: Netfilter fixes
@ 2007-02-03 1:46 Patrick McHardy
2007-02-03 3:34 ` David Miller
0 siblings, 1 reply; 21+ messages in thread
From: Patrick McHardy @ 2007-02-03 1:46 UTC (permalink / raw)
To: davem; +Cc: netfilter-devel, Patrick McHardy
Hi Dave,
following are two more netfilter fixes for 2.6.20, fixing H.323 compilation with
IPV6=m and NF_CONNTRACK_H323=y (Adrian's patch) and another compile failure with
NF_CONNTRACK_MARK=n (same for IP_NF_CONNTRACK_MARK=n).
Please apply, thanks.
net/ipv4/netfilter/ip_conntrack_netlink.c | 2 ++
net/netfilter/Kconfig | 2 +-
net/netfilter/nf_conntrack_netlink.c | 2 ++
3 files changed, 5 insertions(+), 1 deletion(-)
Adrian Bunk:
[NETFILTER]: nf_conntrack_h323: fix compile error with CONFIG_IPV6=m, CONFIG_NF_CONNTRACK_H323=y
Max Kellermann:
[NETFILTER]: ctnetlink: fix compile failure with NF_CONNTRACK_MARK=n
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [NETFILTER 00/02]: Netfilter fixes
2007-02-03 1:46 Patrick McHardy
@ 2007-02-03 3:34 ` David Miller
0 siblings, 0 replies; 21+ messages in thread
From: David Miller @ 2007-02-03 3:34 UTC (permalink / raw)
To: kaber; +Cc: netfilter-devel
From: Patrick McHardy <kaber@trash.net>
Date: Sat, 3 Feb 2007 02:46:22 +0100 (MET)
> Hi Dave,
>
> following are two more netfilter fixes for 2.6.20, fixing H.323 compilation with
> IPV6=m and NF_CONNTRACK_H323=y (Adrian's patch) and another compile failure with
> NF_CONNTRACK_MARK=n (same for IP_NF_CONNTRACK_MARK=n).
>
> Please apply, thanks.
Applied, thanks Patrick.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [NETFILTER 00/02]: Netfilter fixes
@ 2007-01-15 9:22 Patrick McHardy
0 siblings, 0 replies; 21+ messages in thread
From: Patrick McHardy @ 2007-01-15 9:22 UTC (permalink / raw)
To: davem; +Cc: netfilter-devel, Patrick McHardy
Hi Dave,
following are two netfilter fixes for 2.6.20, fixing a memory leak in
ctnetlink and a compile failure of the state match on PPC.
Please apply, thanks.
include/net/netfilter/nf_conntrack_compat.h | 1 +
net/ipv4/netfilter/ip_conntrack_netlink.c | 2 +-
net/netfilter/nf_conntrack_netlink.c | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
Mikael Pettersson:
[NETFILTER]: fix xt_state compile failure
Patrick McHardy:
[NETFILTER]: ctnetlink: fix leak in ctnetlink_create_conntrack error path
^ permalink raw reply [flat|nested] 21+ messages in thread* [NETFILTER 00/02]: Netfilter fixes
@ 2006-08-12 0:25 Patrick McHardy
2006-08-12 0:30 ` David Miller
0 siblings, 1 reply; 21+ messages in thread
From: Patrick McHardy @ 2006-08-12 0:25 UTC (permalink / raw)
To: davem; +Cc: netfilter-devel, Patrick McHardy
Hi Dave,
following are two more fixes for 2.6.18. The ulog patch fixes an old
crash in ulog that has hit quite a few people so far. I'm going to push
it to -stable as well.
Please apply, thanks.
net/bridge/netfilter/ebt_ulog.c | 6 +++
net/ipv4/netfilter/arp_tables.c | 54 +++++++++++++++++++++++--------
net/ipv4/netfilter/ip_tables.c | 66 +++++++++++++++++++++++++++++---------
net/ipv4/netfilter/ipt_ULOG.c | 10 +++++
net/ipv6/netfilter/ip6_tables.c | 68 +++++++++++++++++++++++++++++-----------
net/netfilter/nfnetlink_log.c | 6 +++
6 files changed, 162 insertions(+), 48 deletions(-)
Mark Huang:
[NETFILTER]: ulog: fix panic on SMP kernels
Patrick McHardy:
[NETFILTER]: {arp,ip,ip6}_tables: proper error recovery in init path
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2007-12-11 17:42 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 10:12 [NETFILTER 00/02]: Netfilter fixes Patrick McHardy
2007-10-18 10:12 ` [NETFILTER 01/02]: nf_conntrack_tcp: fix connection reopening fix Patrick McHardy
2007-10-18 10:26 ` Krzysztof Oledzki
2007-10-18 10:29 ` Patrick McHardy
2007-10-18 10:37 ` Krzysztof Oledzki
2007-10-18 12:12 ` David Miller
2007-10-18 12:16 ` Patrick McHardy
2007-10-18 12:22 ` David Miller
2007-10-18 13:21 ` Jozsef Kadlecsik
2007-10-18 10:12 ` [NETFILTER 02/02]: xt_sctp: fix mistake to pass a pointer where array is required Patrick McHardy
2007-10-18 12:12 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2007-12-11 17:42 [NETFILTER 00/02]: Netfilter fixes Patrick McHardy
2007-10-11 16:44 Patrick McHardy
2007-09-09 22:20 Patrick McHardy
2007-06-22 11:47 Patrick McHardy
2007-06-22 21:11 ` David Miller
2007-02-03 1:46 Patrick McHardy
2007-02-03 3:34 ` David Miller
2007-01-15 9:22 Patrick McHardy
2006-08-12 0:25 Patrick McHardy
2006-08-12 0:30 ` David Miller
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.