Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119769 - arpwatch 2.1a13 fails to take -s and -m options
Summary: arpwatch 2.1a13 fails to take -s and -m options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 23:58 UTC by TestDrive
Modified: 2006-02-05 16:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TestDrive 2006-01-20 23:58:23 UTC
I am using arpwatch version 2.1a13.

Prolem: arpwatch will not take -s and -m options even though man page states it and the previous versions used to take these options.

Details follows.

man arpwatch states :
==============================================================================
SYNOPSIS
       arpwatch [ -a ] [ -dN ] [ -p ] [ -f datafile ] [ -i interface ]
                [ -m addr ] [ -n net[/width ]] [ -r file ] [ -u username ]
               [ -s sendmail_path ]
==============================================================================

================================================================================
localhost ~ # cat /etc/conf.d/arpwatch
# Config file for /etc/init.d/arpwatch
# see arpwatch.8 for more information

#IFACES="eth0 eth1"
IFACES="eth0"

OPTIONS="-s /usr/sbin/ssmtp -m me@mydomain.com"
USER="arpwatch"
================================================================================

================================================================================
localhost ~ # /etc/init.d/arpwatch start
 * Caching service dependencies ...                                                                                                                  [ ok ]
 * Starting arpwatch on eth0 ...
Version 2.1a13
usage: arpwatch [-dN] [-f datafile] [-i interface] [-n net[/width]] [-r file] [-u username]
================================================================================


================================================================================
localhost ~ # arpwatch -i eth0 -f /var/arpwatch/eth0.dat
localhost ~ #
================================================================================

================================================================================
localhost ~ # arpwatch -i eth0 -f /var/arpwatch/eth0.dat  -s /usr/sbin/ssmtp
Version 2.1a13
usage: arpwatch [-dN] [-f datafile] [-i interface] [-n net[/width]] [-r file] [-u username]
localhost ~ # arpwatch -i eth0 -f /var/arpwatch/eth0.dat  -m me@mydomain.com
Version 2.1a13
usage: arpwatch [-dN] [-f datafile] [-i interface] [-n net[/width]] [-r file] [-u username]
localhost ~ # 
================================================================================
Comment 1 TestDrive 2006-01-21 01:01:42 UTC
I started seeing this behavious after i updated my arpwatch , however i dont know which version of arpwatch i was using earlier.
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2006-02-01 11:05:12 UTC
Please grab the test version from my overlay at http://dev.gentoo.org/~jokey
and report if it works for you.
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2006-02-05 16:37:37 UTC
Fixed in cvs, thanks