-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathINSTALL
57 lines (38 loc) · 1.56 KB
/
INSTALL
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
IPwatchD requirements
---------------------
To build IPwatchD from source code you will need gcc, libpcap
and libnet1 installed in your system.
On Ubuntu 18.04 it should be sufficient to install following packages:
- build-essential - C compiler and other development tools
- libpcap-dev - Network packet capture library
- libnet1-dev - Network packet construction library
Building IPwatchD
-----------------
Download IPwatchD source from sourceforge project page.
Extract code and build it:
$ gunzip ipwatchd-x.x.tar.gz
$ tar -xf ipwatchd-x.x.tar
$ cd ipwatchd-x.x/src
$ make
You can install IPwatchD as root with command:
# make install
You can uninstall IPwatchD as root with command:
# make uninstall
What gets installed
-------------------
/etc/ipwatchd.conf - daemon configuration file
/lib/systemd/system/ipwatchd.service - systemd service configuration
/usr/sbin/ipwatchd - daemon executable
/usr/sbin/ipwatchd-script - user-defined script
/usr/share/man/man8/ipwatchd.8.gz - manual page
/usr/share/man/man5/ipwatchd.conf.5.gz - manual page
/usr/share/man/man1/ipwatchd-script.1.gz - manual page
IPwatchD configuration
----------------------
Edit configuration file "/etc/ipwatchd.conf" with your
favorite text editor to suite your needs.
You can run IPwatchD as systemd managed service:
# systemctl start ipwatchd
Or you can run it directly with following command:
# /usr/sbin/ipwatchd -c /etc/ipwatchd.conf
For more information please read "ipwatchd" manual page.