make_sockdfc

Langue: en

Version: 303959 (debian - 07/07/09)

Section: 8 (Commandes administrateur)

NAME

make_sockdfc - Generates frozen configuratyion file for SOCKS server

SYNOPSIS

make_sockdfc [infile [outfile] ]

DESCRIPTION

make_sockdfc reads in a plain-text configuration file for the SOCKS server and produces a frozen configuration file as the output.

Both arguments are optional. The default for infile is /etc/sockd.conf; the default for outfile is /etc/sockd.fc. You may specify infile while omitting outfile, but you cannot specify outfile without also speficying infile.

The contents of the frozen configuration file is essentially the memory image of the parsed input file. Using the frozen configuration file can reduce the start-up delay of the SOCKS server program since it no longer has to parse the file contents.

When the SOCKS server starts, it always looks for the frozen configuration file /etc/sockd.fc first. If that file is not found, it then tries to use the plain-text configuration file /etc/sockd.conf. If you use frozen configuration, you must remember to run make_sockdfc every time after you modify the plain-text file or the SOCKS server will continue to use the frozen file of a previous configuration.

To find out the contents of a frozen configuration file, use dump_sockdfc.

FILES

/etc/sockd.fc, /etc/sockd.conf

SEE ALSO

dump_sockdfc(8), sockd.conf(5), sockd.fc(5)

AUTHOR

 Ying-Da Lee, yingda@best.com or yingda@esd.sgi.com