From owner-freebsd-net@FreeBSD.ORG Tue Dec 27 05:25:04 2011 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEFCE1065673 for ; Tue, 27 Dec 2011 05:25:04 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2A02E8FC0A for ; Tue, 27 Dec 2011 05:25:03 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id pBR5P2si025293; Tue, 27 Dec 2011 09:25:02 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id pBR5P2Uk025292; Tue, 27 Dec 2011 09:25:02 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 27 Dec 2011 09:25:02 +0400 From: Gleb Smirnoff To: Sami Halabi Message-ID: <20111227052502.GL8035@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@FreeBSD.org Subject: Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 05:25:04 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=koi8-r Content-Disposition: inline On Thu, Dec 15, 2011 at 09:51:09PM +0200, Sami Halabi wrote: S> I've searched the net andfound basicly 2 threads talking about the message: S> S> ng_mppc_decompress: too many (4094) packets dropped, disabling node The 4094 value both in your report and in the old PR look suspicious. Can you please try the attached patch and report which values are logged now. -- Totus tuus, Glebius. --bp/iNruPH9dso1Pn Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="ng_mppc.c.diff" Index: ng_mppc.c =================================================================== --- ng_mppc.c (revision 228838) +++ ng_mppc.c (working copy) @@ -647,9 +647,9 @@ rekey = ((d->cfg.bits & MPPE_STATELESS) != 0) ? numLost : (numLost / (MPPE_UPDATE_MASK + 1)); if (rekey > MPPE_MAX_REKEY) { - log(LOG_ERR, "%s: too many (%d) packets" + log(LOG_ERR, "%s: too many (%u %u) packets" " dropped, disabling node %p!", - __func__, numLost, node); + __func__, cc, d->cc, node); priv->recv.cfg.enable = 0; goto failed; } --bp/iNruPH9dso1Pn--