hlmaster.filter(1)

NAME
hlmaster.filter - How to allow/block specific gameservers.

DESCRIPTION
This document describes, how the config-file has to look like, for loading into hlmaster with the --server-filter argument. These filter rules allow you, to allow/deny specific gameservers and as well complete networks.
You can however not ban a gameserver upon his port. At least one ip-address is filtered. Please note, that server filtering has not been tested through and through yet.

COMMANDS
Commands are case-sensitive, so enshure you write them all in lowercase and only one command per line. The following commands are used to configure some basic settings:

default allow | deny
    This sets the default behaviour, what to do, if no specific filter rule could be found.
    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 ip-address [ netmask ]
deny ip-address [ 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.
I'm 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.

EXAMPLES
An example filter.list is provided within the examples directory of the source distribution. However, here's a short example:
	# example hlmaster filter list
	order deny
	default allow
	# aaa swiss counterstrike
	allow	194.209.69.205
	# some sux0rz
	deny 123.123.123.123
	deny 194.216.124.21
	# localhost network
	deny 127.0.0.0	255.0.0.0

REPORTING BUGS
Report bugs to <bullet@users.sourceforge.net>.

AUTHOR
Silvan Minghetti <bullet@users.sourceforge.net>.

COPYRIGHT
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.

LEGAL NOTES
Half-Life is a trademark of valve software.

SEE ALSO
hlmaster(1), hlmaster.list(1), hlmaster.gameserver(1) Check http://hlmaster.sourceforge.net for newest version.