All of lore.kernel.org
 help / color / mirror / Atom feed
* change in behavior of OUTPUT chain rule in 2.6.19
@ 2006-12-14 18:30 Mike Accetta
  2007-05-31 19:49 ` Jan Engelhardt
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Accetta @ 2006-12-14 18:30 UTC (permalink / raw)
  To: netfilter-devel

Between 2.6.18 and 2.6.19 (and 2.6.19.1) we've observed that a reject 
rule on the OUTPUT chain no longer causes a connection attempt to abort 
immediately with "Connection refused".  As a specific example, this rule

iptables -A  OUTPUT -p tcp --destination-port 23 \
   --destination 10.0.20.1  -j REJECT --reject-with tcp-reset

will cause a telnet connection to 10.0.20.1 to fail immediately under 
2.6.18 but will take minutes to timeout under 2.6.19.  Is this an 
intended change in functionality or a regression?  This is all using 
iptables-1.2.7a.
-- 
Mike Accetta
(mail address must be adjusted "appropriately" to reply)

ECI Telecom Ltd.
Data Networking Division (previously Laurel Networks)

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

* Re: change in behavior of OUTPUT chain rule in 2.6.19
  2006-12-14 18:30 change in behavior of OUTPUT chain rule in 2.6.19 Mike Accetta
@ 2007-05-31 19:49 ` Jan Engelhardt
  2007-05-31 20:09   ` Mike Accetta
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Engelhardt @ 2007-05-31 19:49 UTC (permalink / raw)
  To: Mike Accetta; +Cc: Netfilter Developer Mailing List


On Dec 14 2006 13:30, Mike Accetta wrote:
>
> Between 2.6.18 and 2.6.19 (and 2.6.19.1) we've observed that a reject rule on
> the OUTPUT chain no longer causes a connection attempt to abort immediately
> with "Connection refused".  As a specific example, this rule
>
> iptables -A  OUTPUT -p tcp --destination-port 23 \
> --destination 10.0.20.1  -j REJECT --reject-with tcp-reset

I cannot reproduce this with 2.6.20.2. Have you tried any newer kernel?


	Jan
-- 

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

* Re: change in behavior of OUTPUT chain rule in 2.6.19
  2007-05-31 19:49 ` Jan Engelhardt
@ 2007-05-31 20:09   ` Mike Accetta
  2007-05-31 21:01     ` Jan Engelhardt
  2007-06-01 15:41     ` Patrick McHardy
  0 siblings, 2 replies; 8+ messages in thread
From: Mike Accetta @ 2007-05-31 20:09 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Netfilter Developer Mailing List

Jan Engelhardt writes:
> On Dec 14 2006 13:30, Mike Accetta wrote:
> >
> > Between 2.6.18 and 2.6.19 (and 2.6.19.1) we've observed that a reject rule 
> on
> > the OUTPUT chain no longer causes a connection attempt to abort immediately
> > with "Connection refused".  As a specific example, this rule
> >
> > iptables -A  OUTPUT -p tcp --destination-port 23 \
> > --destination 10.0.20.1  -j REJECT --reject-with tcp-reset
> 
> I cannot reproduce this with 2.6.20.2. Have you tried any newer kernel?

This was filed as Bugzilla #7716 and fixed by Patrick McHardy in 2.6.20.

Did I mess up by not also confirming back to the list that the bug was
fixed by the patch provided by Patrick?  I think at the time I just
moved it to Bugzilla because the list post had produced no reaction.
--
Mike Accetta

ECI Telecom Ltd.
Data Networking Division (previously Laurel Networks)

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

* Re: change in behavior of OUTPUT chain rule in 2.6.19
  2007-05-31 20:09   ` Mike Accetta
@ 2007-05-31 21:01     ` Jan Engelhardt
  2007-05-31 21:02       ` Jan Engelhardt
  2007-06-01 15:41     ` Patrick McHardy
  1 sibling, 1 reply; 8+ messages in thread
From: Jan Engelhardt @ 2007-05-31 21:01 UTC (permalink / raw)
  To: Mike Accetta; +Cc: Netfilter Developer Mailing List


On May 31 2007 16:09, Mike Accetta wrote:
>> >
>> > iptables -A  OUTPUT -p tcp --destination-port 23 \
>> > --destination 10.0.20.1  -j REJECT --reject-with tcp-reset
>> 
>> I cannot reproduce this with 2.6.20.2. Have you tried any newer kernel?
>
>This was filed as Bugzilla #7716 and fixed by Patrick McHardy in 2.6.20.
>
>Did I mess up by not also confirming back to the list that the bug was
>fixed by the patch provided by Patrick?  I think at the time I just
>moved it to Bugzilla because the list post had produced no reaction.

Well yeah I was kinda lazy to check it out myself, so the mail just
remained in the lkml folder until today when I felt like -- oh try
that yourself now that you have some production box >= 2.6.19
somewhere.


	Jan
-- 

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

* Re: change in behavior of OUTPUT chain rule in 2.6.19
  2007-05-31 21:01     ` Jan Engelhardt
