/usr/share/doc/firehol/README.Services is in firehol 2.0.3+ds-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | Adding additional services to FireHOL and FireQOS
=================================================
For FireHOL and FireQOS it is possible to define new services
with extra config files dropped into /etc/firehol/services.
Every file with the ending .conf gets parsed.
Any config file should start with a specical header:
#FHVER: 1:213
1 is the API version and 213 the minimum version of FireHOL
the service is expected to work with.
Inside the configfile you could use any service defintion
as described in firehol.conf(5) (firehol Debian package).
Here a small example for bittorrent:
------------------------------------
#FHVER: 1:213
server_torrent_ports="tcp/6881:6999"
client_torrent_ports="default"
------------------------------------
Thats all :). If dropped into /etc/firehol/services you could
use the torrent service as any builtin service in you config.
You could find this file in the examples dir in /usr/share/doc/firehol-doc
(resp. /usr/share/doc/fireqos-doc) as distributed in by the firehol-doc
(resp. fireqos-doc) Debian package.
-- Jerome Benoit <calculus@rezozer.net> Mon, 04 Aug 2014 14:37:12 +0000
-- Alexander Wirt <formorer@debian.org> Thu, 23 Dec 2004 15:33:52 +0100
|