From owner-freebsd-net@FreeBSD.ORG Sat May 10 16:51:20 2008 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 E1F3B1065673 for ; Sat, 10 May 2008 16:51:20 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2C68FC1A for ; Sat, 10 May 2008 16:51:19 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.11] (account mav@alkar.net HELO [192.168.11.2]) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPA id 123777185; Sat, 10 May 2008 19:51:19 +0300 Message-ID: <4825D280.9080807@FreeBSD.org> Date: Sat, 10 May 2008 19:51:12 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Oleksandr Samoylyk References: <48207C8B.4020509@samoylyk.sumy.ua> <48209BC4.5080602@elischer.org> <1210148584.00067004.1210135802@10.7.7.3> <1210155784.00067045.1210144801@10.7.7.3> <1210195392.00067265.1210183802@10.7.7.3> <1210195402.00067283.1210184402@10.7.7.3> <1210202586.00067324.1210189802@10.7.7.3> <1210202588.00067326.1210189802@10.7.7.3> <1210202593.00067329.1210190402@10.7.7.3> <1210209785.00067436.1210197002@10.7.7.3> <4825B177.7020503@FreeBSD.org> <4825B397.4060005@samoylyk.sumy.ua> <4825B75B.9050604@FreeBSD.org> <4825CDCA.5020607@samoylyk.sumy.ua> In-Reply-To: <4825CDCA.5020607@samoylyk.sumy.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Problems with netgraph 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: Sat, 10 May 2008 16:51:21 -0000 Oleksandr Samoylyk wrote: > # ngctl show mpd24375-L-237-lt: > Name: mpd24375-L-237-lt Type: tee ID: 0008e919 Num hooks: 2 > Local hook Peer name Peer type Peer ID Peer hook > ---------- --------- --------- ------- --------- > right mpd24375-B-607 ppp 0008e922 link0 > left pptpgre 0008e91b upper > > It's "upper". And I don't know why :( > The sources were updated before building new kernel on May, 5, 2008. > The mpd5 port was rebuilt and restarted just few hours ago. Here is mine: %ngctl show mpd95052-L2-4-lt: Name: mpd95052-L2-4-lt Type: tee ID: 000000eb Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- right mpd95052-B1-1 ppp 000000f0 link0 left pptpgre 000000ed session_b826 Have you updated your world also? Mpd checks NG_PPTPGRE_HOOK_SESSION_F macro from /usr/include/netgraph/ng_pptpgre.h at the build time to detect this feature presence. One more way to check this feature in mpd-5.1: Without this feature: # grep "PPTP: can't connect to" mpd5 # With this feature present: # grep "PPTP: can't connect to" mpd5 Binary file mpd5 matches # -- Alexander Motin