From rb@tempo.gid.co.uk  Sun Mar  3 02:33:35 2002
Return-Path: <rb@tempo.gid.co.uk>
Received: from tempo.gid.co.uk (host217-35-5-13.in-addr.btopenworld.com [217.35.5.13])
	by hub.freebsd.org (Postfix) with ESMTP id 03C5F37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  3 Mar 2002 02:33:34 -0800 (PST)
Received: (from rb@localhost)
	by tempo.gid.co.uk (8.11.6/8.11.6) id g23AWNm00320;
	Sun, 3 Mar 2002 10:32:23 GMT
	(envelope-from rb)
Message-Id: <200203031032.g23AWNm00320@tempo.gid.co.uk>
Date: Sun, 3 Mar 2002 10:32:23 GMT
From: Bob Bishop <rb@gid.co.uk>
Reply-To: Bob Bishop <rb@gid.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sis(4) multicast filtering doesn't pass some Appletalk packets
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35511
>Category:       kern
>Synopsis:       [sis] sis(4) multicast filtering doesn't pass some Appletalk packets
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 03 02:40:01 PST 2002
>Closed-Date:    Tue Jun 12 04:45:13 GMT 2007
>Last-Modified:  Tue Jun 12 04:45:13 GMT 2007
>Originator:     Bob Bishop
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
GID ltd
>Environment:
System: FreeBSD tempo.gid.co.uk 4.5-STABLE FreeBSD 4.5-STABLE #4: Fri Mar 1 18:43:25 GMT 2002 rb@hal.gid.co.uk:/source/STABLE/src/sys/compile/SEAGOON i386
>Description:
	
Appletalk Name Binding Protocol (NBP) fails to find entities when working
though the sis interface. Other interfaces are fine (tried rl, vr, ed).
Setting the interface into promiscuous mode makes the problem go away, which
points the finger at filtering. Sample NBP lookup and reply packets:

10:20:00.551643 0:d0:9:e9:e9:7e 9:0:7:ff:ff:ff 0022 48: 255.0.158.nis > 0.0.nis:
 nbp-lkup 1: "=:=@*" [addr=255.0.158.128]
                         aaaa 0308 0007 809b 001a 8369 0000 ff00
                         ff9e 0202 0221 01ff 009e 8000 013d 013d
                         012a

10:20:00.552000 0:a:27:e2:c7:d2 0:d0:9:e9:e9:7e 00c1 207: 255.0.128.nis > 255.0.
158.128: nbp-reply 1: "eccles:AFPServer@*"(0) 249 "eccles:ARA - Personal Server@
[|atalk](0)
                         aaaa 0308 0007 809b 00b9 0000 ff00 ff00
                         9e80 8002 0236 01ff 0080 f900 0665 6363
                         6c65 7309 4146 5053 6572 7665 7201 2aff
                         0080 0200 0665 6363 6c65 7315 4152 4120
                         2d20 5065 7273 6f6e 616c 2053 6572 7665
                         7201

This is an onboard sis900 on K7S5A a m/b. It probes as:

sis0: <SiS 900 10/100BaseTX> port 0xd000-0xd0ff mem 0xcbfec000-0xcbfecfff irq 12
 at device 3.0 on pci0
sis0: Ethernet address: 00:d0:09:e9:e9:7e
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto


>How-To-Repeat:
On a box with a sis interface,
Install netatalk, run nbplkup in an environment where there are Appletalk hosts,
observe that they aren't found.

>Fix:
Running:

tcpdump -i sis0 proto 250 2>&1 >/dev/null &

at startup works around the problem by setting the interface into promiscuous
mode. Probably dangerous on an exposed host.
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wpaul 
Responsible-Changed-By: bms 
Responsible-Changed-When: Tue 25 Nov 2003 16:03:11 PST 
Responsible-Changed-Why:  
Maybe wpaul can help on this one. 

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

From: Bob Bishop <rb@gid.co.uk>
To: freebsd-gnats-submit@FreeBSD.org, rb@tempo.gid.co.uk
Cc:  
Subject: Re: kern/35511: sis(4) multicast filtering doesn't pass some
  Appletalk packets
Date: Wed, 26 Nov 2003 00:42:06 +0000

 Note that my email is wrong in the PR - please use rb@gid.co.uk
 
 --
 Bob Bishop		    +44 (0)118 977 4017
 rb@gid.co.uk		fax +44 (0)118 989 4254
 
State-Changed-From-To: open->feedback 
State-Changed-By: bms 
State-Changed-When: Thu 27 Nov 2003 23:28:16 PST 
State-Changed-Why:  
The trash-heap hath spoken. 


Responsible-Changed-From-To: wpaul->bms 
Responsible-Changed-By: bms 
Responsible-Changed-When: Thu 27 Nov 2003 23:28:16 PST 
Responsible-Changed-Why:  
The trash-heap hath spoken. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35511 
State-Changed-From-To: feedback->open 
State-Changed-By: bms 
State-Changed-When: Fri Jun 18 04:00:02 GMT 2004 
State-Changed-Why:  
Correct submitter's email address.  Issue is still open. 


Responsible-Changed-From-To: bms->freebsd-bugs 
Responsible-Changed-By: bms 
Responsible-Changed-When: Fri Jun 18 04:00:02 GMT 2004 
Responsible-Changed-Why:  
Send this back to the free pool as I have no means of testing possible 
fixes directly 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35511 
State-Changed-From-To: open->feedback 
State-Changed-By: bms 
State-Changed-When: Mon Mar 5 09:48:54 UTC 2007 
State-Changed-Why:  
Do you still see this issue with a recent (6.2, 7.0) version of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35511 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jun 12 04:44:45 UTC 2007 
State-Changed-Why:  
Feedback timeout (2 months). 

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