Re: "cvs update" hängt bei TSDL + natd + tcpmssd

From: Udo Erdelhoff <ue(at)nathan.ruhr.de>
Date: Wed, 14 Mar 2001 21:37:05 +0100

On Wed, Mar 14, 2001 at 08:49:19PM +0100, Tobias Ernst wrote:
> Es stellt sich also die Frage, warum bei mir tcpmssd die Pakete die ein "cvs
> update" generiert nicht richtig verarbeitet. Darf ich zunächst einmal
> nochmal fragen, ob die Konfiguration die ich in meiner letzten Mail gepostet
> habe im Prinzip richtig ist? Hier nochmal zur Erinnerung:
>
> > root(at)romulus /etc # ps ax | grep tcpmssd
> > 494 ?? Is 0:00.01 /usr/local/bin/tcpmssd -m 1492 -p 1234

  157 ?? Is 0:00.19 /usr/local/bin/tcpmssd -m 1450 -p 1234
 
> > root(at)romulus /etc # cat /etc/rc.firewall
> > #!/bin/sh
> > /sbin/ipfw -f flush
> > /sbin/ipfw add divert natd all from any to any via tun0
> > /sbin/ipfw add divert 1234 tcp from any to any via tun0 setup
> > /sbin/ipfw add pass all from any to any

Poste lieber mal den Output von ipfw show.

00050 263044 130570238 divert 8668 ip from any to any via tun0
00051 3225 153308 divert 1234 tcp from any to any via tun0 setup
00100 25920 5500014 allow ip from any to any via lo0
00200 0 0 deny ip from any to 127.0.0.0/8
65000 822451 382143441 allow ip from any to any
65535 0 0 deny ip from any to any

> > root(at)romulus /etc # ps ax | grep natd
> > 91 ?? Ss 0:00.04 natd -interface tun0 -log -dynamic -redirect_port
> > tcp

Huch? Hier läuft nur
  169 ?? Is 0:28.87 /sbin/natd -dynamic -n tun0

 
> Ich habe jetzt testweise auch mal versucht, den MSS-Fix von ppp statt von
> tcpmssd ausführen zu lassen, sollte mit 4.3-BETA ja gehen. Zeigt aber leider
> genau das gleiche Bild wie tcpmssd: Irgendwann tauchen im tcpdump plötzlich
> Pakete mit größerer mtu auf.

Der MMS-Fix von ppp korrigiert die MSS nur stumpf auf 1452 Bytes runter
(MTU 1492 - 40 bytes "typical header").

> Wenn das erwünscht ist, erstelle ich nochmal genauere tcpdumps (ist halt
> relativ schwierig, das lan ganz ruhig zu bekommen).

Solange Du auf dem Ethernet lauscht, tut es not host foo and not host bla
and not port bar. Auf tun0 ist das schon schwieriger, da hatte ich schon
Probleme.
 
/s/Udo

-- 
People who claim Windows in superior to Unix are the same people who'd
argue that you better use your hand instead of toilet paper to wipe your
ass. I can hear them now - 'It's colourful and it's intuitive and easy
to use and even a child could do it.'.
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 14 Mar 2001 - 21:38:05 CET

search this site