argus-clients-3.0.0.rc.10 on the server
Peter Van Epp
vanepp at sfu.ca
Thu Jun 22 16:41:50 EDT 2006
Here are a couple more: a ra man page which describes the options ra
really supports, and both a rarc man page and a patch to make it match ra
(against argus-clients-3.0.0.rc.10):
*** man/man1/ra.1.orig Thu Jun 22 12:53:17 2006
--- man/man1/ra.1 Thu Jun 22 12:54:49 2006
***************
*** 75,81 ****
.TP 4 4
.B \-n
Do not translate host and service numbers to names. \fB-nn\fP will
! suppress translation of protocol numbers, as well.
.TP 4 4
.B \-p <digits>
Print \fB<digits>\fP number of units of precision for floating point values.
--- 75,82 ----
.TP 4 4
.B \-n
Do not translate host and service numbers to names. \fB-nn\fP will
! suppress translation of protocol numbers, as well and \fB-nnn\fP will
! translate all fields.
.TP 4 4
.B \-p <digits>
Print \fB<digits>\fP number of units of precision for floating point values.
*** man/man5/rarc.5.orig Thu Jun 22 13:23:26 2006
--- man/man5/rarc.5 Thu Jun 22 13:36:21 2006
***************
*** 146,152 ****
ethernet address. There is a huge performance impact with
name lookup, so the default is to not resolve hostnames.
! \fBRA_PRINT_HOSTNAMES=\fPno
When you intend to print hostnames and port service names
rather than the numbers, these variables will help to
--- 146,156 ----
ethernet address. There is a huge performance impact with
name lookup, so the default is to not resolve hostnames.
! \fBRA_PRINT_HOSTNAMES=\fPport
!
! Other options are \fPnone\fP translate nothing, \fPproto\fP translate only
! the protocol, \fPport\fP translate protocol and port, and \fPall\fP translate
! all fields. An invalid option will default to \fPport\fP silently.
When you intend to print hostnames and port service names
rather than the numbers, these variables will help to
*** common/argus_util.c.orig Thu Jun 22 12:48:09 2006
--- common/argus_util.c Thu Jun 22 13:19:57 2006
***************
*** 426,435 ****
break;
case RA_PRINT_HOSTNAMES:
! if (!(strncasecmp(optarg, "yes", 3)))
! parser->nflag = 0;
! else
parser->nflag = 1;
break;
case RA_PRINT_LOCALONLY:
--- 426,441 ----
break;
case RA_PRINT_HOSTNAMES:
! if (!(strncasecmp(optarg, "none", 4)))
! parser->nflag = 3;
! else if (!(strncasecmp(optarg, "proto",5)))
! parser->nflag = 2;
! else if (!(strncasecmp(optarg, "port",4)))
parser->nflag = 1;
+ else if (!(strncasecmp(optarg, "all",3)))
+ parser->nflag = 0;
+ else
+ parser->nflag = 1;
break;
case RA_PRINT_LOCALONLY:
More information about the argus
mailing list