All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Re: Rsync access through NAT?
       [not found] <Pine.LNX.4.33.0104170144460.14396-100000@ash.penguinppc.org>
@ 2001-04-17 15:31 ` Michel Lanners
  2001-04-17 16:36   ` jeramy b smith
  0 siblings, 1 reply; 11+ messages in thread
From: Michel Lanners @ 2001-04-17 15:31 UTC (permalink / raw
  To: jsmith; +Cc: linuxppc-dev


Hi again,

To the list: for some time now, I've had problems accessing
penguinppc.org from my PPC machines (I've noticed it with rsync... for
www I use a proxy on i386).

Turns out the problem only occurs with 2.4 kernels:

[mlan@piglet ~]$ uname -a
Linux piglet 2.4.3-pre3 #4 Thu Apr 12 01:47:59 CEST 2001 ppc unknown
(benh's tree)

and 2.4.4-pre1 from benh on the TiBook.

Anyone else seen this? Note, with a 2.2 kernel, all is OK. I've not had
a chance to test a 2.4 kernel on i386 to see whether it's the same over
there.

I hope it doesn't matter, but I'm accessing the net through a NAT router
(which is configured OK, thanks for asking ;-)

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
  2001-04-17 15:31 ` Michel Lanners
@ 2001-04-17 16:36   ` jeramy b smith
  2001-04-24  5:53     ` Michel Lanners
  0 siblings, 1 reply; 11+ messages in thread
From: jeramy b smith @ 2001-04-17 16:36 UTC (permalink / raw
  To: Michel Lanners; +Cc: linuxppc-dev


We had problems serving rsyncs with 2.4 also. Using 2.4 and an rsync built
against 2.2 headers, we would get hung rsync processes that a stack trace
revealed were hung in a newselect (Paulus already knows this bit).

If rsync was built against 2.4 headers it would hang on the first hung
process and then refuse connections.

-jeramy b smith




On Tue, 17 Apr 2001, Michel Lanners wrote:

> Hi again,
>
> To the list: for some time now, I've had problems accessing
> penguinppc.org from my PPC machines (I've noticed it with rsync... for
> www I use a proxy on i386).
>
> Turns out the problem only occurs with 2.4 kernels:
>
> [mlan@piglet ~]$ uname -a
> Linux piglet 2.4.3-pre3 #4 Thu Apr 12 01:47:59 CEST 2001 ppc unknown
> (benh's tree)
>
> and 2.4.4-pre1 from benh on the TiBook.
>
> Anyone else seen this? Note, with a 2.2 kernel, all is OK. I've not had
> a chance to test a 2.4 kernel on i386 to see whether it's the same over
> there.
>
> I hope it doesn't matter, but I'm accessing the net through a NAT router
> (which is configured OK, thanks for asking ;-)
>
> Michel
>
> -------------------------------------------------------------------------
> Michel Lanners                 |  " Read Philosophy.  Study Art.
> 23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
> L-1710 Luxembourg              |
> email   mlan@cpu.lu            |
> http://www.cpu.lu/~mlan        |                     Learn Always. "
>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
  2001-04-17 16:36   ` jeramy b smith
@ 2001-04-24  5:53     ` Michel Lanners
  2001-04-24  7:14       ` Ethan Benson
  2001-04-24 17:48       ` jeramy b smith
  0 siblings, 2 replies; 11+ messages in thread
From: Michel Lanners @ 2001-04-24  5:53 UTC (permalink / raw
  To: jsmith; +Cc: linuxppc-dev


Hi Jeramy,

On  17 Apr, this message from jeramy b smith echoed through cyberspace:
>
> We had problems serving rsyncs with 2.4 also. Using 2.4 and an rsync built
> against 2.2 headers, we would get hung rsync processes that a stack trace
> revealed were hung in a newselect (Paulus already knows this bit).

Might this be the problem here:

http://slashdot.org/articles/01/04/24/0255224.shtml

I have ECN compiled in all my 2.4 kernels. They are building right now
without ECN.... We'll see.

<a compile & reboot later>

Yup, that seems to be the problem. rsync works again for me on
penguinppc. So I guess that some device close to penguinppc.org doesn't
support ECN.....

Well, no biggy, I'll just leave it disabled for now...

Cheers

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
  2001-04-24  5:53     ` Michel Lanners
@ 2001-04-24  7:14       ` Ethan Benson
  2001-04-24  7:48         ` Geert Uytterhoeven
  2001-04-24 17:48       ` jeramy b smith
  1 sibling, 1 reply; 11+ messages in thread
From: Ethan Benson @ 2001-04-24  7:14 UTC (permalink / raw
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

On Tue, Apr 24, 2001 at 07:53:38AM +0200, Michel Lanners wrote:

> I have ECN compiled in all my 2.4 kernels. They are building right now
> without ECN.... We'll see.
> 
> <a compile & reboot later>

there is a sysctl variable that disables this at runtime you know ;-)
i don't remember where it is offhand, sysctl -a | grep ecn or find
/proc -name '*ecn*' -print should find it.  

> Yup, that seems to be the problem. rsync works again for me on
> penguinppc. So I guess that some device close to penguinppc.org doesn't
> support ECN.....

probably turning on ecn is more trouble then its worth right now,
unfortuanatly... 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

[-- Attachment #2: Type: application/pgp-signature, Size: 0 bytes --]

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

* Re: Rsync access through NAT?
  2001-04-24  7:14       ` Ethan Benson
@ 2001-04-24  7:48         ` Geert Uytterhoeven
  2001-04-24 13:13           ` Michel Dänzer
  0 siblings, 1 reply; 11+ messages in thread
From: Geert Uytterhoeven @ 2001-04-24  7:48 UTC (permalink / raw
  To: Ethan Benson; +Cc: linuxppc-dev


On Mon, 23 Apr 2001, Ethan Benson wrote:
> On Tue, Apr 24, 2001 at 07:53:38AM +0200, Michel Lanners wrote:
> > I have ECN compiled in all my 2.4 kernels. They are building right now
> > without ECN.... We'll see.
> >
> > <a compile & reboot later>
>
> there is a sysctl variable that disables this at runtime you know ;-)
> i don't remember where it is offhand, sysctl -a | grep ecn or find
> /proc -name '*ecn*' -print should find it.
>
> > Yup, that seems to be the problem. rsync works again for me on
> > penguinppc. So I guess that some device close to penguinppc.org doesn't
> > support ECN.....
>
> probably turning on ecn is more trouble then its worth right now,
> unfortuanatly...

| tux$ cat /proc/sys/net/ipv4/tcp_ecn
| 1
| tux$

I have it enabled on all my machines running 2.4.x. So far no problems.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
  2001-04-24  7:48         ` Geert Uytterhoeven
@ 2001-04-24 13:13           ` Michel Dänzer
  0 siblings, 0 replies; 11+ messages in thread
From: Michel Dänzer @ 2001-04-24 13:13 UTC (permalink / raw
  To: Geert Uytterhoeven; +Cc: Ethan Benson, linuxppc-dev


Geert Uytterhoeven wrote:
>
> On Mon, 23 Apr 2001, Ethan Benson wrote:
> > On Tue, Apr 24, 2001 at 07:53:38AM +0200, Michel Lanners wrote:
> > > I have ECN compiled in all my 2.4 kernels. They are building right now
> > > without ECN.... We'll see.
> > >
> > > <a compile & reboot later>
> >
> > there is a sysctl variable that disables this at runtime you know ;-)
> > i don't remember where it is offhand, sysctl -a | grep ecn or find
> > /proc -name '*ecn*' -print should find it.
> >
> > > Yup, that seems to be the problem. rsync works again for me on
> > > penguinppc. So I guess that some device close to penguinppc.org doesn't
> > > support ECN.....
> >
> > probably turning on ecn is more trouble then its worth right now,
> > unfortuanatly...
>
> | tux$ cat /proc/sys/net/ipv4/tcp_ecn
> | 1
> | tux$
>
> I have it enabled on all my machines running 2.4.x. So far no problems.

You're lucky, it used to keep me from establishing any TCP connections to the
outside world through an ISDN router.


--
Earthling Michel Dänzer (MrCooper)    \   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \        XFree86 and DRI project member

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
  2001-04-24  5:53     ` Michel Lanners
  2001-04-24  7:14       ` Ethan Benson
@ 2001-04-24 17:48       ` jeramy b smith
  2001-04-24 19:12         ` Geert Uytterhoeven
  1 sibling, 1 reply; 11+ messages in thread
From: jeramy b smith @ 2001-04-24 17:48 UTC (permalink / raw
  To: mlan; +Cc: linuxppc-dev


I'm not sure. The routers are cisco 55xx and 75xx with the latest firmware loaded. From there it hits the SprintLink and Abovenet clouds. I wish there was a tool that could do an point to point traceroute like journey and stop when it hits a hop that doesn't support ECN. Or does traceroute do this when used with 2.4 and ECN support on?

-jeramy b smith

mlan@cpu.lu wrote:
>
>
> Yup, that seems to be the problem. rsync works again for me on
> penguinppc. So I guess that some device close to penguinppc.org doesn't
> support ECN.....
>
--
-jeramy b smith


"Linux is Fun!" -Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
  2001-04-24 17:48       ` jeramy b smith
@ 2001-04-24 19:12         ` Geert Uytterhoeven
  2001-04-24 20:00           ` Michel Lanners
  0 siblings, 1 reply; 11+ messages in thread
From: Geert Uytterhoeven @ 2001-04-24 19:12 UTC (permalink / raw
  To: jeramy b smith; +Cc: mlan, linuxppc-dev


On Tue, 24 Apr 2001, jeramy b smith wrote:
> I'm not sure. The routers are cisco 55xx and 75xx with the latest firmware loaded. From there it hits the SprintLink and Abovenet clouds. I wish there was a tool that could do an point to point traceroute like journey and stop when it hits a hop that doesn't support ECN. Or does traceroute do this when used with 2.4 and ECN support on?

I think it does.

> -jeramy b smith
>
> mlan@cpu.lu wrote:
> > Yup, that seems to be the problem. rsync works again for me on
> > penguinppc. So I guess that some device close to penguinppc.org doesn't
> > support ECN.....

Then why can I ping penguinppc.org without problems? Because my AXP firewall
still runs 2.2.x?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
  2001-04-24 19:12         ` Geert Uytterhoeven
@ 2001-04-24 20:00           ` Michel Lanners
  2001-04-24 20:51             ` Michel Dänzer
  0 siblings, 1 reply; 11+ messages in thread
From: Michel Lanners @ 2001-04-24 20:00 UTC (permalink / raw
  To: geert; +Cc: ultrapenguin, linuxppc-dev


Heya,

On  24 Apr, this message from Geert Uytterhoeven echoed through cyberspace:
> On Tue, 24 Apr 2001, jeramy b smith wrote:
>> I'm not sure. The routers are cisco 55xx and 75xx with the latest firmware loaded.

Fully Cisco on my end also... 803 as a NAT access-router at home, and
36xx devices from there on.

> From there it hits the SprintLink and Abovenet clouds. I wish there
was a tool that could do an point to point traceroute like journey and stop when it hits a hop that doesn't support ECN. Or does traceroute do this when used with 2.4 and ECN support on?
>
> I think it does.

No idea here... I'm new to ECN; I did some lookups at work today but
didn't have time to finish reading on it....

>> mlan@cpu.lu wrote:
>> > Yup, that seems to be the problem. rsync works again for me on
>> > penguinppc. So I guess that some device close to penguinppc.org doesn't
>> > support ECN.....
>
> Then why can I ping penguinppc.org without problems? Because my AXP firewall
> still runs 2.2.x?

Maybe because the NAT function on my Cisco 803 is to blame? Cisco might
'accidentaly' support it in normal packet forwarding, but might not when
doing NAT, since the IP header may need to be rewritten-- probably
without the ECN bits.

Cheers

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
  2001-04-24 20:00           ` Michel Lanners
@ 2001-04-24 20:51             ` Michel Dänzer
  0 siblings, 0 replies; 11+ messages in thread
From: Michel Dänzer @ 2001-04-24 20:51 UTC (permalink / raw
  To: mlan; +Cc: geert, ultrapenguin, linuxppc-dev


Michel Lanners wrote:

> >> > Yup, that seems to be the problem. rsync works again for me on
> >> > penguinppc. So I guess that some device close to penguinppc.org doesn't
> >> > support ECN.....
> >
> > Then why can I ping penguinppc.org without problems? Because my AXP
> > firewall still runs 2.2.x?
>
> Maybe because the NAT function on my Cisco 803 is to blame?

NAT is also a suspect of mine - it's the commonality between our cases.

> Cisco might 'accidentaly' support it in normal packet forwarding, but might
> not when doing NAT, since the IP header may need to be rewritten-- probably
> without the ECN bits.

I must admit I don't really know anything about ECN but that the name of the
/proc file is tcp_ecn, right? It kinda implies that ECN is only involved with
TCP, not ICMP or UDP or whatever. In particular, UDP worked fine (DNS lookups)
when TCP didn't.


--
Earthling Michel Dänzer (MrCooper)    \   Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast   \        XFree86 and DRI project member

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Rsync access through NAT?
       [not found] <200104250459.XAA22227@lists.linuxppc.org>
@ 2001-04-25 21:57 ` Peter Cordes
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Cordes @ 2001-04-25 21:57 UTC (permalink / raw
  To: linuxppc-dev

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 1877 bytes --]


On Tue, Apr 24, 2001 at 11:59:17PM -0500, Linux PPC Developer Digest wrote:

> Date: Tue, 24 Apr 2001 22:51:10 +0200
> From: Michel =?iso-8859-1?Q?D=E4nzer?= <michdaen@iiic.ethz.ch>
> Subject: Re: Rsync access through NAT?

> > Cisco might 'accidentaly' support it in normal packet forwarding, but might
> > not when doing NAT, since the IP header may need to be rewritten-- probably
> > without the ECN bits.
>
> I must admit I don't really know anything about ECN but that the name of the
> /proc file is tcp_ecn, right? It kinda implies that ECN is only involved with
> TCP, not ICMP or UDP or whatever. In particular, UDP worked fine (DNS lookups)
> when TCP didn't.
>
> - --
> Earthling Michel Dänzer (MrCooper)    \   Debian GNU/Linux (powerpc) developer
> CS student, Free Software enthusiast   \        XFree86 and DRI project member

 That's correct.  The ECN flags go in the TOS byte of the IP header.  (octet
in network-speak).  The rationale is that a fixed location in the IP header
is faster for routers to deal with than a TCP option.  (Also, ECN could
obviously be used for any protocol that runs over IP, not just TCP.  AFAIK,
people currently are only using it for IP packets that hold TCP segments.)

 See http://www.faqs.org/rfcs/rfc2481.html for info on ECN in IPv4.  Search
on "ecn" at http://www.faqs.org/rfcs/ to turn up some other more recent
RFCs.  I haven't read them yet.  (BTW, especially read section 19 of rfc
2481, it explains the history of different definitions of the TOS byte.)

--
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@llama.nslug. , ns.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BCE

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-04-25 21:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200104250459.XAA22227@lists.linuxppc.org>
2001-04-25 21:57 ` Rsync access through NAT? Peter Cordes
     [not found] <Pine.LNX.4.33.0104170144460.14396-100000@ash.penguinppc.org>
2001-04-17 15:31 ` Michel Lanners
2001-04-17 16:36   ` jeramy b smith
2001-04-24  5:53     ` Michel Lanners
2001-04-24  7:14       ` Ethan Benson
2001-04-24  7:48         ` Geert Uytterhoeven
2001-04-24 13:13           ` Michel Dänzer
2001-04-24 17:48       ` jeramy b smith
2001-04-24 19:12         ` Geert Uytterhoeven
2001-04-24 20:00           ` Michel Lanners
2001-04-24 20:51             ` Michel Dänzer

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.