[cod] How to ban a user via IP ?

Brian Dessent brian at dessent.net
Tue Jan 3 07:19:24 EST 2006


Steven Hartland wrote:

> You may be able to manipulate the list directly via the
> dvar:
> g_banIPs

Last time I checked in coduo that g_banIPs was non-functional.  But that
may have changed, I don't know.

In any case, I'd suggest using iptables if you want to ban IP addresses,
since it will be much more efficient, and there are plenty of existing
tools for managing iptables.  It has the nice side effect of blocking
access to all services on the machine - but of course you can also block
per-port if you want that level of control.

Brian



More information about the Cod mailing list