ng_netflow problems on 5.x

fingers fingers at fingers.co.za
Mon Mar 1 11:25:55 PST 2004


hi there

i seem to be having an identical problem on 2 5.2.1-R boxes, and
ng_netflow (ng_netflow.c patched to 1.7, source taken from ports).

my previous (prior to patch) problem was a reboot after:

<config>
mkpeer fxp0: tee lower right
name fxp0:lower tee0
connect fxp0: tee0: upper left
</config>

i'm now able to:

<config>
mkpeer tee0: netflow right2left iface0
name tee0:right2left netflow0
connect tee0: netflow0: left2right iface1
msg netflow0: setifindex { iface=0 index=1 }
msg netflow0: setifindex { iface=1 index=2 }
mkpeer netflow0: ksocket export inet/dgram/udp
name netflow0:export nfexport
msg nfexport: connect inet/a.b.c.d:2255
</config>

<loaded klm's>
Id Refs Address    Size     Name
 1   18 0xc0400000 2dd1f4   kernel
 2    1 0xc06de000 6ea4     snd_emu10k1.ko
 3    2 0xc06e5000 1e58c    snd_pcm.ko
 4    1 0xc0704000 51ac8    acpi.ko
 5    1 0xc2a80000 6000     linprocfs.ko
 6    1 0xc2a86000 19000    linux.ko
 7    1 0xc2c38000 4000     ng_socket.ko
 8    5 0xc2c45000 12000    netgraph.ko
 9    1 0xc2c57000 3000     ng_tee.ko
10    1 0xc2c5a000 4000     ng_ether.ko
11    1 0xc2c5e000 5000     ng_ksocket.ko
12    1 0xc2c63000 4000     ng_netflow.ko
</loaded klm's>

<nodes>
There are 5 total nodes:
  Name: ngctl622        Type: socket          ID: 00000008   Num hooks: 0
  Name: nfexport        Type: ksocket         ID: 00000005   Num hooks: 1
  Name: netflow0        Type: netflow         ID: 00000004   Num hooks: 3
  Name: tee0            Type: tee             ID: 00000003   Num hooks: 4
  Name: fxp0            Type: ether           ID: 00000001   Num hooks: 2
</nodes>

what am I missing? none of my config gives me any error. tcpdump on that
port shows nothing.

Regards

--Rob


More information about the freebsd-isp mailing list