> Hello,
>
> Recently IPfilter has been filling my SYSLOG file with the following messages:
>
> Mar 17 13:01:17 6A:vger unix: IPFilter: ipl_if_output: mbuf block too small
> (m_len=0) for IP vers+hlen, m_type=2 m_flags=0x41
Can you confirm that m_type=2 is "MT_HEADER" ?
And can you please tell me what m_flags 0x41 means ?
Look in /usr/include/sys/mbuf.h for the answers.
To turn off these messages, make sure you compile with IPFDEBUG either
undefined or set to 0.
Also, plesae try with the patch below.
Darren
Index: mli_ipl.c
===================================================================
RCS file: /devel/CVS/IP-Filter/mli_ipl.c,v
retrieving revision 2.20.2.2
diff -c -r2.20.2.2 mli_ipl.c
*** mli_ipl.c 13 Jul 2005 21:40:47 -0000 2.20.2.2
--- mli_ipl.c 20 Jul 2005 05:27:18 -0000
***************
*** 159,167 ****
switch(m->m_type)
{
- case MT_DATA:
- /* FALLTHROUGH */
case MT_HEADER:
if (!MBUF_IS_CLUSTER(m) &&
((m->m_off < MMINOFF) || (m->m_off > MMAXOFF))) {
#if (IPFDEBUG >= 4)
--- 159,172 ----
switch(m->m_type)
{
case MT_HEADER:
+ if (m->m_len == 0) {
+ if (m->m_next == NULL)
+ break;
+ m = m->m_next;
+ }
+ /* FALLTHROUGH */
+ case MT_DATA:
if (!MBUF_IS_CLUSTER(m) &&
((m->m_off < MMINOFF) || (m->m_off > MMAXOFF))) {
#if (IPFDEBUG >= 4)