public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David M. Fellows" <dmf@fellowsandcarr.ca>
To: gentoo-user@lists.gentoo.org,
	Caveman Al Toraboran <toraboracaveman@protonmail.com>
Subject: Re: [gentoo-user] arpwatch changed syntax?
Date: Wed, 01 Jul 2020 20:17:05 -0300	[thread overview]
Message-ID: <23540.1593645425@owl.pooh.corner> (raw)
In-Reply-To: <HRJY_qceNCSwljShQEe8AqdgYASvZ05dTroC8TpZ9MdyhFdcMVFCiZr2C9VQfDveEm5YCyYhsRn4UwSyMRmPhI-5Y8q04lO9utuV1lCnJaw=@protonmail.com>

>hi.
>
>
>background: -----------
>
>previously, i used to run it by this:
>
>    > arpwatch -i enp7s0 -m caveman@domain.com -s /usr/sbin/sendmail
>
>but now, after some update, apparently this doesn't work any more.
>
>what seems to have changed is:
>
>    * "-m" is replaced by "-w" or "-W". * "-s" doesn't specify sendmail
>    path, but is rather only a flag to suppress "reports sent by email".
>
>if i update the command into:
>
>    > arpwatch -i enp7s0 -w caveman@domain.com

No answers to your questions below, but you could try

  PATH=/usr/sbin:$PATH  arpwatch -i enp7s0 -w caveman@domain.com

and see if that solves your problem.

DaveF
>
>then, it runs normally, but, it fails to send emails, with this error:
>
>    > execl: sendmail: No such file or directory
>
>`whereis sendmail`:
>
>    > sendmail: /usr/sbin/sendmail /usr/lib/sendmail /usr/lib64/sendmail
>/usr/share/man/man1/sendmail.1.bz2
>
>
>questions: ----------
>
>Q1: what happened that caused this syntax change? e.g. is it an update
>from upstream? or is it a totally new app written by other devs? or am i
>hallucinating (pretty sure it used to work tho)?
>
>Q2: is there any better tool to monitor arps and to email me when
>interesting things happen?
>
>thanks a lot for your time.
>
>rgrds, cm.
>
>


      reply	other threads:[~2020-07-01 23:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01 16:38 [gentoo-user] arpwatch changed syntax? Caveman Al Toraboran
2020-07-01 23:17 ` David M. Fellows [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23540.1593645425@owl.pooh.corner \
    --to=dmf@fellowsandcarr.ca \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=toraboracaveman@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox