Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 16:09:06 -0800
From:      "Patrick Soltani" <psoltani@ultradns.com>
To:        "Robert Watson" <rwatson@FreeBSD.ORG>, "Ian Dowse" <iedowse@maths.tcd.ie>
Cc:        "Luigi Rizzo" <luigi@FreeBSD.ORG>, "Alexander Langer" <alex@big.endian.de>, <freebsd-hackers@FreeBSD.ORG>
Subject:   RE: panic: icmp_error: bad length 
Message-ID:  <3DBB075EEB95944492E127F2B9A96FAF5DDDDC@ultra-exchange.ultradns.com>

next in thread | raw e-mail | index | archive | help
Hello All,

I wonder if any patch has been produced/committed for this problem?

Best Regards,
Patrick Soltani.

>-----Original Message-----
>From: Robert Watson [mailto:rwatson@FreeBSD.ORG]
>Sent: Wednesday, December 11, 2002 7:19 PM
>To: Ian Dowse
>Cc: Luigi Rizzo; Alexander Langer; Patrick Soltani;
>freebsd-hackers@FreeBSD.ORG
>Subject: Re: panic: icmp_error: bad length=20
>
>
>
>BTW, if this bug exists in 5.0 for the same reasons (or even different
>ones), we should try to generate a fix ASAP and get it committed.
>
>Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
>robert@fledge.watson.org      Network Associates Laboratories
>
>On Thu, 12 Dec 2002, Ian Dowse wrote:
>
>> In message <20021211170227.A79864@xorpc.icir.org>, Luigi=20
>Rizzo writes:
>> >the diagnosis looks reasonable, though i do not remember changing
>> >anything related to this between 4.6 and 4.7 so i wonder why the
>> >error did not appear in earlier versions of the code.
>>=20
>> Yes strange - actually, it looks like the "THERE IS NO FUNCTIONAL
>> OR EXTERNAL API CHANGE IN THIS COMMIT" commit may be to blame :-)
>> Some fragments below.
>>=20
>> Ian
>>=20
>> bridge.c 1.16.2.2:
>> +#ifdef PFIL_HOOKS
>> ...
>> -        * before calling the firewall, swap fields the same=20
>as IP does.
>> -        * here we assume the pkt is an IP one and the=20
>header is contiguous
>> ...
>> -       ip =3D mtod(m0, struct ip *);
>> -       NTOHS(ip->ip_len);
>> -       NTOHS(ip->ip_off);
>>=20
>> ip_fw.c 1.131.2.34:
>> -       if (0 && BRIDGED) { /* not yet... */
>> -           offset =3D (ntohs(ip->ip_off) & IP_OFFMASK);
>> +       if (BRIDGED) { /* bridged packets are as on the wire */
>> +           ip_off =3D ntohs(ip->ip_off);
>>             ip_len =3D ntohs(ip->ip_len);
>>  	} else {
>>=20
>>=20
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-hackers" in the body of the message
>>=20
>
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DBB075EEB95944492E127F2B9A96FAF5DDDDC>