* ipchains redirect failing in 2.4.5
@ 2001-10-30 13:04 David Lang
2001-10-30 13:39 ` ipchains redirect failing in 2.4.5 (and 2.4.13) David Lang
2001-10-30 14:54 ` debugging tools under 2.2.18 with RTL 3.0 pre10 patch Matthieu Fleurmont
0 siblings, 2 replies; 6+ messages in thread
From: David Lang @ 2001-10-30 13:04 UTC (permalink / raw)
To: linux-kernel
I am attempting to track down a problem I have run into with 2.4.5
I have a firewall that has proxies listening on ports 1433-1437. If I
connect to these proxies on these ports I have no problems, however if I
put in an ipchains rule to redirect port 1433 on a second IP address to
port 1436 (for example) and then hammer the box with ab -n 500 -s 20 the
first 20 or so connections get through and then the rest timeout. doing
repeated netstat -an on the firewall during this process shows an inital
burst of 15 connections that get established, a pause, and then a handfull
more get established, followed by those 20 connections being in TIME_WAIT
again, connection to the same IP address on the real port the proxy is
listening on has no problems, it's only when going through the redirect
that it fails.
any suggestions, tuning paramaters I missed, or tests I need to run to
track this down?
David Lang
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ipchains redirect failing in 2.4.5 (and 2.4.13)
2001-10-30 13:04 ipchains redirect failing in 2.4.5 David Lang
@ 2001-10-30 13:39 ` David Lang
2001-10-30 14:09 ` David Lang
2001-10-30 14:54 ` debugging tools under 2.2.18 with RTL 3.0 pre10 patch Matthieu Fleurmont
1 sibling, 1 reply; 6+ messages in thread
From: David Lang @ 2001-10-30 13:39 UTC (permalink / raw)
To: linux-kernel
I just confirmed that the problem still happens on 2.4.13.
I also confirmed that I can suplicate the problem without multiple
simultanious connections. if I do ab -n 50 (50 connections as fast as an
athlon 1.2GHz can fire them off) I get the same failure. If the
connections arrive at a sufficiantly slow rate the redirect works (no idea
yet what that rate is yet)
doing the test directly to the proxy port results in ~5
connections/second. I don't see any reason that this should be enough to
cause problems.
David Lang
On Tue, 30 Oct 2001, David Lang wrote:
> Date: Tue, 30 Oct 2001 05:04:35 -0800 (PST)
> From: David Lang <david.lang@digitalinsight.com>
> To: linux-kernel@vger.kernel.org
> Subject: ipchains redirect failing in 2.4.5
>
> I am attempting to track down a problem I have run into with 2.4.5
>
> I have a firewall that has proxies listening on ports 1433-1437. If I
> connect to these proxies on these ports I have no problems, however if I
> put in an ipchains rule to redirect port 1433 on a second IP address to
> port 1436 (for example) and then hammer the box with ab -n 500 -s 20 the
> first 20 or so connections get through and then the rest timeout. doing
> repeated netstat -an on the firewall during this process shows an inital
> burst of 15 connections that get established, a pause, and then a handfull
> more get established, followed by those 20 connections being in TIME_WAIT
>
> again, connection to the same IP address on the real port the proxy is
> listening on has no problems, it's only when going through the redirect
> that it fails.
>
> any suggestions, tuning paramaters I missed, or tests I need to run to
> track this down?
>
> David Lang
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ipchains redirect failing in 2.4.5 (and 2.4.13)
2001-10-30 13:39 ` ipchains redirect failing in 2.4.5 (and 2.4.13) David Lang
@ 2001-10-30 14:09 ` David Lang
2001-10-30 14:53 ` David Lang
0 siblings, 1 reply; 6+ messages in thread
From: David Lang @ 2001-10-30 14:09 UTC (permalink / raw)
To: linux-kernel
never mind, there was a http redirect comeing back that was causing this
test to fail.
back to the trying to find out why the machine slowed down so drasticly
:-(
David Lang
On Tue, 30 Oct 2001, David Lang wrote:
> Date: Tue, 30 Oct 2001 05:39:33 -0800 (PST)
> From: David Lang <david.lang@digitalinsight.com>
> To: linux-kernel@vger.kernel.org
> Subject: Re: ipchains redirect failing in 2.4.5 (and 2.4.13)
>
> I just confirmed that the problem still happens on 2.4.13.
>
> I also confirmed that I can suplicate the problem without multiple
> simultanious connections. if I do ab -n 50 (50 connections as fast as an
> athlon 1.2GHz can fire them off) I get the same failure. If the
> connections arrive at a sufficiantly slow rate the redirect works (no idea
> yet what that rate is yet)
>
> doing the test directly to the proxy port results in ~5
> connections/second. I don't see any reason that this should be enough to
> cause problems.
>
> David Lang
>
>
> On Tue, 30 Oct 2001, David Lang wrote:
>
> > Date: Tue, 30 Oct 2001 05:04:35 -0800 (PST)
> > From: David Lang <david.lang@digitalinsight.com>
> > To: linux-kernel@vger.kernel.org
> > Subject: ipchains redirect failing in 2.4.5
> >
> > I am attempting to track down a problem I have run into with 2.4.5
> >
> > I have a firewall that has proxies listening on ports 1433-1437. If I
> > connect to these proxies on these ports I have no problems, however if I
> > put in an ipchains rule to redirect port 1433 on a second IP address to
> > port 1436 (for example) and then hammer the box with ab -n 500 -s 20 the
> > first 20 or so connections get through and then the rest timeout. doing
> > repeated netstat -an on the firewall during this process shows an inital
> > burst of 15 connections that get established, a pause, and then a handfull
> > more get established, followed by those 20 connections being in TIME_WAIT
> >
> > again, connection to the same IP address on the real port the proxy is
> > listening on has no problems, it's only when going through the redirect
> > that it fails.
> >
> > any suggestions, tuning paramaters I missed, or tests I need to run to
> > track this down?
> >
> > David Lang
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ipchains redirect failing in 2.4.5 (and 2.4.13)
2001-10-30 14:09 ` David Lang
@ 2001-10-30 14:53 ` David Lang
0 siblings, 0 replies; 6+ messages in thread
From: David Lang @ 2001-10-30 14:53 UTC (permalink / raw)
To: linux-kernel
not my morning, after fixing the redirect problem now get the same
failure intermittently when going through the redirect.
I can trigger the problem with as few as two sequential requests. the log
on the firewall shows that both requests are completed (with the same byte
counts in each direction) but the requesting machine apparently never sees
the end of the connection and so it hangs.
I would be suspecting network hardware except for the fact that I can only
duplicate the problem when hitting the redirect, never when hitting the
port directly.
I am in the process of gathering tcpdumps on all the machines to compare
them and will post them when I have them
David Lang
On Tue, 30 Oct 2001, David Lang wrote:
> never mind, there was a http redirect comeing back that was causing this
> test to fail.
>
> back to the trying to find out why the machine slowed down so drasticly
> :-(
>
> David Lang
>
> On Tue, 30 Oct 2001, David Lang wrote:
>
> > Date: Tue, 30 Oct 2001 05:39:33 -0800 (PST)
> > From: David Lang <david.lang@digitalinsight.com>
> > To: linux-kernel@vger.kernel.org
> > Subject: Re: ipchains redirect failing in 2.4.5 (and 2.4.13)
> >
> > I just confirmed that the problem still happens on 2.4.13.
> >
> > I also confirmed that I can suplicate the problem without multiple
> > simultanious connections. if I do ab -n 50 (50 connections as fast as an
> > athlon 1.2GHz can fire them off) I get the same failure. If the
> > connections arrive at a sufficiantly slow rate the redirect works (no idea
> > yet what that rate is yet)
> >
> > doing the test directly to the proxy port results in ~5
> > connections/second. I don't see any reason that this should be enough to
> > cause problems.
> >
> > David Lang
> >
> >
> > On Tue, 30 Oct 2001, David Lang wrote:
> >
> > > Date: Tue, 30 Oct 2001 05:04:35 -0800 (PST)
> > > From: David Lang <david.lang@digitalinsight.com>
> > > To: linux-kernel@vger.kernel.org
> > > Subject: ipchains redirect failing in 2.4.5
> > >
> > > I am attempting to track down a problem I have run into with 2.4.5
> > >
> > > I have a firewall that has proxies listening on ports 1433-1437. If I
> > > connect to these proxies on these ports I have no problems, however if I
> > > put in an ipchains rule to redirect port 1433 on a second IP address to
> > > port 1436 (for example) and then hammer the box with ab -n 500 -s 20 the
> > > first 20 or so connections get through and then the rest timeout. doing
> > > repeated netstat -an on the firewall during this process shows an inital
> > > burst of 15 connections that get established, a pause, and then a handfull
> > > more get established, followed by those 20 connections being in TIME_WAIT
> > >
> > > again, connection to the same IP address on the real port the proxy is
> > > listening on has no problems, it's only when going through the redirect
> > > that it fails.
> > >
> > > any suggestions, tuning paramaters I missed, or tests I need to run to
> > > track this down?
> > >
> > > David Lang
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > > Please read the FAQ at http://www.tux.org/lkml/
> > >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* debugging tools under 2.2.18 with RTL 3.0 pre10 patch
2001-10-30 13:04 ipchains redirect failing in 2.4.5 David Lang
2001-10-30 13:39 ` ipchains redirect failing in 2.4.5 (and 2.4.13) David Lang
@ 2001-10-30 14:54 ` Matthieu Fleurmont
1 sibling, 0 replies; 6+ messages in thread
From: Matthieu Fleurmont @ 2001-10-30 14:54 UTC (permalink / raw)
To: linux-kernel
Hello,
We are developping a few kernel modules handling serial ports in order to have a
real time control on professional video systems as VTR, video servers and more
...
I am looking for a way that would allow me to have a kind of core dump instead
of of freezing and rebooting my box when my code is wrong and the module not
working properly...
Thanks to any one who already solved this problem and would share its experience
with me.
Best regards
Matthieu
----- Original Message -----
From: "David Lang" <david.lang@digitalinsight.com>
To: <linux-kernel@vger.kernel.org>
Sent: Tuesday, October 30, 2001 2:04 PM
Subject: ipchains redirect failing in 2.4.5
> I am attempting to track down a problem I have run into with 2.4.5
>
> I have a firewall that has proxies listening on ports 1433-1437. If I
> connect to these proxies on these ports I have no problems, however if I
> put in an ipchains rule to redirect port 1433 on a second IP address to
> port 1436 (for example) and then hammer the box with ab -n 500 -s 20 the
> first 20 or so connections get through and then the rest timeout. doing
> repeated netstat -an on the firewall during this process shows an inital
> burst of 15 connections that get established, a pause, and then a handfull
> more get established, followed by those 20 connections being in TIME_WAIT
>
> again, connection to the same IP address on the real port the proxy is
> listening on has no problems, it's only when going through the redirect
> that it fails.
>
> any suggestions, tuning paramaters I missed, or tests I need to run to
> track this down?
>
> David Lang
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <Pine.LNX.4.10.10110301851430.10893-100000@coffee.psychology.mcmaster.ca>]
* Re: debugging tools under 2.2.18 with RTL 3.0 pre10 patch
[not found] <Pine.LNX.4.10.10110301851430.10893-100000@coffee.psychology.mcmaster.ca>
@ 2001-10-31 11:10 ` Matthieu Fleurmont
0 siblings, 0 replies; 6+ messages in thread
From: Matthieu Fleurmont @ 2001-10-31 11:10 UTC (permalink / raw)
To: Mark Hahn; +Cc: linux-kernel
Where are not handling IO from user space but we are synchronizing those
materials with a kind of automation...
And all our tasks ( video capture and analysis, commands and data from and
to VTR and Video server, GUI refresh and more ) should be done within 20 ms,
that is why we needed and installed RTL.
I should have precised that obviously all of our code is not in the kernel.
And not to be insulting : what an useful answer U made ... ;op
However thank you for having began this thread...
Best regards
Matthieu
----- Original Message -----
From: "Mark Hahn" <hahn@physics.mcmaster.ca>
To: "Matthieu Fleurmont" <mfleurmont@ina.fr>
Sent: Wednesday, October 31, 2001 12:52 AM
Subject: Re: debugging tools under 2.2.18 with RTL 3.0 pre10 patch
> > We are developping a few kernel modules handling serial ports in order
to have a
> > real time control on professional video systems as VTR, video servers
and more
> > ...
>
> realtime IO from user-space is not hard.
>
> > I am looking for a way that would allow me to have a kind of core dump
instead
> > of of freezing and rebooting my box when my code is wrong and the module
not
> > working properly...
> >
> > Thanks to any one who already solved this problem and would share its
experience
> > with me.
>
> not to be insulting, but crashing is exactly why any code that
> doesn't absolutely have to be in the kernel, shouldn't be in the kernel...
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-10-31 11:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-30 13:04 ipchains redirect failing in 2.4.5 David Lang
2001-10-30 13:39 ` ipchains redirect failing in 2.4.5 (and 2.4.13) David Lang
2001-10-30 14:09 ` David Lang
2001-10-30 14:53 ` David Lang
2001-10-30 14:54 ` debugging tools under 2.2.18 with RTL 3.0 pre10 patch Matthieu Fleurmont
[not found] <Pine.LNX.4.10.10110301851430.10893-100000@coffee.psychology.mcmaster.ca>
2001-10-31 11:10 ` Matthieu Fleurmont
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®