Gentoo Archives: gentoo-user

From: Caveman Al Toraboran <toraboracaveman@××××××××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] arpwatch changed syntax?
Date: Wed, 01 Jul 2020 16:38:59
Message-Id: HRJY_qceNCSwljShQEe8AqdgYASvZ05dTroC8TpZ9MdyhFdcMVFCiZr2C9VQfDveEm5YCyYhsRn4UwSyMRmPhI-5Y8q04lO9utuV1lCnJaw=@protonmail.com
1 hi.
2
3
4 background:
5 -----------
6
7 previously, i used to run it by this:
8
9 > arpwatch -i enp7s0 -m caveman@××××××.com -s /usr/sbin/sendmail
10
11 but now, after some update, apparently this
12 doesn't work any more.
13
14 what seems to have changed is:
15
16 * "-m" is replaced by "-w" or "-W".
17 * "-s" doesn't specify sendmail path, but is
18 rather only a flag to suppress "reports sent
19 by email".
20
21 if i update the command into:
22
23 > arpwatch -i enp7s0 -w caveman@××××××.com
24
25 then, it runs normally, but, it fails to send
26 emails, with this error:
27
28 > execl: sendmail: No such file or directory
29
30 `whereis sendmail`:
31
32 > sendmail: /usr/sbin/sendmail /usr/lib/sendmail /usr/lib64/sendmail /usr/share/man/man1/sendmail.1.bz2
33
34
35 questions:
36 ----------
37
38 Q1: what happened that caused this syntax change?
39 e.g. is it an update from upstream? or is it
40 a totally new app written by other devs? or
41 am i hallucinating (pretty sure it used to
42 work tho)?
43
44 Q2: is there any better tool to monitor arps and
45 to email me when interesting things happen?
46
47 thanks a lot for your time.
48
49 rgrds,
50 cm.

Replies

Subject Author
Re: [gentoo-user] arpwatch changed syntax? "David M. Fellows" <dmf@××××××××××××××.ca>