Menu

#3 Option -i not working

open
nobody
None
5
2013-03-20
2013-03-20
Anonymous
No

The -i option is not working (NDPMon 2.1.0 was built on Debian following http://ndpmon.sourceforge.net/index.php?n=Doc.Installation\).

Samples output:

# ndpmon -i eth1 <- eth1
----- Initialization -----
interface: eth1 <- eth1
Reading configuration file: "/usr/local/etc/ndpmon/config_ndpmon.xml" ...
[settings] NDPMon general settings: {
actions high priority {
syslog
no sendmail
no pipe program
}
actions low priority {
syslog
no sendmail
no pipe program
}
admin mail root@localhost
ignor autoconf
syslog facility LOG_LOCAL1
no use reverse hostlookups
}
[parser] Finished reading the configuration.
Reading neighbors file: "/var/local/lib/ndpmon/neighbor_list.xml" ...
[parser] Finished reading the neighbor cache.
fopen MANUF: No such file or directory
------------------

[capture_pcap] Listening on interface eth0. <- eth0

Interrupted ;)
Cleaning before exiting...
Send down event...
[parser] Writing cache...

# ndpmon -i eth1 -v <- eth1
----- Initialization -----
interface: eth1 <- eth1
NDPMon starts in DEBUG mode.
NDPMon was built on Mar 20 2013 at 09:19:09.

Reading configuration file: "/usr/local/etc/ndpmon/config_ndpmon.xml" ...
[settings] NDPMon general settings: {
actions high priority {
syslog
no sendmail
no pipe program
}
actions low priority {
syslog
no sendmail
no pipe program
}
admin mail root@localhost
ignor autoconf
syslog facility LOG_LOCAL1
no use reverse hostlookups
}
[parser] Finished reading the configuration.
Reading neighbors file: "/var/local/lib/ndpmon/neighbor_list.xml" ...
[parser] Finished reading the neighbor cache.
[probes] All probes:
---- State information for probe eth0 ----
Ethernet address: xx:xx:xx:xx:xx:xx
IPv6 address: fe80::xxxx:xxxx:xxxx:xxxx
[watchers] all registered watchers: {
watch_prepare_ethernet:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING ]
watch_prepare_inet6:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_IP6 ]
watch_prepare_icmp6:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_ICMP6 ]
watch_prepare_nd:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_eth_mismatch:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_eth_broadcast:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_ip_broadcast:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_bogon:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_hop_limit:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
new_station:
called only for ICMPv6 type: ND_ROUTER_SOLICIT
called only if isset: [CONTINUE_CHECKING IP6_SRC_SPECIFIED ]
watch_ra:
called only for ICMPv6 type: ND_ROUTER_ADVERT
called only if isset: [CONTINUE_CHECKING ]
new_station:
called only for ICMPv6 type: ND_ROUTER_ADVERT
called only if isset: [CONTINUE_CHECKING ]
new_station:
called only for ICMPv6 type: ND_NEIGHBOR_SOLICIT
called only if isset: [CONTINUE_CHECKING IP6_SRC_SPECIFIED ]
watch_dad:
called only for ICMPv6 type: ND_NEIGHBOR_SOLICIT
called only if isset: [CONTINUE_CHECKING ]
watch_dad_dos:
called only for ICMPv6 type: ND_NEIGHBOR_ADVERT
called only if isset: [CONTINUE_CHECKING ]
watch_na_target:
called only for ICMPv6 type: ND_NEIGHBOR_ADVERT
called only if isset: [CONTINUE_CHECKING ]
new_station:
called only for ICMPv6 type: ND_NEIGHBOR_ADVERT
called only if isset: [CONTINUE_CHECKING ]
watch_R_flag:
called only for ICMPv6 type: ND_NEIGHBOR_ADVERT
called only if isset: [CONTINUE_CHECKING ]
watch_rd_src:
called only for ICMPv6 type: ND_REDIRECT
called only if isset: [CONTINUE_CHECKING ]
watch_ndpmon_present:
called only for ICMPv6 type: 200
called only if isset: [CONTINUE_CHECKING IS_NDP ]
}
[watchers] all registered watchers: {
watch_prepare_ethernet:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING ]
watch_prepare_inet6:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_IP6 ]
watch_prepare_icmp6:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_ICMP6 ]
watch_prepare_nd:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_eth_mismatch:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_eth_broadcast:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_ip_broadcast:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_bogon:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
watch_hop_limit:
no ICMPv6 type specified.
called only if isset: [CONTINUE_CHECKING IS_NDP ]
new_station:
called only for ICMPv6 type: ND_ROUTER_SOLICIT
called only if isset: [CONTINUE_CHECKING IP6_SRC_SPECIFIED ]
watch_ra:
called only for ICMPv6 type: ND_ROUTER_ADVERT
called only if isset: [CONTINUE_CHECKING ]
new_station:
called only for ICMPv6 type: ND_ROUTER_ADVERT
called only if isset: [CONTINUE_CHECKING ]
new_station:
called only for ICMPv6 type: ND_NEIGHBOR_SOLICIT
called only if isset: [CONTINUE_CHECKING IP6_SRC_SPECIFIED ]
watch_dad:
called only for ICMPv6 type: ND_NEIGHBOR_SOLICIT
called only if isset: [CONTINUE_CHECKING ]
watch_dad_dos:
called only for ICMPv6 type: ND_NEIGHBOR_ADVERT
called only if isset: [CONTINUE_CHECKING ]
watch_na_target:
called only for ICMPv6 type: ND_NEIGHBOR_ADVERT
called only if isset: [CONTINUE_CHECKING ]
new_station:
called only for ICMPv6 type: ND_NEIGHBOR_ADVERT
called only if isset: [CONTINUE_CHECKING ]
watch_R_flag:
called only for ICMPv6 type: ND_NEIGHBOR_ADVERT
called only if isset: [CONTINUE_CHECKING ]
watch_rd_src:
called only for ICMPv6 type: ND_REDIRECT
called only if isset: [CONTINUE_CHECKING ]
watch_ndpmon_present:
called only for ICMPv6 type: 200
called only if isset: [CONTINUE_CHECKING IS_NDP ]
}
[main] thread event_queue started.
fopen MANUF: No such file or directory
------------------

[capture-pcap] Initializing interface "eth0" { <- eth0
Net: xxx.xxx.xxx.xxx
Mask: xxx.xxx.xxx.xxx
}
[events] waiting for events...
[capture_pcap] joining capturing thread..
[events] woke up, serving queue...
[events] calling handlers std_pipe_program
[events] calling handlers std_sendmail
[events] calling handlers std_syslog
[events] calling handlers std_xml_append
[events] calling handlers std_save_cache
[events] calling handlers webinterface
[events] waiting for events...
[capture_pcap] Listening on interface eth0. <- eth0

Interrupted ;)
Cleaning before exiting...
[capture_pcap] Stop listening on interface eth0...
pcap cleanup.
handle cleanup.
Stopped interface eth0.
Send down event...
[events] woke up, serving queue...
[events] calling handlers std_pipe_program
[events] calling handlers std_sendmail
[events] calling handlers std_syslog
Waiting for event queue to finish...
[events] calling handlers std_xml_append
[events] calling handlers std_save_cache
[events] calling handlers webinterface
[events] woke up, serving queue...
[parser] Writing cache...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB