NetBSD Problem Report #17191

Received: (qmail 13396 invoked by uid 605); 8 Jun 2002 02:37:02 -0000
Message-Id: <200206080237.g582b1o12613@erectile-dysfunction.redback.com>
Date: Fri, 7 Jun 2002 19:37:01 -0700 (PDT)
From: dogcow@redback.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: dogcow@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: unconfigured gif tunnel gives weird llinfo message
X-Send-Pr-Version: 3.95

>Number:         17191
>Category:       kern
>Synopsis:       unconfigured gif tunnel gives weird llinfo message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 08 02:38:01 +0000 2002
>Closed-Date:    
>Last-Modified:  Sun Jan 05 21:09:58 +0000 2003
>Originator:     Tom Spindler
>Release:        NetBSD 1.6_BETA1
>Organization:

>Environment:


System: NetBSD erectile-dysfunction 1.6_BETA1 NetBSD 1.6_BETA1 (DYS) #8: Wed May 22 18:18:12 PDT 2002 notroot@erectile-dysfunction:/netbsd15/nbsrc-current/sys/arch/i386/compile/DYS i386
Architecture: i386
Machine: i386
>Description:
I had previously set up two boxes to do gif tunnels between each
other; on the replacement 1.6_BETA box which has gif in the kernel
but has no gif tunnels configured, syslog gives the following message
when the other box tries to send gif tunnel traffic:

Jun  7 19:02:09 emmb /netbsd: arpresolve: can't allocate llinfo on fxp0 for 10.22.0.126
(10.22.0.126 was the other end of the [now unconfigured] gif tunnel)

It's arguably wrong or misleading to give that message if the tunnel is
not up and configured; it's actually kind of worrisome that some malicious
host might spew gif packets at me and the box wouldn't just blow them off
(and would pollute its own arp cache or the like.)

That said, this is an extremely low priority, if it's a bug at all.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: itojun@iijlab.net
To: dogcow@redback.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/17191: unconfigured gif tunnel gives weird llinfo message 
Date: Sat, 08 Jun 2002 13:30:19 +0900

 >>Synopsis:       unconfigured gif tunnel gives weird llinfo message

 	please provide complete configuration for the both ends, so that i 
 	could emulate your setup.

 itojun

