ncat_config.1p

Langue: en

Version: 2004-08-05 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

ncat_config - Generate NCAT config file from template

SYNOPSIS

ncat_config [OPTIONS] <ncat.conf.MASTER > ncat.conf

DESCRIPTION

ncat_config reads an ncat config file template (/etc/ncat.conf.MASTER) and writes a usable config. The purpose is to support automatic generation of ncat.conf files with the correct values for items that change with each installation. Examples include external interface names, local address blocks, addresses that should be permitted in various access lists, etc.

Edit the .MASTER file to set correct values, then run ncat_config to produce the ncat.conf file that you use.

OPTIONS

-n, --noprompt
The "--noprompt" flag says that the values in the master file are teo be used as-is. The users is not prompted for confirmation. Default behavior is to prompt and allow the user to change the values.
-u, --update_master
The "--update_master" tells ncat_config to update the master file with the values entered. This reduced the need to re-enter default values.
-V, --version
The "--version" option displays the current program version.
-y, --yes
The "--yes" option changes the default answer for yes/no questions (i.e. whether to include optional rule groups) from ``no'' to ``yes''. This is useful in conjunction with ``--noprompt'' and ``--update_master''. To create a customized ncat.conf.MASTER file, do the following
     * ncat_config --update_master
 
 
       This will let you input appropriate default values and save
       them in /etc/ncat.conf.MASTER
 
 
     * hand-edit /etc/ncat.conf.MASTER and comment out
       all the ConfigClass: entries you don't intend to use
       (the ones you answered "no" to)
 
 
     * On successive runs of ncat_config, simply say
 
 
         ncat_config --noprompt --yes
 
 
       to generate a new config.  You may change your
       default values either by hand editing /etc/ncat.conf.MASTER
       or by using --update_master again.
 
 

MASTER FILE SYNTAX

The Master File syntax is the same as the ncat.conf syntax. See the description in the ncat man page.

RETURN VALUE

0 - success >0 - some error occurred

FILES

/etc/ncat.conf.MASTER - The ncat.conf template /etc/ncat.conf        - The ncat.conf output file

CAVEATS

Doing a ``Make install'' will overwrite your master file, incuding changes saved with ``--update_master''.

BUGS

Yes.

AUTHOR

George M. Jones <gmj@users.sourceforge.net>

CREDIT WHERE CREDIT IS DUE