[netflow-tools] Problem with flowd
Damien Miller
djm at mindrot.org
Wed Mar 1 20:12:40 EST 2006
On Wed, 1 Mar 2006, Tay Chee Yong wrote:
> Hi,
>
> I am trying to export v9 BGP next-hop flow-aggregate to the flowd collector,
> and it gave me the following output when i run flowd -d
>
> # /usr/local/sbin/flowd -d
> read_config: entering
> child_get_config: entering
> drop_privs: dropping privs without chroot
> send_config: entering fd = 5
> send_config: done
> child_get_config: child config done
> recv_config: entering fd = 6
> recv_config: ready to receive config
> Listener for [127.0.0.1]:8888 fd = 4
> privsep_init: entering
> drop_privs: dropping privs with chroot
> init_pfd: entering (num_fds = 0)
> init_pfd: done (num_fds = 2)
> client_open_log: entering
> answer_open_log: entering
> Continuing with existing logfile len 16
> ^Cflowd_mainloop: monitor closed
> privsep_master: child exited
This shows a successful startup of flowd, followed by it being manually
stopped with ctrl-C. What is your exact problem?
> My config file is :
>
> logfile "/var/log/flowd"
> listen on 127.0.0.1:8888
> flow source <loopback of the router>
> store ALL
> discard all
>
> Can someone advice if there is any problems with my config file?
It looks OK, except that you will never receive flows except from
the localhost. Try "listen on 0.0.0.0:8888"
-d
More information about the netflow-tools
mailing list