argus-clients-3.0.0.rc.10 on the server

Carter Bullard carter at qosient.com
Thu Jun 22 17:36:17 EDT 2006


Hey Peter,
I got these into clients-3.0.0.rc.11 which is up on the server now.
I modified your text a bit, but its all there.
Carter

On Jun 22, 2006, at 4:41 PM, Peter Van Epp wrote:

> 	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:
>

Carter Bullard
CEO/President
QoSient, LLC
150 E. 57th Street Suite 12D
New York, New York 10022

+1 212 588-9133 Phone
+1 212 588-9134 Fax





More information about the argus mailing list