From owner-freebsd-bugs Wed Jan 23 15: 6:56 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from meta.lo-res.org (meta.lo-res.org [195.58.189.92]) by hub.freebsd.org (Postfix) with ESMTP id B7F1137B438 for ; Wed, 23 Jan 2002 15:06:18 -0800 (PST) Received: from there (a112.dialin.tuwien.ac.at [192.35.240.122]) by meta.lo-res.org (8.11.6/8.11.6) with SMTP id g0NN6Cn18736; Thu, 24 Jan 2002 00:06:12 +0100 (CET) (envelope-from aaron@lo-res.org) Message-Id: <200201232306.g0NN6Cn18736@meta.lo-res.org> Content-Type: text/plain; charset="iso-8859-15" X-KMail-Redirect-From: aaron Subject: Re: kern/34174: IPv6 doesn't work if IPFILTER_DEFAULT_BLOCK is used From: aaron (by way of aaron ) Date: Thu, 24 Jan 2002 00:04:37 +0100 To: dim@xs4all.nl Cc: freebsd-bugs@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 22 January 2002 18:49, Dimitry Andric wrote: Hi Dimitry, quick question... could it be that you forgot to allow rules with the -6 option? aaron. > >Number: 34174 > >Category: kern > >Synopsis: IPv6 doesn't work if IPFILTER_DEFAULT_BLOCK is used > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Jan 22 09:50:00 PST 2002 > >Closed-Date: > >Last-Modified: > >Originator: Dimitry Andric > >Release: FreeBSD 4.5-RC i386 > >Organization: > > n/a > > >Environment: > > System: FreeBSD tensor.xs4all.nl 4.5-RC FreeBSD 4.5-RC #0: Mon Jan 21 > 20:52:33 CET 2002 root@tensor.xs4all.nl:/usr/obj/usr/src/sys/TENSOR i386 > > ========== kernel configuration: > # > # TENSOR -- Kernel configuration file for FreeBSD/i386 > # > > machine i386 > cpu I586_CPU > ident TENSOR > maxusers 0 > > options INET #InterNETworking > options INET6 #IPv6 communications protocols > options FFS #Berkeley Fast Filesystem > options FFS_ROOT #FFS usable as root device [keep this!] > options SOFTUPDATES #Enable FFS soft updates support > options UFS_DIRHASH #Improve performance on big directories > options MFS #Memory Filesystem > options NFS #Network Filesystem > options MSDOSFS #MSDOS Filesystem > options CD9660 #ISO 9660 Filesystem > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI > options UCONSOLE #Allow users to grab the console > options KTRACE #ktrace(1) support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options P1003_1B #Posix P1003_1B real-time extensions > options _KPOSIX_PRIORITY_SCHEDULING > options ICMP_BANDLIM #Rate limit bad replies > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options IPFILTER #ipfilter support > options IPFILTER_LOG #ipfilter logging > options IPFILTER_DEFAULT_BLOCK #block all packets by default > > device isa > device pci > > # Floppy drives > device fdc0 at isa? port IO_FD1 irq 6 drq 2 > device fd0 at fdc0 drive 0 > > # ATA and ATAPI devices > device ata0 at isa? port IO_WD1 irq 14 > device ata1 at isa? port IO_WD2 irq 15 > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > options ATA_STATIC_ID #Static device numbering > > # atkbdc0 controls both the keyboard and the PS/2 mouse > 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? > > # syscons is the default console driver, resembling an SCO console > device sc0 at isa? flags 0x100 > > # Floating point support - do not disable. > device npx0 at nexus? port IO_NPX irq 13 > > # Serial (COM) ports > device sio0 at isa? port IO_COM1 flags 0x10 irq 4 > device sio1 at isa? port IO_COM2 irq 3 > > # Parallel port > device ppc0 at isa? irq 7 > device ppbus # Parallel port bus (required) > device lpt # Printer > > # PCI Ethernet NICs that use the common MII bus controller code. > device miibus # MII bus support > device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') > > # Pseudo devices - the number indicates how many units to allocate. > pseudo-device loop # Network loopback > pseudo-device ether # Ethernet support > pseudo-device tun # Packet tunnel. > pseudo-device pty # Pseudo-ttys (telnet etc) > pseudo-device md # Memory "disks" > pseudo-device gif # IPv6 and IPv4 tunneling > pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) > > # The `bpf' pseudo-device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > pseudo-device bpf #Berkeley packet filter > > # EOF > ========== > > ========== dmesg: > Copyright (c) 1992-2002 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.5-RC #0: Mon Jan 21 20:52:33 CET 2002 > root@tensor.xs4all.nl:/usr/obj/usr/src/sys/TENSOR > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 150000567 Hz > CPU: Pentium/P54C (150.00-MHz 586-class CPU) > Origin = "GenuineIntel" Id = 0x52c Stepping = 12 > Features=0x1bf > real memory = 67108864 (65536K bytes) > avail memory = 62140416 (60684K bytes) > Preloaded elf kernel "kernel" at 0xc0324000. > Intel Pentium detected, installing workaround for F00F bug > md0: Malloc disk > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xf000-0xf00f 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 0x6100-0x617f mem > 0xe4000000-0xe400007f irq 11 at device 15.0 on pci0 xl0: Ethernet address: > 00:01:02:08:d3:92 > miibus0: on xl0 > xlphy0: <3Com internal media interface> on miibus0 > xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pci0: at 16.0 irq 10 > xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0x6200-0x627f mem > 0xe4001000-0xe400107f irq 9 at device 17.0 on pci0 xl1: Ethernet address: > 00:50:04:62:2a:d4 > miibus1: on xl1 > ukphy0: on miibus1 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > orm0: