Donate Share

FireHOL

Tracker: Support Requests

5 Add INCLUDE command to firehol.conf - ID: 2893470
Last Update: Settings changed ( ktsaou )

Please add a simple INCLUDE command that would simply "dump" the contents
of another file into current position. This would allow breaking up the
monolithic firehol.conf into manageable parts. This would be useful
especially when files are version controlled adn shared between multiple
hosts.

firehol-ports.conf # port definitions
firehol-hosts-local.conf
firehol-hosts-external.conf
firehol-rules-eth1.conf
firehol-rules-wlan0.conf

AN EXAMPLE:

# firehol.conf
include firehol-ports.conf
include firehol-hosts-local.conf
...


Jari Aalto ( jaalto ) - 2009-11-06 18:31

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2009-11-15 17:28
Sender: ktsaouProject Admin

firehol.conf is a BASH script. As such it supports includes already.

Example:

source my-other.conf
. my-new.conf

The dot '.' is a alias for 'source'.


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2009-11-15 17:28 ktsaou
allow_comments 1 2009-11-15 17:28 ktsaou
close_date - 2009-11-15 17:28 ktsaou
data_type 487693 2009-11-15 17:28 ktsaou