From tege@gmp.tmg.se  Fri Apr 18 09:54:32 1997
Received: from gmp.tmg.se (quiet.matematik.su.se [130.237.198.146])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA17473
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Apr 1997 09:54:23 -0700 (PDT)
Received: (from tege@localhost)
	by gmp.tmg.se (8.8.5/8.8.5) id SAA00437;
	Fri, 18 Apr 1997 18:53:08 +0200 (CEST)
Message-Id: <199704181653.SAA00437@gmp.tmg.se>
Date: Fri, 18 Apr 1997 18:53:08 +0200 (CEST)
From: Torbjorn Granlund <tege@gmp.tmg.se>
Reply-To: tege@nada.kth.se
To: FreeBSD-gnats-submit@freebsd.org
Subject: http request over ijppp hangs
X-Send-Pr-Version: 3.2

>Number:         3325
>Category:       bin
>Synopsis:       http request over ijppp hangs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 18 10:00:01 PDT 1997
>Closed-Date:    Sat Jun 27 07:42:44 PDT 1998
>Last-Modified:  Thu Sep 10 19:20:02 PDT 1998
>Originator:     Torbjorn Granlund
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
TMG Datakonsult
>Environment:

Hardly relevant.  (Same behaviour observed for radically different environments.)

>Description:

HTTP requests to some sites hang forever.  I use the tunnel device and
ijppp.

>How-To-Repeat:

Several ways.  The simplest is to use telnet:
	telnet www.jp.freebsd.org 80

One never really seems to get connected.  (Most sites work OK of course, but
I occasionally stumple over problematic sites.  I have no idea what
signifies problematic sites.)

The same connection works great with the same hardware and FreeBSD
configuration when connected directly to the Internet.  Also, I am told that
it works when using pppd instead of ijppp.

>Fix:
	
None known.  (Workaround would be to use pppd.)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Mon Jun 23 10:17:00 PDT 1997 
Responsible-Changed-Why:  
My baby 

From: Brian Somers <brian@utell.co.uk>
To: freebsd-gnats-submit@freebsd.org, tege@nada.kth.se
Cc: brian@awfulhak.org
Subject: Re: bin/3325: http request over iijppp hangs
Date: Mon, 23 Jun 1997 18:21:02 +0100

 Can you try this again ?  A fix was made to the vj compression
 stuff some time ago that may have caused this.
 
 If you don't use cvsup/ctm, there's a current copy of ppp
 on http://www.freebsd.org/~brian.
 
 Thanks.
 -- 
 Brian <brian@awfulhak.org> <brian@freebsd.org>
       <http://www.awfulhak.org>
 Don't _EVER_ lose your sense of humour !
 
 

From: Borja Marcos <borjamar@sarenet.es>
To: freebsd-gnats-submit@freebsd.org, brian@utell.co.uk
Cc:  Subject: Re: bin/3325: http request over ijppp hangs
Date: Wed, 06 Aug 1997 18:05:17 +0200

 I have seen a similar problem with 2.2.2-RELEASE.
 
 	I have been fiddling and it seems to be a problem with the tun0
 MRU and MTU.
 
 	If I try to see http://www.compaq.com my http connection (with
 Netscape *.* and lynx) hangs.
 
 	However, if I do an ifconfig tun0 mtu 540 (for example) I can
 access the page. The bad thing is that the system freezes COMPLETELY
 when I close the user PPP. ("close" command, before doing "quit")
 
 	I'm going to do some tests with the MTU value in
 /usr/src/sys/net/if_tun.h.
 
 
 	Borja.
 
 -- 
 ***********************************************************************
 Borja Marcos			* Internet: borjam@we.lc.ehu.es
 Alangoeta, 11 1 izq		*	    borjam@well.com
 48990 - Algorta (Vizcaya)	*           borjamar@sarenet.es
 SPAIN				* CompuServe: 100015,3502
 ***********************************************************************

From: Borja Marcos <borjamar@sarenet.es>
To: freebsd-gnats-submit@freebsd.org, borjamar@sarenet.es, brian@freebsd.org
Cc:  Subject: Re: bin/3325: http request over ijppp hangs
Date: Wed, 06 Aug 1997 22:17:06 +0200

 I have been doing more tests. This is the situation (as I see it).
 
 	I'm connecting to a Spanish network called Infovia. Infovia is a
 service provided by the phone company that allows you to connect to your
 ISP with a local call cost regardless of where in the country your ISP
 is.
 
 	As far as I know, Infovia access servers are Ascend.
 
 	Infovia offers 1524 bytes as the MRU. FreeBSD offers 1500, and finally
 it seems both agree in 1524. The MTU of the tun0 interface gets changed
 to 
 1524.
 
 	When connecting to some WWW sites, (example: http://www.compaq.com)
 with *both* Netscape and Lynx, the connection froze.
 
 	After some tests, I have found that decreasing the tun0 MTU made
 it work. Doing trial and error tests, I have found that if I set the
 MTU to 1476 bytes everything works. If I set it to 1477 the error
 appears
 again.
 
 	The only workaround I see right now is to install the hacked
 -current ppp you have in your pages, and use "set mtu 1476" in the
 ppp.conf
 file. This has made it work in my case.
 
 	Connecting to a provider who offer a MRU of 1500 works without
 problems, so I also tried modifying the MAX_MRU parameter in hdlc.h to
 1500 so that PPP forced the other side to agree on 1500 bytes as the MRU
 instead of 1524. Both agreed on 1500, but it didn't work either. (I did
 the test with the 2.2-RELEASE user-mode ppp).
 
 	I'm using FreeBSD 2.2.2-RELEASE from the CD, with a ZyXEL
 ISDN terminal adapter in async-to-sync PPP mode. I'm also going to
 arrange a test calling Infovia with a modem, to see if the MTU/MRU
 problems happen also by modem.
 
 	If you think I can do more tests just let me know.
 
 
 
 
 	Borja Marcos.
 
 -- 
 ***********************************************************************
 Borja Marcos			* Internet: borjam@we.lc.ehu.es
 Alangoeta, 11 1 izq		*	    borjam@well.com
 48990 - Algorta (Vizcaya)	*           borjamar@sarenet.es
 SPAIN				* CompuServe: 100015,3502
 ***********************************************************************
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Mon Sep 22 13:29:43 PDT 1997 
State-Changed-Why:  
This seems to be a problem with an intermediate router.  From 
the submitter of the bug: 

