Iceditch file structure: Difference between revisions

From SaruWiki
Jump to navigation Jump to search
(First filestructure setup)
(No difference)

Revision as of 11:03, 5 July 2008

Iceditch is quite a simple script, so it has only a few files. In a standard Debian environment, you'll find these files:

/etc/iceditch/rules.conf This is the "rulefile", that contains your actual firewall rules (in Iceditch IPtables language).

/etc/iceditch/.rules.bak This file may or may not exist; it's a backup of the rulefile, made by Iceditch itself when you told it to.

/etc/iceditch/params.conf This is the "parameter file", a file that contains all parameters that Iceditch needs for your firewall. This is also the place where you would stuff your custom functions, so that you could call them from the rulefile when necessary.

/bin/iceditch This is the firewall script itself. It's an executable shellscript.

/etc/init.d/iceditch This is only a symlink to the iceditch script itself.