Date: Mon, 26 Mar 2001 09:28:30 +0200 (CEST) From: Luigi Rizzo <luigi@info.iet.unipi.it> To: Adam Kujawski <adamkuj@gatordog.com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: Page Fault using DUMMYNET & BRIDGE Message-ID: <200103260728.JAA67678@info.iet.unipi.it> In-Reply-To: <Pine.BSF.4.31.0103260155300.62765-100000@gatordog.com> from Adam Kujawski at "Mar 26, 2001 02:22:17 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm getting a page fault, trap 12, whenever a packet from a bridged > interface matches a pipe fule in IPFW. Any suggestions? known problem in 4.2R, you have to upgrade to a recent -stable or 4.3 cheers luigi > dmesg: > Copyright (c) 1992-2000 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.2-RELEASE #0: Tue Mar 6 13:19:17 EST 2001 > root@nexus.gatordog.com:/usr/src/sys/compile/NEXUS2 > Timecounter "i8254" frequency 1193182 Hz > CPU: Cyrix 6x86 (486-class CPU) > Origin = "CyrixInstead" DIR=0x1531 Stepping=1 Revision=5 > CPU cache: write-through mode > real memory = 67108864 (65536K bytes) > avail memory = 61046784 (59616K bytes) > Preloaded elf kernel "kernel" at 0xc0441000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc044109c. > md0: Malloc disk > npx0: <math processor> on motherboard > npx0: INT 16 interface > pcib0: <Host to PCI bridge> on motherboard > pci0: <PCI bus> on pcib0 > isab0: <Intel 82371FB PCI to ISA bridge> at device 7.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel PIIX ATA controller> port 0x3000-0x300f at device 7.1 on > pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6000-0x607f mem > 0xe0000000-0xe000007f irq 1 > 1 at device 17.0 on pci0 > xl0: Ethernet address: 00:10:5a:05:b4:a5 > miibus0: <MII bus> on xl0 > xlphy0: <3Com internal media interface> on miibus0 > xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: <RealTek 8139 10/100BaseTX> port 0x6100-0x61ff mem > 0xe0001000-0xe00010ff irq 10 at device 20.0 on pci0 > rl0: Ethernet address: 00:50:bf:16:19:c8 > miibus1: <MII bus> on rl0 > rlphy0: <RealTek internal media interface> on miibus1 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fdc0: direction bit not set > fdc0: cmd 3 failed at out byte 1 of 3 > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A, console > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > ppc0: parallel port not found. > IP packet filtering initialized, divert disabled, rule-based forwarding > disabled, default to accept, unlimited logging > DUMMYNET initialized (000608) > BRIDGE 990810, have 10 interfaces > -- index 1 type 6 phy 0 addrl 6 addr 00.10.5a.05.b4.a5 > -- index 2 type 6 phy 0 addrl 6 addr 00.50.bf.16.19.c8 > ad0: 516MB <DSAA-3540> [1049/16/63] at ata0-master PIO2 > ad2: 2014MB <ST32122A> [4092/16/63] at ata1-master PIO4 > > kernel options: > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_DEFAULT_TO_ACCEPT > options DUMMYNET > options NMBCLUSTERS=4096 > options BRIDGE > options TCP_DROP_SYNFIN > options TCP_RESTRICT_RST > > rc.conf: > kern_securelevel="2" > kern_securelevel_enable="YES" > gateway_enable="NO" > network_interfaces="rl0 lo0 xl0" > ifconfig_rl0="DHCP" > firewall_type="open" > > sysctl.conf: > net.link.ether.bridge=1 > net.link.ether.bridge_ipfw=1 > net.inet.ip.fw.dyn_max=10000 > net.link.ether.bridge_cfg=xl0:1,rl0:1 > > rc.firewall: > ipfw pipe 1 config bw 256Kbit/s queue 30KB > ipfw pipe 2 config bw 256Kbit/s queue 30KB > ipfw add 200 pass udp from 0.0.0.0 2054 to 0.0.0.0 > ipfw add 400 pipe 1 ip from A.A.A.A to B.B.B.B > ipfw add 450 pipe 2 ip from B.B.B.B to A.A.A.A > > So... if I try to ping B.B.B.B from A.A.A.A, the FreeBSD firewall > immediatly dies with a page fault. > > Thanks, > Adam > > > ________________________________________________________________ > Adam Kujawski | Home: (419) 352-1289 > adamkuj@gatordog.com | Work: (419) 261-3268 > ________________________________________________________________ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103260728.JAA67678>