From owner-freebsd-questions@FreeBSD.ORG Fri Mar 11 05:04:47 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4504616A4CE for ; Fri, 11 Mar 2005 05:04:47 +0000 (GMT) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB41C43D1F for ; Fri, 11 Mar 2005 05:04:46 +0000 (GMT) (envelope-from alcr@inbox.ru) Received: from [62.165.61.2] (port=6900 helo=alcr) by mx1.mail.ru with asmtp id 1D9cKL-00060n-00 for freebsd-questions@freebsd.org; Fri, 11 Mar 2005 08:04:45 +0300 Date: Fri, 11 Mar 2005 10:09:58 +0500 From: Alexandr Lookoshkoff X-Mailer: The Bat! (v2.10.03) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <113738314.20050311100958@inbox.ru> To: freebsd-questions@freebsd.org In-Reply-To: <1207702898.20050310222600@dsi.ru> References: <77285986.20050310172802@inbox.ru> <1207702898.20050310222600@dsi.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam: Not detected Subject: Re[2]: ng_netlow and mpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alexandr Lookoshkoff List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 05:04:47 -0000 Hello Dmitry, AL>> I have ip statistics collector based on ng_netflow. It was AL>> working on old server, but now (server was reinstalled due to HDD AL>> failure). But now it is working with ethernet interfaces and not AL>> working with pptp (mpd). All configs and kernel was restored from AL>> backup. Is there any ideas? DK> Yes, look if your server sends UDP packets to collector host (even it DK> is local host). If not, try to cvsup and reinstall net/ng_netflow DK> port. If yes, look where this packets are dropped. Yes, packets with statistics are sent. We have about 120 VLANs and 30 pptp interfaces. All vlan interfaces has his own ID and it is sent back clearly. But ng* (pptp interfaces) ignoring command 'setifindex'. Command ngctl msg : setifindex { iface=207 input=55 output=255 } are executed, but no statistics available. Same command to vlan interfaces also executed and then statistics is working fine. FYI, 'ngctl list' is not working (only first 4k of list available, then ngctl hangs). And 'ngctl show ng*:inet' shows me that node type is BPF, and vlan interfaces has node type TEE. What does it mean? =========== + show vlanXXX:upper Name: vlanXXX_tee Type: tee ID: 000000dc Num hooks: 4 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- left2right netflow_orbitel netflow 000000e0 iface1 right2left netflow_orbitel netflow 000000e0 iface0 left vlanXXX ether 00000003 upper right vlanXXX ether 00000003 lower + show ngX:inet Name: ngX_tee Type: bpf ID: 0000004d Num hooks: 5 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- left2right netflow_orbitel netflow 000000e0 iface204 right2left netflow_orbitel netflow 000000e0 iface203 mpd socket 0000004a demand iface ngX iface 0000004b inet ppp mpd3417-pptp1 ppp 0000004c inet =========== DK> В-общем, придётся поебаться :) Это я уже понял :( -- WBR Alexandr Lookoshkoff mailto:alcr@inbox.ru