public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* problem with NAT on 2.4
@ 2001-11-20 19:41 Stephan von Krawczynski
  0 siblings, 0 replies; 5+ messages in thread
From: Stephan von Krawczynski @ 2001-11-20 19:41 UTC (permalink / raw)
  To: linux-kernel

Hello,

I am using a SuSE 7.3 distro kernel 2.4.10 and ran into some really strange
problem with NAT. I have a private network setup (192.168.3.x) with win-clients
(win98, W2K) and a variety of IE-browsers. From this network I wanted to grant
direct access to the internet via NAT. Basically it works, but what does not
work is a http-connection from _any_ tested win client over linux NAT to a
certain MS IIS 5.0.
I wouldn't be that bothered if the exact same clients wouldn't connect
flawlessly over a 50 bucks DSL-router to the same IIS. Other servers (whatever
I tried) seem to work, but not the really important one (Murphy of course ;-).
Does anybody have an idea why NAT in 2.4.10 wouldn't work like NAT in some
cheap dsl-router equipment regarding http-connections?
Is there any sense in upgrading to 2.4.15-preX?
I even tried some gateway software based on windoze that is able to NAT - and
it works too! I pretty much ran out of ideas...

Regards,
Stephan

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

* Re: problem with NAT on 2.4
@ 2001-11-20 19:54 Ricardo Galli
  2001-11-20 20:11 ` Stephan von Krawczynski
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Galli @ 2001-11-20 19:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: skraw


 > Does anybody have an idea why NAT in 2.4.10 wouldn't work like NAT in some
 > cheap dsl-router equipment regarding http-connections?
 > Is there any sense in upgrading to 2.4.15-preX?
 > I even tried some gateway software based on windoze that is able to NAT - 
and
 > it works too! I pretty much ran out of ideas...

Did you disable ECN? (echo 0 > /proc/sys/net/ipv4/tcp_ecn)

Did you try a connection to port 80 from the Linux box?

--ricardo

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

* Re: problem with NAT on 2.4
  2001-11-20 19:54 Ricardo Galli
@ 2001-11-20 20:11 ` Stephan von Krawczynski
  2001-11-21  0:09   ` Mike Fedyk
  0 siblings, 1 reply; 5+ messages in thread
From: Stephan von Krawczynski @ 2001-11-20 20:11 UTC (permalink / raw)
  To: Ricardo Galli; +Cc: linux-kernel

On Tue, 20 Nov 2001 20:54:43 +0100
Ricardo Galli <gallir@uib.es> wrote:

> 
>  > Does anybody have an idea why NAT in 2.4.10 wouldn't work like NAT in some
>  > cheap dsl-router equipment regarding http-connections?
>  > Is there any sense in upgrading to 2.4.15-preX?
>  > I even tried some gateway software based on windoze that is able to NAT - 
> and
>  > it works too! I pretty much ran out of ideas...
> 
> Did you disable ECN? (echo 0 > /proc/sys/net/ipv4/tcp_ecn)

Is 0. I didn't explicitely disable, it only happens to be so.

> Did you try a connection to port 80 from the Linux box?

Now this is interesting:

I try a simple telnet www.thedeadman.com 80 (I will post the publicly available
servers name if you want me to) and this is what happens:

not working: (connection fails)
2.0.39, some 2.2.18, 2.4.10, 2.4.13, some 2.2.19

working:
some 2.2.18, some 2.2.19, 2.4.5, 2.4.15-pre3, 2.4.15-pre7

?

Regards,
Stephan


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

* Re: problem with NAT on 2.4
  2001-11-20 20:11 ` Stephan von Krawczynski
@ 2001-11-21  0:09   ` Mike Fedyk
  2001-11-21 10:17     ` Stephan von Krawczynski
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Fedyk @ 2001-11-21  0:09 UTC (permalink / raw)
  To: Stephan von Krawczynski; +Cc: Ricardo Galli, linux-kernel

On Tue, Nov 20, 2001 at 09:11:28PM +0100, Stephan von Krawczynski wrote:
> On Tue, 20 Nov 2001 20:54:43 +0100
> Ricardo Galli <gallir@uib.es> wrote:
> 
> > 
> >  > Does anybody have an idea why NAT in 2.4.10 wouldn't work like NAT in some
> >  > cheap dsl-router equipment regarding http-connections?
> >  > Is there any sense in upgrading to 2.4.15-preX?
> >  > I even tried some gateway software based on windoze that is able to NAT - 
> > and
> >  > it works too! I pretty much ran out of ideas...
> > 
> > Did you disable ECN? (echo 0 > /proc/sys/net/ipv4/tcp_ecn)
> 
> Is 0. I didn't explicitely disable, it only happens to be so.
> 
> > Did you try a connection to port 80 from the Linux box?
> 
> Now this is interesting:
> 
> I try a simple telnet www.thedeadman.com 80 (I will post the publicly available
> servers name if you want me to) and this is what happens:
> 
> not working: (connection fails)
> 2.0.39, some 2.2.18, 2.4.10, 2.4.13, some 2.2.19
> 
> working:
> some 2.2.18, some 2.2.19, 2.4.5, 2.4.15-pre3, 2.4.15-pre7

Did you try running tcpdump on the affected server?

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

* Re: problem with NAT on 2.4
  2001-11-21  0:09   ` Mike Fedyk
@ 2001-11-21 10:17     ` Stephan von Krawczynski
  0 siblings, 0 replies; 5+ messages in thread
From: Stephan von Krawczynski @ 2001-11-21 10:17 UTC (permalink / raw)
  To: Mike Fedyk; +Cc: gallir, linux-kernel

On Tue, 20 Nov 2001 16:09:44 -0800
Mike Fedyk <mfedyk@matchmail.com> wrote:

> Did you try running tcpdump on the affected server?

Well, it didn't let me come this far. It just send no packets back at all in
case of not connecting.

But today, the situation is different. I tried several kernels with several
source IPs yesterday night and came to the conclusion that it cannot be a
kernel problem: the same problem arised and vanished on identical disks, but
with different IPs.
So I came to the conclusion that this US-located webhoster in question found a
really nice way to limit traffic by blacklists or some weird IP pattern
matching code, and guess what: _today_ _all_ test configurations _work_.

There are really strange people out there ;-)

This thread is closed.

Thank you for listening. Sorry for wasting your time.

Stephan


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

end of thread, other threads:[~2001-11-21 10:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-20 19:41 problem with NAT on 2.4 Stephan von Krawczynski
  -- strict thread matches above, loose matches on Subject: below --
2001-11-20 19:54 Ricardo Galli
2001-11-20 20:11 ` Stephan von Krawczynski
2001-11-21  0:09   ` Mike Fedyk
2001-11-21 10:17     ` Stephan von Krawczynski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox