Gentoo Archives: gentoo-user

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