Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2008 08:47:45 +0300
From:      Oleksandr Samoylyk <oleksandr@samoylyk.sumy.ua>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Problems with netgraph
Message-ID:  <48268881.4070504@samoylyk.sumy.ua>
In-Reply-To: <4825DA46.1090400@FreeBSD.org>
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> <4825D280.9080807@FreeBSD.org>	<4825D4EE.2060006@samoylyk.sumy.ua> <4825DA46.1090400@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Motin wrote:
> Oleksandr Samoylyk wrote:
>> Alexander Motin wrote:
>>> Oleksandr Samoylyk wrote:
>>>> 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.
>>>
>>> Have you updated your world also?
>>
>> No, just kernel. Should I?
> 
> In my experience it is sane to keep kernel and the world in sync. Even 
> if binary compatibility is declared inside the same branch, there could 
> be some minorities like this one. Also it may be hard for developers to 
> track all possible kernel/world combinations.
> 
>>> Mpd checks NG_PPTPGRE_HOOK_SESSION_F macro from 
>>> /usr/include/netgraph/ng_pptpgre.h at the build time to detect this 
>>> feature presence.
>>
>> # cat /usr/include/netgraph/ng_pptpgre.h | grep FreeBSD:
>>  * $FreeBSD: src/sys/netgraph/ng_pptpgre.h,v 1.9 2005/01/07 01:45:39 
>> imp Exp $
> 
> HEAD:
>  * $FreeBSD: src/sys/netgraph/ng_pptpgre.h,v 1.10 2008/03/24 22:55:22 
> mav Exp $
> RELENG_7:
>  * $FreeBSD: src/sys/netgraph/ng_pptpgre.h,v 1.9.10.1 2008/03/30 
> 08:01:26 mav Exp $
> RELENG_6:
>  * $FreeBSD: src/sys/netgraph/ng_pptpgre.h,v 1.9.2.1 2008/04/07 10:33:28 
> mav Exp $
> 

Thanks for the tip!

I got it working. Let's see if the load changes.

# cat /usr/include/netgraph/ng_pptpgre.h | grep FreeBSD:
  * $FreeBSD: src/sys/netgraph/ng_pptpgre.h,v 1.9.10.1 2008/03/30 
08:01:26 mav Exp $

# ngctl show mpd5909-L-1-lt:
   Name: mpd5909-L-1-lt  Type: tee             ID: 00000256   Num hooks: 2
   Local hook      Peer name       Peer type    Peer ID         Peer hook
   ----------      ---------       ---------    -------         ---------
   right           mpd5909-B-1     ppp          00000267        link0
   left            <unnamed>       pptpgre      00000258        session_6492

# grep "PPTP: can't connect to" mpd5
Binary file mpd5 matches

-- 
  Oleksandr Samoylyk
  OVS-RIPE



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