From nobody@FreeBSD.org  Mon Mar 27 21:31:48 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 8CCA937BA08
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 27 Mar 2000 21:31:48 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id VAA39830;
	Mon, 27 Mar 2000 21:31:48 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200003280531.VAA39830@freefall.freebsd.org>
Date: Mon, 27 Mar 2000 21:31:48 -0800 (PST)
From: gnn@neville-neil.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: netgraph is not implemented on loopback iterfaces
X-Send-Pr-Version: www-1.0

>Number:         17631
>Category:       kern
>Synopsis:       netgraph is not implemented on loopback iterfaces
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    archie
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 27 21:40:01 PST 2000
>Closed-Date:    Mon Sep 18 13:35:20 PDT 2000
>Last-Modified:  Mon Sep 18 13:35:52 PDT 2000
>Originator:     George Neville-Neil
>Release:        3.4 and -current
>Organization:
>Environment:
>Description:
Netgraph has a permanent node for every Ethernet interface but
none for loopback.  Loopback would be desirable for those who
wish to use laptops, or to simulate traffic through new nodes
without using an actualy interface.
>How-To-Repeat:

>Fix:
Add netgraph code to if_loop.c and create an ng_loop.h file in
the sys/netgraph directory.

I will have a patch for this in a week or so.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: johan 
State-Changed-When: Sat Aug 19 00:26:39 PDT 2000 
State-Changed-Why:  

Can you please send the patches you where talking about as a followup to 
this PR, by sending them in a mail to 'freebsd-gnats-submit@FreeBSD.org' 
with the subject of this mail. 



Responsible-Changed-From-To: freebsd-bugs->archie 
Responsible-Changed-By: johan 
Responsible-Changed-When: Sat Aug 19 00:26:39 PDT 2000 
Responsible-Changed-Why:  
Archie has done some recent commits to this area  
and I belive he is one of the maintainers, true? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17631 

From: Archie Cobbs <archie@whistle.com>
To: freebsd-gnats-submit@FreeBSD.org, gnn@neville-neil.com
Cc:  
Subject: Re: kern/17631: netgraph is not implemented on loopback iterfaces
Date: Mon, 21 Aug 2000 17:10:26 -0700

 One thing to think about regarding this bug is: what does a loopback
 "packet"
 look like? Specifially, how do you determine the protocol? Internally
 all loopback
 packets are accompianied by a struct sockaddr that determines the
 protocol.
 
 For example, on Ethernet, the two byte Ethertype determines the
 protocol.
 
 So you'd have to make up some kind of pseudo-header, e.g., like a two
 byte
 Ethertype, so that ng_loop can figure out what protocol the packet is.
 Otherwise
 it's just gonna be opaque data.
 
 -Archie
 
 ___________________________________________________________________________
 Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com
 
 
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: archie 
State-Changed-When: Mon Sep 18 13:35:20 PDT 2000 
State-Changed-Why:  
No changes to be made. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17631 
>Unformatted:
