On Thu, 8 Jan 2004 09:49:05 +0100 (CET) Frank Volf wrote:
> 
> Please try the patch in the mail below.
> 
> 
> Frank Volf wrote:
> > 
> > Darren,
> > 
> > I have got two reports related to return-icmp crashing a FreeBSD machine. In
> > both cases a recent IP Filter version (3.4.32 and higher) has been used. It
> > appears that triggering:
> > 
> >     block return-icmp in quick on xl1 from any to 1.2.3.4
> > 
> > should be sufficient to crash it.
> > 
> > I haven't had to investigate, but of course I will find the time. But before
> > I do that, I was wondering if you already have investigated and/or fixed this 
> > issue?
> 
> Darren,
> 
> The crash was due to a freeing of an already freed mbuf. I think I have
> solved it, with the patch below (fix in send_ip). There were also some
> issues with host and byte order problems in the icmp packet that was
> returned these are solved as well.
> 
> Please carefully check my patch, because I'm not an mbuf expert, so maybe I
> have done something wrong in the house keeping.
> 

This patch appears to have solved the issue for me! Thanks Frank.

Tris

Reply via email to