From 314dbcd67e7c3f333abb7a4522e0adab6ed2b47f Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Sun, 26 Oct 2008 19:54:38 +0000 Subject: Added limitsessions directive to operserv block in new config. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1481 5417fbe8-f217-4b02-8779-1006273d7864 --- data/example_new.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'data') diff --git a/data/example_new.conf b/data/example_new.conf index 7a90aa8ed..d9a0cd52e 100644 --- a/data/example_new.conf +++ b/data/example_new.conf @@ -785,4 +785,19 @@ operserv * This directive is optional, if left blank, there will be no notifications. */ notifications="osglobal osmode osclearmodes oskick osakill ossgline ossqline osszline osnoop osjupe osraw getpass setpass forbid drop" + + /* + * Enables session limiting. Session limiting prevents users from connecting more than a certain + * number of times from the same host at the same time - thus preventing most types of cloning. + * Once a host reaches it's session limit, all clients attempting to connect from that host will + * be killed. Exceptions to the default session limit can be defined via the exception list. It + * should be noted that session limiting, along with a large exception list, can degrade Services' + * performance. + * + * See the source and comments in sessions.c and the online help for more information about + * session limiting. + * + * This directive is optional. + */ + limitsessions = yes } -- cgit