Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 10:32:23 GMT
From:      Bob Bishop <rb@tempo.gid.co.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/35511: sis(4) multicast filtering doesn't pass some Appletalk packets
Message-ID:  <200203031032.g23AWNm00320@tempo.gid.co.uk>

next in thread | raw e-mail | index | archive | help

>Number:         35511
>Category:       kern
>Synopsis:       sis(4) multicast filtering doesn't pass some Appletalk packets
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 03 02:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203031032.g23AWNm00320>