| Home | Register | Members | Search | Links |
![]() |
| Thread Tools | Display Modes |
|
|
|
| |
|
Clifford Kite
Guest
Posts: n/a
|
(E-Mail Removed) wrote:
> Hi all I am trying to debug the following problem: > When I have PC users on the LAN try to connnect to "*.myspace.com", > there is a long wait, followed by the remore host sending a RST, and > then even stranger, the NAT gateway here, pushes out a "private > address", to which the router just baulks (I would expect). Does anyone > have any suggestions as to what might be going on. There are a couple > of other issues with a handful of websites, but this is my starting > point of investigation. TIA > Any help would be greatly appreciated. > A layout and packet trace are below. Specs on systems at very bottom. > (internet "bigpond.com")---[linux f/w router, rp-pppoe]---[NAT gateway > "smeserver 7.0"]---LAN ^^^^^^^^ PPPoEvil > * I can connect to the web site from the fw/router, no problem. > * I can't connect to web site from NAT gateway, same promlem as PC's on > LAN. > * If I clear ALL of the firewall forward rules, and remove all tc > rules, still the same issue. > * Apple Mac users on the LAN, can connect no problem (BSD Network > Stack?) > 08:23:59*adriana*~]# tcpdump -lt -i ppp0 src or dst myspace.com | sed > -f /usr/local/sbin/alias_hosts > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode > listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 > bytes > IP mercedes.domain.name.3807 > profile.myspace.com.http: S > 2122816955:2122816955(0) win 65535 <mss 1460,nop,nop,sackOK> > IP profile.myspace.com.http > mercedes.domain.name.3807: S > 1232998668:1232998668(0) ack 2122816956 win 8190 <mss 1460> > IP mercedes.domain.name.3807 > profile.myspace.com.http: . ack 1 win > 65535 > IP mercedes.domain.name.3807 > profile.myspace.com.http: . 1:1453(1452) > ack 1 win 65535 1452=1460-8=1500-40-8 I suspect that PMTU Discovery by most hosts behind the fw/router fails due to NATing and a PPP interface MTU of 1492. Try changing the MTUs on all non-Apple NAT'ed hosts to 1492, or search for TCPMSS in "man iptables" for a different approach. -- Clifford Kite /* "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin */ |
|
|
|
|
|||
|
|||
|
WRX
Guest
Posts: n/a
|
On Tue, 19 Dec 2006 22:39:13 -0600, Clifford Kite
<(E-Mail Removed)> wrote: >(E-Mail Removed) wrote: >> Hi all I am trying to debug the following problem: >> When I have PC users on the LAN try to connnect to "*.myspace.com", >> there is a long wait, followed by the remore host sending a RST, and >> then even stranger, the NAT gateway here, pushes out a "private >> address", to which the router just baulks (I would expect). Does anyone >> have any suggestions as to what might be going on. There are a couple >> of other issues with a handful of websites, but this is my starting >> point of investigation. TIA > >> Any help would be greatly appreciated. > >> A layout and packet trace are below. Specs on systems at very bottom. > >> (internet "bigpond.com")---[linux f/w router, rp-pppoe]---[NAT gateway >> "smeserver 7.0"]---LAN ^^^^^^^^ > >PPPoEvil > >> * I can connect to the web site from the fw/router, no problem. >> * I can't connect to web site from NAT gateway, same promlem as PC's on >> LAN. >> * If I clear ALL of the firewall forward rules, and remove all tc >> rules, still the same issue. >> * Apple Mac users on the LAN, can connect no problem (BSD Network >> Stack?) > >> 08:23:59*adriana*~]# tcpdump -lt -i ppp0 src or dst myspace.com | sed >> -f /usr/local/sbin/alias_hosts >> tcpdump: verbose output suppressed, use -v or -vv for full protocol >> decode >> listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 >> bytes >> IP mercedes.domain.name.3807 > profile.myspace.com.http: S >> 2122816955:2122816955(0) win 65535 <mss 1460,nop,nop,sackOK> >> IP profile.myspace.com.http > mercedes.domain.name.3807: S >> 1232998668:1232998668(0) ack 2122816956 win 8190 <mss 1460> >> IP mercedes.domain.name.3807 > profile.myspace.com.http: . ack 1 win >> 65535 >> IP mercedes.domain.name.3807 > profile.myspace.com.http: . 1:1453(1452) >> ack 1 win 65535 > >1452=1460-8=1500-40-8 > >I suspect that PMTU Discovery by most hosts behind the fw/router fails >due to NATing and a PPP interface MTU of 1492. Try changing the MTUs on >all non-Apple NAT'ed hosts to 1492, No joy. I have tried this approach before. > or search for TCPMSS in "man iptables" >for a different approach. okey, following that good advice, I'm getting there: $ iptables -t mangle -I POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o eth0 -j TCPMSS --set-mss 1492 $ ifconfig eth0 mtu 1492; ifconfig eth1 mtu 1492 I can now connect from the NAT gateway ![]() but, still can't connect from workstartions behind the gateway... I will keep woorking at it following your suggested methodology for the time being. thanks tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes 14:46:48.544028 IP 192.168.1.194.2812 > profile.myspace.com.http: F 1012380934:1012380934(0) ack 2178749501 win 65219 14:46:50.923186 IP mercedes.domain.name.2848 > profile.myspace.com.http: S 1923531304:1923531304(0) win 65535 <mss 1460,nop,nop,sackOK> 14:46:51.058868 IP 192.168.1.194.2812 > profile.myspace.com.http: F 0:0(0) ack 1 win 65219 14:46:51.100638 IP profile.myspace.com.http > mercedes.domain.name.2848: S 1031673304:1031673304(0) ack 1923531305 win 8190 <mss 1460> 14:46:51.100912 IP mercedes.domain.name.2848 > profile.myspace.com.http: . ack 1 win 65535 14:46:51.101172 IP mercedes.domain.name.2848 > profile.myspace.com.http: . 1:1453(1452) ack 1 win 65535 14:46:51.542166 IP profile.myspace.com.http > mercedes.domain.name.2848: . ack 1453 win 8190 14:46:51.741539 IP mercedes.domain.name.2848 > profile.myspace.com.http: P 1453:1659(206) ack 1 win 65535 14:46:51.927609 IP profile.myspace.com.http > mercedes.domain.name.2848: . ack 1659 win 65535 14:46:52.050184 IP profile.myspace.com.http > mercedes.domain.name.2848: P 1:290(289) ack 1659 win 65535 14:46:52.165205 IP mercedes.domain.name.2848 > profile.myspace.com.http: . ack 290 win 65246 14:46:53.661947 IP mercedes.domain.name.2848 > profile.myspace.com.http: F 1659:1659(0) ack 290 win 65246 14:46:55.972351 IP mercedes.domain.name.2849 > profile.myspace.com.http: S 3096117072:3096117072(0) win 65535 <mss 1460,nop,nop,sackOK> 14:46:56.150304 IP profile.myspace.com.http > mercedes.domain.name.2849: S 3780395770:3780395770(0) ack 3096117073 win 8190 <mss 1460> 14:46:56.150592 IP mercedes.domain.name.2849 > profile.myspace.com.http: . ack 1 win 65535 14:46:56.150821 IP mercedes.domain.name.2849 > profile.myspace.com.http: . 1:1453(1452) ack 1 win 65535 14:46:56.150839 IP mercedes.domain.name.2849 > profile.myspace.com.http: P 1453:1659(206) ack 1 win 65535 14:46:56.288794 IP 192.168.1.194.2812 > profile.myspace.com.http: F 0:0(0) ack 1 win 65219 14:46:56.389372 IP mercedes.domain.name.2848 > profile.myspace.com.http: F 1659:1659(0) ack 290 win 65246 14:46:56.391763 IP profile.myspace.com.http > mercedes.domain.name.2849: . ack 1659 win 65535 14:46:56.404502 IP profile.myspace.com.http > mercedes.domain.name.2849: P 1:317(316) ack 1659 win 65535 14:46:56.415245 IP profile.myspace.com.http > mercedes.domain.name.2849: P 9077:10171(1094) ack 1659 win 65535 14:46:56.415656 IP mercedes.domain.name.2849 > profile.myspace.com.http: . ack 317 win 65219 14:46:56.566889 IP profile.myspace.com.http > mercedes.domain.name.2848: . ack 1660 win 65535 14:46:58.503476 IP mercedes.domain.name.2849 > profile.myspace.com.http: F 1659:1659(0) ack 317 win 65219 14:46:58.682346 IP profile.myspace.com.http > mercedes.domain.name.2849: . ack 1660 win 65535 14:47:01.353472 IP mercedes.domain.name.2850 > profile.myspace.com.http: S 1836297827:1836297827(0) win 65535 <mss 1460,nop,nop,sackOK> 14:47:01.531621 IP profile.myspace.com.http > mercedes.domain.name.2850: S 1725289433:1725289433(0) ack 1836297828 win 8190 <mss 1460> 14:47:01.531805 IP mercedes.domain.name.2850 > profile.myspace.com.http: . ack 1 win 65535 14:47:01.532143 IP mercedes.domain.name.2850 > profile.myspace.com.http: . 1:1453(1452) ack 1 win 65535 14:47:01.532161 IP mercedes.domain.name.2850 > profile.myspace.com.http: P 1453:1659(206) ack 1 win 65535 14:47:01.775720 IP profile.myspace.com.http > mercedes.domain.name.2850: . ack 1659 win 65535 14:47:01.813618 IP profile.myspace.com.http > mercedes.domain.name.2850: P 1:267(266) ack 1659 win 65535 14:47:01.821451 IP mercedes.domain.name.2850 > profile.myspace.com.http: . ack 267 win 65269 14:47:01.823365 IP profile.myspace.com.http > mercedes.domain.name.2850: P 9027:10127(1100) ack 1659 win 65535 14:47:01.823785 IP mercedes.domain.name.2850 > profile.myspace.com.http: . ack 267 win 65269 14:47:04.334611 IP mercedes.domain.name.2850 > profile.myspace.com.http: F 1659:1659(0) ack 267 win 65269 14:47:05.256091 IP mercedes.domain.name.2851 > profile.myspace.com.http: S 968725927:968725927(0) win 65535 <mss 1460,nop,nop,sackOK> |
|
|
|
|
|||
|
|||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange problem with FTP (too many connections stop connecting) | Ignoramus17950 | Linux Networking | 1 | 01-04-2008 08:31 PM |
| Nexland ISB SOHO : How to reset to reset to factory settings ? | Pierre-Yves GERARD | Network Routers | 7 | 01-23-2006 10:58 AM |
| Server 2003 connections reset | techik | Windows Networking | 1 | 11-22-2005 04:42 PM |
| Connections Reset Very High | DanJurden | Windows Networking | 0 | 08-20-2005 02:35 AM |
| two dsl connections, two routers, dual nics on linux box , want to run two websites | Laitkor | Linux Networking | 1 | 06-19-2004 07:27 PM |
Forum Software Powered by vBulletin®, Copyright Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc. |



Linear Mode

