Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 1997 10:02:46 -0000
From:      "Brian Somers" <brian@utell.co.uk>
To:        <fyeung@fyeung8.netific.com>
Cc:        <hackers@freebsd.org>
Subject:   Re: PR2347 - recursive malloc() in ppp
Message-ID:  <199701301007.KAA29835@ui-gate.utell.co.uk>

next in thread | raw e-mail | index | archive | help
> Brian,
> 
> 	I didn't mean to jump into the middle of your mail conversion
> related to this recursive malloc. Forgive me if I do cause 
> any problems here.
> 
> 	I modified the original 2.0.5 code for a local ISP who
> used FreeBSD as their main engines and made it work reliably. 
> . But after the ISP upgraded the code to 2.1.5 and I still noticed
> that there are a few problems that were not fixed properly. One of
> the problems that I noticed was relatively new to the ppp code.
> 
> 	Sometimes when the line is dropped, ppp just locks up
> and the tail -f /var/log/ppp.log stops to show any more traces.
> netstat -m shows that the mbuf usage is relatively reasonable.
> There is no way that I can get out of it. I put a data scope on
> the line and noticed that ppp did not respond to any ppp command
> from the peer side. This system is fully loaded with ip-filter running
> NAT and RDR, caching proxy, sockd, netcat, etc. We have ruled out
> everything except ppp because when we changed to sppp, the problem 
> went away. The only way to get out of it is to kill -9. It works
> fine after it is restarted it again.
> 
> 	Allow me to ask you if your patch related to the problem 
> mentioned above. If it does, would you please send me the patch
> .
> 
> 	Many thanks.
> 
> 	Fran

I'm not sure what your problem might have been, but lots of changes have
been done to ppp since then.  You can pick up the current sources from
ftp://ftp.freebsd.org:/pub/FreeBSD/FreeBSD-current/src/usr.sbin/ppp if you
want to have a look at the "current" version, but I don't think it'll
compile
on 2.1*.  If you're interested in *just* the patches, have a look on
http://www.freebsd.org/~brian.
--
Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org> <brian@utell.co.uk>
      <http://www.awfulhak.demon.co.uk>;
Don't _EVER_ lose your sense of humour



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