@ 2007-05-31 21:02       ` Jan Engelhardt
  0 siblings, 0 replies; 8+ messages in thread
From: Jan Engelhardt @ 2007-05-31 21:02 UTC (permalink / raw)
  To: Mike Accetta; +Cc: Netfilter Developer Mailing List


On May 31 2007 23:01, Jan Engelhardt wrote:
>On May 31 2007 16:09, Mike Accetta wrote:
>>> >
>>> > iptables -A  OUTPUT -p tcp --destination-port 23 \
>>> > --destination 10.0.20.1  -j REJECT --reject-with tcp-reset
>>> 
>>> I cannot reproduce this with 2.6.20.2. Have you tried any newer kernel?
>>
>>This was filed as Bugzilla #7716 and fixed by Patrick McHardy in 2.6.20.
>>
>>Did I mess up by not also confirming back to the list that the bug was
>>fixed by the patch provided by Patrick?  I think at the time I just
>>moved it to Bugzilla because the list post had produced no reaction.
>
>Well yeah I was kinda lazy to check it out myself, so the mail just
>remained in the lkml folder until today when I felt like -- oh try
>that yourself now that you have some production box >= 2.6.19
>somewhere.

(No, you did not mess up. Posting is not compulsory.)


	Jan
-- 

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

* Re: change in behavior of OUTPUT chain rule in 2.6.19
  2007-05-31 20:09   ` Mike Accetta
  2007-05-31 21:01     ` Jan Engelhardt
@ 2007-06-01 15:41     ` Patrick McHardy
  2007-06-02 12:45       ` Jan Engelhardt
  1 sibling, 1 reply; 8+ messages in thread
From: Patrick McHardy @ 2007-06-01 15:41 UTC (permalink / raw)
  To: Mike Accetta; +Cc: Netfilter Developer Mailing List, Jan Engelhardt

Mike Accetta wrote:
> Jan Engelhardt writes:
> 
>>On Dec 14 2006 13:30, Mike Accetta wrote:
>>
>>>Between 2.6.18 and 2.6.19 (and 2.6.19.1) we've observed that a reject rule 
>>
>>on
>>
>>>the OUTPUT chain no longer causes a connection attempt to abort immediately
>>>with "Connection refused".  As a specific example, this rule
>>>
>>>iptables -A  OUTPUT -p tcp --destination-port 23 \
>>>--destination 10.0.20.1  -j REJECT --reject-with tcp-reset
>>
>>I cannot reproduce this with 2.6.20.2. Have you tried any newer kernel?
> 
> 
> This was filed as Bugzilla #7716 and fixed by Patrick McHardy in 2.6.20.


The patch was also sent to -stable, I think its in 2.6.19.3.

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

* Re: change in behavior of OUTPUT chain rule in 2.6.19
  2007-06-01 15:41     ` Patrick McHardy
@ 2007-06-02 12:45       ` Jan Engelhardt
  2007-06-02 12:55         ` Patrick McHardy
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Engelhardt @ 2007-06-02 12:45 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Netfilter Developer Mailing List, Mike Accetta


On Jun 1 2007 17:41, Patrick McHardy wrote:
>>>>
>>>>iptables -A  OUTPUT -p tcp --destination-port 23 \
>>>>--destination 10.0.20.1  -j REJECT --reject-with tcp-reset
>>>
>>>I cannot reproduce this with 2.6.20.2. Have you tried any newer kernel?
>> 
>> This was filed as Bugzilla #7716 and fixed by Patrick McHardy in 2.6.20.
>
>The patch was also sent to -stable, I think its in 2.6.19.3.

https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=7716

Software error:

DBD::mysql::st execute failed: Unknown column 'products.classification_id' in
'where clause' [for Statement "SELECT products.name, classifications.name FROM
products, classifications WHERE classifications.id = products.classification_id
ORDER BY classifications.name"] at Bugzilla/DB.pm line 84
	Bugzilla::DB::SendSQL('SELECT products.name, classifications.name FROM
products, cla...') called at globals.pl line 140
	main::GenerateVersionTable() called at globals.pl line 312
	main::GetVersionTable() called at
/var/www/bugzilla.netfilter.org/htdocs/bugzilla/show_bug.cgi line 60

For help, please send mail to the webmaster (webmaster@netfilter.org), giving
this error message and the time and date of the error. 

Sat Jun  2 14:46:26 CEST 2007



	Jan
-- 

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

* Re: change in behavior of OUTPUT chain rule in 2.6.19
  2007-06-02 12:45       ` Jan Engelhardt
@ 2007-06-02 12:55         ` Patrick McHardy
  0 siblings, 0 replies; 8+ messages in thread
From: Patrick McHardy @ 2007-06-02 12:55 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Netfilter Developer Mailing List, Mike Accetta

Jan Engelhardt wrote:
> https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=7716
> 
> Software error:
> 
> DBD::mysql::st execute failed: Unknown column 'products.classification_id' in
> 'where clause' [for Statement "SELECT products.name, classifications.name FROM
> products, classifications WHERE classifications.id = products.classification_id
> ORDER BY classifications.name"] at Bugzilla/DB.pm line 84
> 	Bugzilla::DB::SendSQL('SELECT products.name, classifications.name FROM
> products, cla...') called at globals.pl line 140
> 	main::GenerateVersionTable() called at globals.pl line 312
> 	main::GetVersionTable() called at
> /var/www/bugzilla.netfilter.org/htdocs/bugzilla/show_bug.cgi line 60
> 
> For help, please send mail to the webmaster (webmaster@netfilter.org), giving
> this error message and the time and date of the error. 
> 
> Sat Jun  2 14:46:26 CEST 2007


Well, gentoo is a pile of crap.

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

end of thread, other threads:[~2007-06-02 12:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-14 18:30 change in behavior of OUTPUT chain rule in 2.6.19 Mike Accetta
2007-05-31 19:49 ` Jan Engelhardt
2007-05-31 20:09   ` Mike Accetta
2007-05-31 21:01     ` Jan Engelhardt
2007-05-31 21:02       ` Jan Engelhardt
2007-06-01 15:41     ` Patrick McHardy
2007-06-02 12:45       ` Jan Engelhardt
2007-06-02 12:55         ` Patrick McHardy

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.