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

Re: NDPMon



On Mon, Oct 02, 2006 at 01:58:14PM +0200,
 Frederic Beck <frederic.beck@loria.fr> wrote 
 a message of 22 lines which said:

> This tool is distributed under the LGPL license and is available at the
> URL http://ndpmon.sf.net. Any feedback or comment is welcomed.

WARNING: BIG SECURITY PROBLEM.

The software sends an email to its author, with info on YOUR network!

Oct  2 14:11:28 batilda postfix/qmgr[2346]: 8512A16A951: from=<root@nic.fr>, size=412, nrcpt=1 (queue active)
Oct  2 14:11:28 batilda postfix/smtp[8705]: 8512A16A951: to=<frederic.beck@loria.fr>, relay=relay2.nic.fr[192.134.4.163]:25, delay=0.05, delays=0.04/0/0/0, dsn=2.0.0, status=sent (250 Ok: queued as 8EAA758ECFE)

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.

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)

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



Reply to: