---
name: "netscript-compile"
section: "8"
platform: "linux"
package: "netscript-2.4"
version: "5.2.12"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/netscript-compile"
---

# netscript-compile(8)

netscript ipfilter-defs compile back end.

## NAME

netscript-compile - netscript ipfilter-defs compile back end.

## SYNOPSIS

**netcript-compile \[ -fhq \] \[ -b** *max-backup-level* **\]**\

## DESCRIPTION

This manual page documents briefly the **netscript-compile** command from the netscript router/firewall network configuration package.

This command is the back end to the  **netscript compile** command documented in  [**netscript**(8)](/netscript/8.md) manpage. See [**ipfilter-defs**(5)](/ipfilter-defs/5.md) for the details on the definitions files in */etc/netscript/ipfilter-defs.*

By default it checks to see if the relevant files in the */etc/netscript/ipfilter-defs* directory have been updated by comparing their modification times to that of */etc/netscript/ipfilter-defs.conf,* and if updating is needed, it recompiles and re-creates the file.  Up to  *max-backup-levels* of history are kept of previously compiled  */etc/netscript/ipfilter-defs.conf* files, with a numeric extention in order of increasing age.

## OPTIONS

- **-b** *max-backup-level*

  Sets the maximum level of backups kept of previously compiled files. This defaults to 2 (see */etc/netscript/netscript-compile.conf),* and it is also used by the [**netscript**(8)](/netscript/8.md) *compile* command.

- **-f**

  Force compile even though compile file is up to date with definitions.  The testing depends on the modification times of the definition file inodes in  the file system.

- **-h**

  Show a summary of options.

- **-q**

  Quiet compile.  This option suppresses informational progress messages.

## FILES

*/etc/netscript/ipfilter-defs.conf,*\
 */etc/netscript/ipfilter-defs-compiled.conf,*\
 */etc/netscript/ipfilter-defs directory.*\

## SEE ALSO

[**ipfilter-defs**(5)](/ipfilter-defs/5.md), [**netscript**(8)](/netscript/8.md).\

## AUTHOR

This manual page was written by Matthew Grant \<grantma@anathoth.gen.nz\>, for the Debian GNU/Linux system (but may be used by others).

## BUGS

I wrote this manpage when I was not half asleep...
