aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
blob: a7af74d31a325f95c8b4df448aaaf51e7f4a6752 (plain) (blame)
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
28
29
30
31
32
Nwatch
======

Slightly friendlier version of the suggested script in the manual page for
[`ndiff(1)`](http://linux.die.net/man/1/ndiff) from the
[Nmap](http://nmap.org/) suite, implemented in Bash.

Usage:

    $ nwatch HOSTLIST CACHEDIR

Example with root privileges:

    # nwatch /etc/nwatch.mynet /var/cachedir/nwatch/mynet

Prints the results of the diff to stdout; intended to be called from cron(8):

    0 0 * * 0  nwatch /etc/nwatch.mynet /var/log/nwatch/mynet

I recommend you use [croncrypt](https://github.com/tejr/croncrypt), so you
don't leak your network information in plain text in your email.

License
-------

Copyright (c) [Tom Ryder](http://sanctum.geek.nz/). Distributed under
[GPLv2](https://www.gnu.org/licenses/gpl-2.0.html), same as Nmap itself; see
`LICENSE`.

Nmap is a registered trademark of Insecure.Com LLC, and this project is not
affiliated with it.