Skip site navigation (1)Skip section navigation (2)
Date:      10 Sep 2000 21:42:07 -0000
From:      venglin@ismedia.pl
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/21176: Malformed packets on fxp driver
Message-ID:  <20000910214207.7196.qmail@yeti.ismedia.pl>

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

>Number:         21176
>Category:       kern
>Synopsis:       Malformed packets on fxp driver
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 10 14:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Przemyslaw Frasunek
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
ISMEDiA
>Environment:

FreeBSD yeti.ismedia.pl 4.1-STABLE FreeBSD 4.1-STABLE #0: Sun Sep 10 22:09:16 CEST 2000     root@yeti.ismedia.pl:/usr/src/sys/compile/YETI  i386

Cvsuped from 5.0-CURRENT.

Kernel configuration:

machine		i386
cpu		I686_CPU
ident		YETI
maxusers	128

options		INET
options		INET6
options		FFS
options		FFS_ROOT
options		QUOTA
options		SOFTUPDATES
options		NFS
options		CD9660
options		COMPAT_43
options		USERCONFIG
options		VISUAL_USERCONFIG
options		SYSVSHM
options		SYSVMSG
options		SYSVSEM
options         ICMP_BANDLIM
options		IPFIREWALL
options		IPDIVERT

device          isa
device          pci

device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

device          ata
device          atadisk
device          atapicd
options         ATA_STATIC_ID
options         ATA_ENABLE_ATAPI_DMA

device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15

device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

device          vga0    at isa?

device          sc0     at isa? flags 0x100

device          npx0    at nexus? port IO_NPX irq 13

device		fxp

pseudo-device   loop
pseudo-device   ether
pseudo-device   pty
pseudo-device	snp 4
pseudo-device   gif 32
pseudo-device   bpf

Interfaces:

fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 212.182.117.178 netmask 0xfffffff8 broadcast 212.182.117.183
	inet6 fe80::290:27ff:fea3:f128%fxp0 prefixlen 64 scopeid 0x1 
	ether 00:90:27:a3:f1:28 
	media: autoselect (100baseTX <full-duplex>) status: active
	supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet6 fe80::290:27ff:fea3:f100%fxp1 prefixlen 64 scopeid 0x2 
	inet 10.10.11.1 netmask 0xffffff00 broadcast 10.10.11.255
	ether 00:90:27:a3:f1:00 
	media: autoselect (100baseTX <full-duplex>) status: active
	supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
gif0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80::290:27ff:fea3:f128%gif0 --> :: prefixlen 64 scopeid 0x3 
	inet6 3ffe:8010:5d::2 --> 3ffe:8010:5d::1 prefixlen 128 
	inet6 3ffe:8010:5d::8 --> 3ffe:8010:5d::1 prefixlen 128 
	inet6 3ffe:8010:5d::9 --> 3ffe:8010:5d::1 prefixlen 128 
	inet6 3ffe:8010:5d::a --> 3ffe:8010:5d::1 prefixlen 128 
gif1: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80::290:27ff:fea3:f128%gif1 --> :: prefixlen 64 scopeid 0x4 
	inet6 3ffe:8010:5d::2:0:1 --> 3ffe:8010:5d::2:0:2 prefixlen 128 
gif2: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80::290:27ff:fea3:f128%gif2 --> :: prefixlen 64 scopeid 0x5 
	inet6 3ffe:8010:5d::8:0:1 --> 3ffe:8010:5d::8:0:2 prefixlen 128 
gif3: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80::290:27ff:fea3:f128%gif3 --> :: prefixlen 64 scopeid 0x6 
	inet6 3ffe:8010:5d::3:0:1 --> 3ffe:8010:5d::3:0:2 prefixlen 128 
gif4: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80::290:27ff:fea3:f128%gif4 --> :: prefixlen 64 scopeid 0x7 
	inet6 3ffe:8010:5d::4:0:1 --> 3ffe:8010:5d::4:0:2 prefixlen 128 
gif5: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80::290:27ff:fea3:f128%gif5 --> :: prefixlen 64 scopeid 0x8 
	inet6 3ffe:8010:5d::5:0:1 --> 3ffe:8010:5d::5:0:2 prefixlen 128 
gif6: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80::290:27ff:fea3:f128%gif6 --> :: prefixlen 64 scopeid 0x9 
	inet6 3ffe:8010:5d::6:0:1 --> 3ffe:8010:5d::6:0:2 prefixlen 128 
gif7: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80::290:27ff:fea3:f128%gif7 --> :: prefixlen 64 scopeid 0xa 
	inet6 3ffe:8010:5d::7:0:1 --> 3ffe:8010:5d::7:0:2 prefixlen 128 
gif8: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif9: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif10: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif11: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif12: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif13: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif14: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif15: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif16: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif17: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif18: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif19: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif20: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif21: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif22: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif23: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif24: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif25: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif26: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif27: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif28: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif29: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif30: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif31: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x23 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000 

>Description:

Packets coming from fxp1 interface are malformed:

23:22:13.931265 0:90:27:a3:f1:0 ff:ff:ff:ff:ff:ff 0800 98: 10.10.11.1 > 10.10.11.255: icmp: echo request
                         4500 0054 7470 0000 ff01 1c25 0a0a 0b01
                         0a0a 0bff 0800 6e7b 7616 3500 85fb bb39
                         a435 0e00 0809 0a0b 0c0d 0e0f 1011 1213
                         1415 1617 1819 1a1b 1c1d 1e1f 2021 2223
                         2425 2627 2829 2a2b 2c2d 2e2f 3031 3233
                         3435
23:22:14.941266 ff:ff:ff:ff:0:90 2:0:0:0:ff:ff 27a3 102: 
                         f100 0800 4500 0054 747f 0000 ff01 1c16
                         0a0a 0b01 0a0a 0bff 0800 5654 7616 3600
                         86fb bb39 ba5c 0e00 0809 0a0b 0c0d 0e0f
                         1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
                         2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
                         3031

Received packet is padded with 4 bytes (0xff) on the beginning. It is not
a hardware failure. Everything worked on 5.0-CURRENT.

Packets from fxp0 are good.

>How-To-Repeat:

Send some packets to broadcast address on second fxp NIC. Catch
responses with tcpdump -x.

>Fix:

Unknown.

>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?20000910214207.7196.qmail>