---
name: "make_sockdfr"
section: "8"
platform: "linux"
package: "socks4-server"
version: "4.3.beta2-20+b2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/make_sockdfr"
---

# make\_sockdfr(8)

Generates frozen route file for SOCKS server

## NAME

make\_sockdfr -  Generates frozen route file for SOCKS server

## SYNOPSIS

**make\_sockdfr \[***infile* \[*outfile*\] \]

## DESCRIPTION

*make\_sockdfr reads in a plain-text route file for the* *SOCKS server and produces* *a frozen route file as the output.*

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

The contents of the frozen route file is essentially the  memory image of the parsed input file. Using the frozen route 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 route file **/etc/sockd.fr** first. If that file is not found, it then tries to use the plain-text route file **/etc/sockd.route**. If you use frozen route file, you must remember to run *make\_sockdfr* every time after you modify the plain-text file or the SOCKS server will continue to use the frozen version of a previous route file.

To find out the contents of a frozen route file, use *dump\_sockdfr*.

## FILES

**/etc/sockd.fr**, **/etc/sockd.route**

## SEE ALSO

[*dump\_sockdfr*(8)](/dump_sockdfr/8.md), [*sockd.fr*(5)](/sockd.fr/5.md), [*sockd.route*(5)](/sockd.route/5.md)

## AUTHOR

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