Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HTTP connection problem with mtu>1460
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun May 25, 2014 12:43 pm    Post subject: HTTP connection problem with mtu>1460 Reply with quote

I borrowed a modem and router from a friend until I get a new one. It negotiates connection over PPP.

I determined the MTU to be 1492 (1500-8, 8 bytes being PPP header). I can ping packages with ICMP payload 1464 bytes with don't frag bit set.

However if I set the MTU to be anything over 1460, establishing HTTP connection fails.

The only thing that can go wrong with this is TCP MSS size which must be such that it utilizes the full 1492 bytes. Once such a packet is received or sent, the modem drops the packet resulting in a timeout establishing the HTTP connection (TCP connection is established).

What's your opinion?
_________________
My blog
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Tue May 27, 2014 11:12 pm    Post subject: Reply with quote

It is possible that your ISP encapsulates your traffic further, resulting in even lower mtu. ICMP path mtu discovery will automatically determine the highest possible mtu (unless some firewall along the path blocks ICMP).
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Wed May 28, 2014 6:05 am    Post subject: Reply with quote

chithanh wrote:
It is possible that your ISP encapsulates your traffic further, resulting in even lower mtu. ICMP path mtu discovery will automatically determine the highest possible mtu (unless some firewall along the path blocks ICMP).


But TCP traffic only?
_________________
My blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum