One time, at band camp, Darren Reed said:
>
> Which Linux ?
>
Debian 3.0 (stable). Vanilla 2.4.25 kernel with grsec patches. Going to
back the grsec patches out shortly just in case. See below.
> > Seems to block and pass and keep state! Things that got in the way of
> > getting it built-
> >
Actually, any kind of serious keep state work panics the host.
>
> fail or just emit warnings about things ?
>
Fail the first time, running over them again seems to be OK. This
behaviour seems familiar.
Some initial testing, with keep state rules disabled the filter
operates normally. Pulling a file across the LAN via scp is just as
fast with the filter running, but the host is loaded up more (~5% cpu
free, versus ~30% cpu free)- acceptable to me.
Running nmap against the host quickly panics the host, with-
---- snip ----
kernel BUG at slab.c:1130!
invalid operand: 0000
CPU: 0
EIP: 0010:[<c01d3a0e>] Tainted: P
EFLAGS: 00010202
eax: 00000000 ebx: cfead3b8 ecx: 000001f0 edx: fffffffe
esi: 000001f0 edi: cfead3b8 ebp: cfead3b8 esp: c0145be8
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, stackpage=c0145000)
Stack: cfead3b8 c0145d7f cfead42c cfead3b8 c01d3f7c c01d4036 cfead3b8 000001f0
00000090 c0145d7f d08bb71f 00000002 c0144000 00000246 d08b538c 00000090
000001f0 00000002 d08b5504 00000028 00000000 c0145cf0 c0145d80 cccc80f4
Call Trace: [<c01d3f7c>] [<c01d4036>] [<d08bb71f>] [<d08b538c>] [<d08b5504>]
[<d08a2fa3>] [<d08b52ad>] [<d08a41a7>] [<d08a4b3a>] [<d08a47fb>] [<c025f424>]
[<d08a2fa3>] [<c025b7e0>] [<c024e4fc>] [<c025b7e0>] [<c025b7e0>] [<c024e84f>]
[<c025b7e0>] [<d08b9780>] [<c025b666>] [<c025b7e0>] [<c024682e>] [<c02468d9>]
[<c0246a0e>] [<c01c04ad>] [<c01aa60d>] [<c01a6ff0>] [<c01a6ff0>] [<c01acbc8>]
[<c01a6ff0>] [<c01a6ff0>] [<c01a701c>] [<c01a7082>] [<c01a52a0>]
Code: 0f 0b 6a 04 80 c4 2b c0 c7 44 24 10 01 00 00 00 b8 03 00 00
<0>Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing
---- snip ----
Note that the above panic is the same as what is seen with keep state
in the rules. Seen that on your test system?
Cheers,
- John
--
John McInnes - Email: [EMAIL PROTECTED]
http://jcmc.info
----------------------------------------------------------------------
Senate, n.:
A body of elderly gentlemen charged with high duties and
misdemeanors.
-- Ambrose Bierce