arpwatch
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arpwatch [2014/06/24 19:49] – [ARP monitoring with arpwatch] admin | arpwatch [2021/10/30 13:20] (current) – [ARP monitoring with arpwatch and msmtp] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | ~~TOC~~ | ||
- | =====ARP monitoring with arpwatch===== | + | =====ARP monitoring with arpwatch |
- | ===Prerequisites:=== | + | |
- | * Make sure e-mail works | + | * Install packages. < |
+ | * Configure arpwatch interface. < | ||
+ | IFACE_ARGS="-s / | ||
+ | EOF</ | ||
+ | * Configure msmtp (Fastmail example).< | ||
+ | defaults | ||
+ | auth on | ||
+ | tls on | ||
+ | tls_trust_file / | ||
+ | logfile | ||
+ | |||
+ | account | ||
+ | host smtp.fastmail.com | ||
+ | port 465 | ||
+ | from <FROM ADDRESS> | ||
+ | user <YOUR USERNAME> | ||
+ | password | ||
+ | tls_starttls | ||
+ | set_from_header on | ||
+ | |||
+ | account default | ||
+ | EOF</ | ||
+ | * Set owner and mode:< | ||
+ | chmod 600 / | ||
+ | * Start arpwatch at boot. < | ||
- | ===Install and configure arpwatch=== | ||
- | * Install aprwatch. < | ||
- | * Start arpwatch at boot. < | ||
- | * Change config if needed, edit **/ | ||
- | * Start arpwatch. < | ||
- | ===Example mail=== | ||
- | < | ||
- | ip address: 192.168.40.51 | ||
- | | ||
- | ethernet vendor: AMERICAN POWER CONVERSION CORP | ||
- | timestamp: Tuesday, June 24, 2014 21:48:39 +0200</ |
arpwatch.1403639363.txt.gz · Last modified: 2014/06/24 19:49 by admin