From: Tom Spindler <dogcow@babymeat.com>
To: itojun@iijlab.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/17191: unconfigured gif tunnel gives weird llinfo message
Date: Sat, 8 Jun 2002 02:28:40 -0700

 On Sat, Jun 08, 2002 at 01:30:19PM +0900, itojun@iijlab.net wrote:
 > >>Synopsis:       unconfigured gif tunnel gives weird llinfo message
 > 
 > 	please provide complete configuration for the both ends, so that i 
 > 	could emulate your setup.

 the non-1.6 gif-configured box (not the one with the message):

 NetBSD mmb-training 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (EMMB) #5: Thu Mar  8 18:05:15 PST 2001     notroot@zuul.redback.com:/amd/netapp6/netbsd15/nbsrc/sys/arch/i386/compile/EMMB i386

 (I can provide a copy of the kernel and source if need be.)

 Destination        Gateway            Flags     Refs     Use    Mtu  Interface
 default            10.22.0.125        UGS         1 10030247   1280  gif0
 10.22/16           10.22.0.253        UGS         1 94996509   1500  fxp1
 10.22.0.125        10.22.0.126        UH          2       27   1280  gif0
 155.53/23          10.22.0.125        UGS         1  4224099   1280  gif0 =>

 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         address: 00:10:dc:45:53:cc
         media: Ethernet autoselect (100baseTX full-duplex)
         status: active
         inet 155.53.20.3 netmask 0xfffffe00 broadcast 155.53.21.255
 gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
         tunnel inet 155.53.20.3 --> 155.53.2.252
         inet 10.22.0.126 -> 10.22.0.125 netmask 0xffffff80

 the 1.6 box (that gets the llinfo message):

 NetBSD emmb 1.6_BETA1 NetBSD 1.6_BETA1 (EMMB) #0: Thu Jun  6 16:11:23 PDT 2002     notroot@erectile-dysfunction:/netbsd15/nbsrc16/sys/arch/i386/compile/EMMB i386

 p1 root@emmb: ~ 29 % ifconfig -a
 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         address: 00:10:dc:17:57:02
         media: Ethernet 100baseTX full-duplex
         status: active
         inet 155.53.2.252 netmask 0xffffff00 broadcast 155.53.2.255
 fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         address: 00:d0:b7:bd:8d:8a
         media: Ethernet 100baseTX full-duplex
         status: active
         inet 155.53.1.254 netmask 0xfffffe00 broadcast 155.53.1.255
 lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
         inet 127.0.0.1 netmask 0xff000000

 (it has gif compiled into the kernel, but has no gif devices created.)

 Here's the (comment-removed) configuration for the 1.6 box:

 include         "arch/i386/conf/std.i386"
 options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 maxusers        32              # estimated number of users
 options         I586_CPU
 options         I686_CPU
 options         DUMMY_NOPS
 options         MTRR            # memory-type range register syscall support
 options         UCONSOLE        # users can use TIOCCONS (for xconsole)
 options         INSECURE        # disable kernel security levels
 options         RTC_OFFSET=0    # hardware clock is this many mins. west of GMT
 options         NTP             # NTP phase/frequency locked loop
 options         KTRACE          # system call tracing via ktrace(1)
 options         DDB             # in-kernel debugger
 options         DDB_HISTORY_SIZE=512    # enable history editing in DDB
 makeoptions     DEBUG="-g"      # compile full symbol table
 file-system     FFS             # UFS
 file-system     MFS             # memory file system
 file-system     CD9660          # ISO 9660 + Rock Ridge file system
 file-system     MSDOSFS         # MS-DOS file system
 file-system     FDESC           # /dev/fd
 file-system     KERNFS          # /kern
 file-system     NULLFS          # loopback file system
 options         GATEWAY         # packet forwarding
 options         INET            # IP + ICMP + TCP + UDP
 options         PFIL_HOOKS      # pfil(9) packet filter hooks
 options         IPFILTER_LOG    # ipmon(8) log support
 options         MIIVERBOSE      # verbose PHY autoconfig messages
 options         PCIVERBOSE      # verbose PCI device autoconfig messages
 options         WSEMUL_VT100            # VT100 / VT220 emulation
 options         WS_KERNEL_FG=WSCOL_GREEN
 options         WSDISPLAY_COMPAT_PCVT           # emulate some ioctls
 options         WSDISPLAY_COMPAT_SYSCONS        # emulate some ioctls
 options         WSDISPLAY_COMPAT_USL            # VT handling
 options         WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
 options         PCDISPLAY_SOFTCURSOR
 config          netbsd  root on ? type ?
 mainbus0 at root
 pci*    at mainbus? bus ?
 pci*    at pchb? bus ?
 pci*    at ppb? bus ?
 pchb*   at pci? dev ? function ?        # PCI-Host bridges
 pcib*   at pci? dev ? function ?        # PCI-ISA bridges
 ppb*    at pci? dev ? function ?        # PCI-PCI bridges
 isa0    at pcib?
 npx0    at isa? port 0xf0 irq 13        # x86 math coprocessor
 pckbc0          at isa?                 # pc keyboard controller
 pckbd*          at pckbc?               # PC keyboard
 pms*            at pckbc?               # PS/2 mouse for wsmouse
 vga0            at isa?
 vga*            at pci? dev ? function ?
 pcdisplay0      at isa?                 # CGA, MDA, EGA, HGA
 wsdisplay*      at vga? console ?
 wsdisplay*      at pcdisplay? console ?
 wskbd*          at pckbd? console ?
 wsmouse*        at pms? mux 0
 pcppi0          at isa?
 sysbeep0        at pcppi?
 com0    at isa? port 0x3f8 irq 4        # Standard PC serial ports
 com1    at isa? port 0x2f8 irq 3
 com2    at isa? port 0x3e8 irq 5
 lpt0    at isa? port 0x378 irq 7        # standard PC parallel ports
 lpt1    at isa? port 0x278
 lpt2    at isa? port 0x3bc
 pciide* at pci? dev ? function ? flags 0x0000
 wd*     at pciide? channel ? drive ? flags 0x0000
 atapibus* at pciide? channel ?
 cd*     at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
 sd*     at atapibus? drive ? flags 0x0000       # ATAPI disk drives
 st*     at atapibus? drive ? flags 0x0000       # ATAPI tape drives
 uk*     at atapibus? drive ? flags 0x0000       # ATAPI unknown
 fdc0    at isa? port 0x3f0 irq 6 drq 2  # standard PC floppy controllers
 fd*     at fdc? drive ?                 # the drives themselves
 ex*     at pci? dev ? function ?        # 3Com 90x[BC]
 fxp*    at pci? dev ? function ?        # Intel EtherExpress PRO 10+/100B
 exphy*  at mii? phy ?                   # 3Com internal PHYs
 inphy*  at mii? phy ?                   # Intel 82555 PHYs
 iophy*  at mii? phy ?                   # Intel 82553 PHYs
 ukphy*  at mii? phy ?                   # generic unknown PHYs
 lms0    at isa? port 0x23c irq 5        # Logitech bus mouse
 lms1    at isa? port 0x238 irq 5
 mms0    at isa? port 0x23c irq 5        # Microsoft InPort mouse
 mms1    at isa? port 0x238 irq 5
 wsmouse*        at lms? mux 0
 wsmouse*        at mms? mux 0
 weasel* at pci?
 include "arch/i386/conf/GENERIC.local"
 pseudo-device   md              1       # memory disk device (ramdisk)
 pseudo-device   vnd             4       # disk-like interface to files
 pseudo-device   bpfilter        8       # Berkeley packet filter
 pseudo-device   ipfilter                # IP filter (firewall) and NAT
 pseudo-device   loop                    # network loopback
 pseudo-device   gif             4       # IPv[46] over IPv[46] tunnel (RFC1933)
 pseudo-device   pty                     # pseudo-terminals
 pseudo-device   rnd                     # /dev/random and in-kernel generator
 pseudo-device   wsmux                   # mouse & keyboard multiplexor
 pseudo-device   wsfont

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.