Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 20:45:23 -0700 (PDT)
From:      tjohnson@csgrad.cs.vt.edu
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/18687: mrouted and IPDIVERT cause a panic
Message-ID:  <20000520034523.E451237B5D5@hub.freebsd.org>

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

>Number:         18687
>Category:       kern
>Synopsis:       mrouted and IPDIVERT cause a panic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 19 20:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Tommy Johnson
>Release:        FreeBSD 4.0
>Organization:
just me...
>Environment:
FreeBSD teryx.cuscus.com 4.0-RELEASE FreeBSD 4.0-RELEASE #6: Thu May 18 20:00:13 EDT 2000     protius@zarquon.cuscus.com:/usr/src/sys/compile/TERYX  i386

(SMP, dual pentium-100)
It was also duplicated on a FreeBSD 3.4 machine
>Description:
The system panics when mrouted is run when IPDIVERT is enabled.
This is for my gateway machine...
this is from FreeBSD 4.0,

Final words (retyped, from spectaculary bad handwriting...)

page fault in kernel mode
mp_lock=01000002 cpuid=1 lapicid=01000000
fault virtual addr=0x640232
fault code    supervisor read, page not present
IP     0x8:0xc01b0716
SP    0x10:0xff80ddb4
FP    0x10:0xff80ddbc
Code Segment  base 0x0, limit 0xfffff type 0x1b
              OPL 0, pres 1, def32 1 gran 1
eflags:     interupt enabled, resume, IOPL=0
process:   idle
interupt mask   =  <- SMP:XXX
kernel: type 12 trap,code =0
stopped at divert_packet_0x8a  movsml 0x22(%eax),%eax

trace back:
divert_packet
ip_output
tbf_send_packet      
tbf_control
encap_send
ip_mdq
X_ip_mforward
ip_input
ipintr
swi_net_next  
>How-To-Repeat:
Compile a kernel with:
options IPFIREWALL
options IPDIVERT
options IPFILTER
options MROUTING

Get NAT running.
Build yourself a tunnel to another computer.  Run a few copies of vic.
It should crash within a minute.

>Fix:


>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?20000520034523.E451237B5D5>