From nobody  Sat Jan  3 14:09:55 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id OAA07005;
          Sat, 3 Jan 1998 14:09:55 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199801032209.OAA07005@hub.freebsd.org>
Date: Sat, 3 Jan 1998 14:09:55 -0800 (PST)
From: borjamar@sarenet.es
To: freebsd-gnats-submit@freebsd.org
Subject: Userland PPP with aliasing enabled and mrouted tunnel don't work
X-Send-Pr-Version: www-1.0

>Number:         5422
>Category:       bin
>Synopsis:       Userland PPP with aliasing enabled and mrouted tunnel don't work
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan  3 14:10:00 PST 1998
>Closed-Date:    Tue Jun 30 00:25:38 PDT 1998
>Last-Modified:  Tue Jun 30 00:26:40 PDT 1998
>Originator:     Borja Marcos
>Release:        2.2.5-RELEASE
>Organization:
>Environment:
FreeBSD nenuial.arnor.es 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Sat Dec 27 18:36:37 CET 1997     root@nenuial.arnor.es:/usr/src/sys/compile/NENUIAL  i386

>Description:
A mrouted tunnel through an Internet connection using user PPP with
aliasing enabled doesn't work. If I disable aliasing (alias enable
off) the tunnel starts to work.
Looking at the traffic at tun0 with tcpdump (at the machine with the
aliasing enabled) shows that the other party's IGMP probes aren't
received. Once I disable the aliasing, the messages start to arrive
and the multicast tunnel is established succesfully.
>How-To-Repeat:
Try to establish a mrouted tunnel through a "tun" interface
with aliasing enabled in the userland PPP. Using 
"alias unregistered_only yes" doesn't help

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Sat Jan 3 19:56:05 PST 1998 
Responsible-Changed-Why:  
Ppp's mine (which I guess extends to libalias). 
I know of this problem, I just haven't done anything about it (yet). 
State-Changed-From-To: open->feedback 
State-Changed-By: brian 
State-Changed-When: Sat Jun 27 07:20:51 PDT 1998 
State-Changed-Why:  
Can the originator confirm if this is fixed ? 
The latest ppp is at http://www.Awfulhak.org/ppp.html 
Thanks. 

From: Borja Marcos <borjamar@sarenet.es>
To: freebsd-gnats-submit@freebsd.org, borjamar@sarenet.es
Cc:  Subject: Re: bin/5422: Userland PPP with aliasing enabled and mrouted tunnel don't work
Date: Tue, 30 Jun 1998 00:48:37 +0200

 Sorry for not CC'ing to GNATS.
 
 	I have done the test and it works!!! The setup is as follows:
 
 
 
 	tiburon
             | vx0
 	    |
             |
          (INTERNET)
             |
         tun0|    ed0    
          nenuial ------------------------ varda
 
 tiburon: FreeBSD-STABLE (connected to the university LAN)
 nenuial: freeBSD 2.2.6-RELEASE with ppp-980627, aliasing enabled.
         alias enable yes
         alias unregistered_only yes
         alias same_port yes
 #       alias log yes
         alias use_sockets yes
         alias port udp varda:4000 4000
         alias port udp varda:4001 4001
         alias port tcp varda:4000 4000
         alias port tcp varda:4001 4001
 varda: SPARCstation IPX, Solaris 2.5.1 + multicast kernel 3.5
 
 	Mrouted running on tiburon and nenuial, with a tunnel.
 
 	And... IT WORKS! nenuial sees the neighbor probes coming
 from tiburon (with the previous PPP releases the probes weren't 
 seen at nenuial).
 
 	It seems that the patch works, even though it wasn't intended
 to do routing over a "tun" interface.
 
 	Running "sdr" in the three machines works perfectly!
 
 
 	Borja.
 
             
 -- 
 ***********************************************************************
 Borja Marcos			* Internet: borjamar@sarenet.es
 Alangoeta, 11 1 izq		*	    borjam@we.lc.ehu.es
 48990 - Algorta (Vizcaya)	*           borjam@well.com
 SPAIN				* CompuServe: 100015,3502
 ***********************************************************************
State-Changed-From-To: feedback->closed 
State-Changed-By: brian 
State-Changed-When: Tue Jun 30 00:25:38 PDT 1998 
State-Changed-Why:  
Confirmed as working by the originator. 
>Unformatted:

This reply (from Borja Marcos <borjamar@sarenet.es>) wasn't cc'd to gnats:

	First of all, sorry for the delay.

	And, second, and VERY important. I cannot reproduce the
tests I did until next week. I mean, I'm connecting from my FreeBSD
machine and have tried with a mrouted in a SGI O2 box and another
in a Sun workstation running Solaris, but I'm now sure if they
work. So, the hopefully good test will be done next week.

	Well, I have been trying and it seems not to work.
However, what I was trying to do was to setup a mrouted tunnel
over the "tun" interface.

	When I reported the bug, I was able to use mrouted over
a userland PPP link with aliasing disabled. Today, neither the
2.2.6-RELEASE PPP nor the ppp-980627 work regardless of the
aliasing status. I can enable or disable it, it doesen't work.

	I think I'm going to try with kernel PPP, to see if it
works. Will get back to you soon.



	Borja.
