From owner-freebsd-stable@freebsd.org Thu Oct 26 16:01:32 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87BECE4D1BF for ; Thu, 26 Oct 2017 16:01:32 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 083A883253 for ; Thu, 26 Oct 2017 16:01:31 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v9QG1Nas032505 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Oct 2017 18:01:24 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: mike@sentex.net Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v9QG1K1F006176 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 26 Oct 2017 23:01:20 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: ppp routing bug ? To: Mike Tancsa , FreeBSD-STABLE Mailing List References: <59F1B650.5070107@grosbein.net> <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> <59F1EA48.1090500@grosbein.net> From: Eugene Grosbein Message-ID: <59F206CB.5000006@grosbein.net> Date: Thu, 26 Oct 2017 23:01:15 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 16:01:32 -0000 26.10.2017 21:25, Mike Tancsa wrote: > On 10/26/2017 9:59 AM, Eugene Grosbein wrote: >> On 26.10.2017 20:45, Mike Tancsa wrote: >> >>> vs >>> >>> got message of size 124 on Thu Oct 26 09:37:40 2017 >>> RTM_ADD: Add Route: len 124, pid: 24236, seq 1, errno 0, >>> flags: >>> locks: inits: >>> sockaddrs: >>> 192.168.136.1 64.7.128.7 >>> >>> got message of size 196 on Thu Oct 26 09:37:40 2017 >>> RTM_CHANGE: Change Metrics or flags: len 196, pid: 23810, seq 11, errno >>> 0, flags: >>> locks: inits: >>> sockaddrs: >>> 192.168.136.1 64.7.128.7 tun0 98.159.244.185 >> >> Why different PIDs? pid: 24236 vs. pid: 23810 > > Not sure. Does ppp spawn off another process to do routing changes ? I would re-run ppp under ktrace to make sure while having "route monitor" running around. Then compare pids with kdump output. > I diffed the source to ppp from 10 vs 11 and nothing has really changed. > Perhaps routing API changes that ppp was relying on ? It seems so.