List Info

Thread: Re: Problems with netgraph




Re: Problems with netgraph
country flaguser name
Finland
2008-05-10 11:31:06
Alexander Motin wrote:
> 
> Try to rebuild mpd to be sure it uses this feature.
Also you can check 
> this by observing the name of any ng_pptpgre hook used.
If it is 
> "upper", then ng_pptpgre multiplexing is not
used and if it is 
> "session_hhhh" then OK.
> 

# 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            <unnamed>       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.

-- 
  Oleksandr Samoylyk
  OVS-RIPE
_______________________________________________
freebsd-netfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
"freebsd-net-unsubscribefreebsd.org"

Re: Problems with netgraph
country flaguser name
Ukraine
2008-05-10 11:51:12
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            <unnamed>       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            <unnamed>       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
_______________________________________________
freebsd-netfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
"freebsd-net-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )