Re: ssh connections stalling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Different MTU sizes? It does look like an MTU problem. What kind of
Internet connection do you have? What is your network topology?

Try to set MSS to 1380 with the TCPMSS target in the OUTPUT chain.

Best regards,
Jozsef
-

so if I add:

iptables -t mangle -A OUTPUT  -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1380

it doesn't help,

now the tcpdump starts:
11:36:16.742371 IP 128.189.212.241.39178 > spider.phas.ubc.ca.ssh: S  1086962333:1086962333(0) win 5840 <mss 1380,[|tcp]>
11:36:16.742409 IP spider.phas.ubc.ca.ssh > 128.189.212.241.39178: S 995440061:995440061(0) ack 1086962334 win 5792 <mss 1380,[|tcp]>

but it still stalls the same way.

I'm connected to a gigabit switch in a university department. I'm afraid I don't know more about the topology than that.

My understanding of some of this is pretty weak, but I'm surprised the packets coming out of spider are so big: 8208 bytes in some cases. I seem to run into problems when the packets get so big. They are still that big even after forcing mss to 1380.

Carl


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux