DOKK / manpages / debian 10 / socks4-server / make_sockdfc.8.en
MAKE_SOCKDFC(8) System Manager's Manual MAKE_SOCKDFC(8)

make_sockdfc - Generates frozen configuratyion file for SOCKS server

make_sockdfc [infile [outfile] ]

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.

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

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

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