Professional Web Applications Themes

ng_netlow and mpd - FreeBSD

Hello Freebsd-questions, I have ip statistics collector based on ng_netflow. It was working on old server, but now (server was reinstalled due to HDD failure). But now it is working with ethernet interfaces and not working with pptp (mpd). All configs and kernel was restored from backup. Is there any ideas? -- Best regards, Alexandr mailto:ru...

  1. #1

    Default ng_netlow and mpd

    Hello Freebsd-questions,

    I have ip statistics collector based on ng_netflow.
    It was working on old server, but now (server was reinstalled due to
    HDD failure).

    But now it is working with ethernet interfaces and not working with
    pptp (mpd).

    All configs and kernel was restored from backup.

    Is there any ideas?

    --
    Best regards,
    Alexandr mailto:ru

    Alexandr Guest

  2. #2

    Default Re: ng_netlow and mpd

    Здравствуйте, Alexandr.

    AL> Hello Freebsd-questions,

    AL> I have ip statistics collector based on ng_netflow.
    AL> It was working on old server, but now (server was reinstalled due to
    AL> HDD failure).
    AL> But now it is working with ethernet interfaces and not working with
    AL> pptp (mpd).
    AL> All configs and kernel was restored from backup.
    AL> Is there any ideas?

    Yes, look if your server sends UDP packets to collector host (even it
    is local host). If not, try to cvsup and reinstall net/ng_netflow
    port. If yes, look where this packets are dropped.

    В-общем, придётся поебаться :)


    Dmitry Guest

  3. #3

    Default Re[2]: ng_netlow and mpd

    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 <node>: 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 vlan:upper
    Name: vlan_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 vlan ether 00000003 upper
    right vlan 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 <unnamed> socket 0000004a demand
    iface ngX iface 0000004b inet
    ppp mpd3417-pptp1 ppp 0000004c inet
    ===========

    DK> В-общем, придётся поебаться :)
    Это я уже понял :(

    --
    WBR
    Alexandr Lookoshkoff mailto:ru

    Alexandr Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139