kern/121955: [ipfw] [panic] freebsd 7.0 panic with mpd

AT Matik asstec at matik.com.br
Mon Mar 24 07:22:13 PDT 2008


On Monday 24 March 2008 08:08:02 Andrey V. Elsukov wrote:
> AT Matik wrote:
> > what do you mean? By setting to 0 the packages are not re-injected into
> > the pipe but go through other existing rules after the matching pipe, or
> > not?
>
> When you reset net.inet.ip.fw.one_pass to zero, packets return back
> into ipfw to the next rule after dummynet/netgraph. And if you have
> similar rules packets will be passed into dummynet/netgraph again.
>
> This is example how to get double fault (from mail archive):
>

jaaa well but that is the famous bw 0 example which is not valid, as by itself 
certainly an invalid config, not connected to the existing problem the 
reporter has I guess

João



> ifconfig em0 192.168.0.2/24
> kldload ipfw
> kldload dummynet
> sysctl net.inet.ip.fw.one_pass=0
> ipfw pipe 2 config bw 0
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ipfw add 2 pipe 2 ip from any to any
> ping 192.168.0.1

-- 

Atenciosamente, J.M.
Responsável Plantão Site Support Matik
Infomatik Internet Technology
(18)3551.8155  (18)8112.7007
http://info.matik.com.br







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br


More information about the freebsd-ipfw mailing list