/usr/lib/ndpmon/plugins/countermeasures/icmp_lib.dox is in ndpmon 1.4.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /* This file contains additional documentation to be processed by doxygen.*/
/**@page icmp_lib icmp_lib
The icmp_lib provides the means to create and send ICMP Neighbor Discovery packets.
Note that it uses the data structures of netinet/ip6.h and netinet/icmp6.h to improve readability
of source code using the lib.
At the moment, no IP extension headers are supported, but this is not necessary for ND packets
(since no routing is performed).
@section Examples
These examples may be used to test NDPMon reactions to attacks. Currently only one example is implemented.
@subsection example_fake_router
This tool fakes a Router Advertisement according to its parameters and sends it once to the specified interface.
The program is called using:
@code
example_fake_router interface routerip routermac curhoplimit router_lifetime prefix prefixlength
@endcode
*/
|