[Abandoned] Slackware 12.2, VPN/PPTP problem: Cannot view certain sites
Hello.
I'm using Slackware 12.2 and I'm connected to the internet via VPN/PPTP. For some weird reason I cannot access certain sites when I'm working under the Slackware system - they respond to ping, but I cannot get any pages (page starts loading, then hangs forever). I can't figure out the pattern, but those sites include help.com, experts-exchange.com, and few others. Sites are online, and can be accessed via anonymous proxy servers. The problem doesn't happen on same machine, when it is running WinXP. This slackware machine has 2 NICs and is used as gateway by another Ubuntu 8.04 machine. Both slackware and ubuntu machines cannot access same range of sites. Problem affects firefox, opera, and wget. Details:
I think problem may be related to firewall, but I can't figure out what is wrong. I've tried dumping iptable counters (iptables -vnL) to see if incoming connection gets blocked or rejected, but I haven't noticed anything unusual. ISP doesn't provide support for linux computers. Ideas? |
did you run thraceroute? maybe that sites2 connection loops somewhere weird.
|
Quote:
Also I can telnet both sites at port 80, but can't get pages from them. Here is what I get with wget: Code:
wget --no-proxy www.help.com Code:
bash-3.1$ wget --no-proxy www.experts-exchange.com There are few more websites that misbehave in the same way, but don't remember all of them. Everything works under WinXP, on the same machine, with same ISP, so this should be configuration problem. |
some more thinking:
connection reset by peer points that other side did not like your packages, and killed the connection. it could happen because of faulty hardware, bug in the network stack, or problems between you and the server. after looking at the diagnoses you did, it's at high probality firewall problem. maybe it drops things it should not or modifyes something it should not. did you checked the bug lists? |
Quote:
Quote:
Quote:
Also I do not remember having such problems with my ADSL modem, so it doesn't look like some kind of kernel bug. I think that purchasing a router with VPN support would solve my problem, but I cannot do that at the moment. |
Quote:
|
Quote:
Quote:
|
i have an idea about debugging. use wireshark and do time capture for the protocol. maybe you can catch something
|
Quote:
|
another possiblity (finally talked to İTÜ sysadmin) is that router acts wrong and drops/damages packeges. then remote web site kills the connection.
debugging this is vrey pain in the ass. only thing comes to mind is that watch packeges in bpth end (client and after the router). |
Quote:
Which might indicate, that problem is somehow related to linux-windows difference. I.e. packets sent by linux system are somehow different from the packets sent by windows system, and the difference triggers a bug somewhere along the way. Or perhaps there is a bug in pptpclient (which is possible, and in this case there won't be a solution - because there is no alternative to pptpclient for linux. Quote:
Anyway, I give up. I'm sure that it is possible to debug|fix this, but I do not have enough time for that, and my computer/programming knowledge isn't related to monitoring packets. If I ever find the solution/cause, I'll try to post it here. Question abandoned. |
I just figured out the solution after a very long night!
The default maximum transmission unit (MTU) is set to be 1396, while in XP it is 1400. ppp0 Link encap:Point-to-Point Protocol inet addr:192.168.5.1 P-t-P:192.168.5.234 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1396 Metric:1 use this to change that: ifconfig ppp0 mtu 1400 :) |
All times are GMT -5. The time now is 11:35 AM. |