|default allow | deny|
This sets the default behaviour, what to do, if no specific filter rule could
If you ommit this default rule, deny will be applied.
|order allow | deny|
|This determines, if a deny rule takes precedence over an allow rule and vice versa.|
Now, the commands used to deny/allow hosts/networks:
allow [ netmask ]
deny [ netmask ]
This will allow or deny the host given by
ip-address (hostnames are not allowed). If no
netmask is given, 255.255.255.255 is assumed - wich leads to filtering a single
host. And this is normally exactly what you want.
Im not going to describe netmasks any further, you will never need them anyway...
Comments are also allowed and initiated with the familiar # sign. They may begin everywhere in a line and remain active until the end of line.
Look at the SIGNALS section in the hlmaster(1) manpage for instructions on reloading the filters, while hlmaster is running.
An example filter.list is provided within the examples directory of the source distribution. However, heres a short example:
# example hlmaster filter list
order deny default allow
# aaa swiss counterstrike allow 184.108.40.206
# some sux0rz deny 220.127.116.11 deny 18.104.22.168
# localhost network deny 127.0.0.0 255.0.0.0
Report bugs to <email@example.com>.
Silvan Minghetti <firstname.lastname@example.org>.
Copyright (c) 2001 Silvan Minghetti
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Half-Life is a trademark of valve software.
hlmaster(1), hlmaster.list(1), hlmaster.gameserver(1)
Check http://hlmaster.sourceforge.net for newest version.
|HLMaster||HLMASTER.FILTER (1)||22 June 2001|