From owner-freebsd-hackers Thu Jan 30 02:07:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA02207 for hackers-outgoing; Thu, 30 Jan 1997 02:07:49 -0800 (PST) Received: from ui-gate.utell.co.uk (ui-gate.utell.co.uk [194.200.4.253]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA02202 for ; Thu, 30 Jan 1997 02:07:40 -0800 (PST) Received: from dibble.utell.net (dibble.utell.net [97.3.0.10]) by ui-gate.utell.co.uk (8.7.6/8.7.3) with ESMTP id KAA29835; Thu, 30 Jan 1997 10:07:30 GMT Message-Id: <199701301007.KAA29835@ui-gate.utell.co.uk> From: "Brian Somers" To: Cc: Subject: Re: PR2347 - recursive malloc() in ppp Date: Thu, 30 Jan 1997 10:02:46 -0000 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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 Don't _EVER_ lose your sense of humour