With the PPP from -current I picked up from http://www.freebsd.org 
everyting seems to work now. 

I will let you know if I see anything else strange. 

Thank you very much! 

From: Torbjorn Granlund <tege@nada.kth.se>
To: freebsd-gnats-submit@freebsd.org
Cc: tege@nada.kth.se, Brian Somers <brian@freebsd.org>
Subject: Re: bin/3325 
Date: Thu, 02 Oct 1997 02:18:38 +0200

 Protest!  The quotation below, attributed to me by Brian Somers was not said
 by me:
 
   This seems to be a problem with an intermediate router.  From
   the submitter of the bug:
 
 	  With the PPP from -current I picked up from http://www.freebsd.org
   everyting seems to work now.
 
 	  I will let you know if I see anything else strange.
 
 	  Thank you very much!
 
 As a matter of fact, I have no idea if the ijppp from current works any
 better, since I haven't tried it.  I am too busy and behind a too slow line
 to keep up to date with the FreeBSD source tree.
 
 Really scary the PR was closed by faking that I had reported it was now
 gone!  What is going on?  Trying to improve PR stats?
 
 /Torbjorn
 
 PS. The reasoning is also really odd, "The problem was due to a router and
 was fixed by a change to FreeBSD ppp"?  You surely are clever hackers!
State-Changed-From-To: closed->open 
State-Changed-By: brian 
State-Changed-When: Thu Oct 2 11:30:06 PDT 1997 
State-Changed-Why:  
The *real* originator hasn't agreed that the PR should have been closed. 

From: Brian Somers <brian@awfulhak.org>
To: Torbjorn Granlund <tege@nada.kth.se>, Borja Marcos <borjamar@sarenet.es>
Cc: freebsd-gnats-submit@freebsd.org, Brian Somers <brian@freebsd.org>
Subject: Re: bin/3325 
Date: Thu, 02 Oct 1997 19:43:02 +0100

 > Protest!  The quotation below, attributed to me by Brian Somers was not said
 > by me:
 > 
 >   This seems to be a problem with an intermediate router.  From
 >   the submitter of the bug:
 > 
 > 	  With the PPP from -current I picked up from http://www.freebsd.org
 >   everyting seems to work now.
 > 
 > 	  I will let you know if I see anything else strange.
 > 
 > 	  Thank you very much!
 
 Ah, I mistook Borja Marcos <borjamar@sarenet.es> as the submitter.  
 My appologies.
 
 > As a matter of fact, I have no idea if the ijppp from current works any
 > better, since I haven't tried it.  I am too busy and behind a too slow line
 > to keep up to date with the FreeBSD source tree.
 
 Fair enough.  If you can find some time, there's a copy of the latest 
 sources (that'll build on pretty much any post-2.1.5 FreeBSD) on
 
   http://www.freebsd.org/~brian.
 
 > Really scary the PR was closed by faking that I had reported it was now
 > gone!  What is going on?  Trying to improve PR stats?
 > 
 > /Torbjorn
 > 
 > PS. The reasoning is also really odd, "The problem was due to a router and
 > was fixed by a change to FreeBSD ppp"?  You surely are clever hackers!
 
 The router has a problem with large packets.  Altering ppp so that 
 you can make the MTU smaller circumvented the router problem.  Not 
 too clever.....
 
 Anyway, I'd appreciate if you could test things.  I'll open the pr 
 again 'till then.
 
 -- 
 Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org>
       <http://www.Awfulhak.org>
 Don't _EVER_ lose your sense of humour....
 
 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Sat Jun 27 07:42:44 PDT 1998 
State-Changed-Why:  
The original submitter never responded to the request to test 
(even after complaining when this pr was closed). 
If the submitter does care to test with the latest ppp available 
from http://www.Awfulhak.org/ppp.html and with TCP extensions 
turned off in /etc/{sysconfig,rc.conf}, feel free to complain about 
this pr's closure again. 

From: Torbjorn Granlund <tege@matematik.su.se>
To: Brian Somers <brian@awfulhak.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/3325 
Date: Fri, 11 Sep 1998 04:18:03 +0200

 The 980909 snapshot solves the problem.  Wow, now I can surf into
 www.freebsd.org for the first time since I started using ijppp...!
 
 Please close this PR.
 
 Thanks,
 Torbjorn
>Unformatted:
