[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NDPMon



> WARNING: BIG SECURITY PROBLEM.
> 
> The software sends an email to its author, with info on YOUR network!

The destination email address is configured in the config
file /usr/local/ndpmon/config_ndpmon.xml

> Otherwise, some problems:
> 
> 1) The configure script does not test the presence of the libpcap
> library :-( On Debian, you have to install the package
> "libpcap0.8-dev". configure should test it.
> 
> Same problem for libxml2.

I realized that also this morning when installing on another computer.
I just took the lead of the tool's development, i'll try to fix that
and release a new version.

> 2) Once compiled, I cannot use the tool:
> 
> % ./ndpmon -d eth0
> ./ndpmon: invalid option -- d
> 
> But -d is in the usage message:
> 
> ~/tmp/ndpmon-0.1 % ./ndpmon -h
> ./ndpmon: invalid option -- h
> Usage: ndpmon [-d device] [-n number_of_packets] [-F filter_string]
> [-f configuration file]
>
> (It is probably -i)

yep that's it, as i was always using the /etc/init.d/ script, i did not
realise that. the Usage message is not up to date, i'll fix it.
 
> 3) On NetBSD, it does not compile (again, configured detected no
> problem):
> 
> preston:~/tmp/ndpmon-0.1 % make                 
> gcc -Wall -pedantic -O3 -c `xml2-config  --cflags` ndpmon.c -g
> In file included from /usr/include/netinet/if_ether.h:53,
>                  from ndpmon.h:40,
>                  from ndpmon.c:33:
> /usr/include/net/if_ether.h:149: error: field `ec_if' has incomplete
> type /usr/include/net/if_ether.h:150: error: parse error before
> "LIST_HEAD" /usr/include/net/if_ether.h:164: error: parse error
> before '}' token /usr/include/net/if_ether.h:192: error: parse error
> before "LIST_ENTRY" In file included
> from /usr/include/netinet/if_ether.h:60, from ndpmon.h:40,
>                  from ndpmon.c:33:
> /usr/include/netinet/if_inarp.h:38: error: parse error before
> "LIST_ENTRY" /usr/include/netinet/if_inarp.h:43: error: parse error
> before '}' token In file included from ndpmon.c:33:
> ndpmon.h:41:27: netinet/ether.h: No such file or directory
> ndpmon.h:44:26: net/ethernet.h: No such file or directory

I did not have th opportunity yet to verify compatibility with *BSD
systems, the development of this tool is a sidework, but it is in the
ToDo list.

Thanks a lot for these comments
Fred



Reply to: