Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Auto kill on clones  (Read 4164 times)

0 Members and 1 Guest are viewing this topic.

TheQuartex1

  • Guest
Auto kill on clones
« on: January 03, 2007, 02:32:49 PM »

dose anyone knw how to config unreal or anope to auto kill on clones???
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: January 03, 2007, 04:49:05 PM »

Anope uses SessionLimits to handle clones. See: /operserv help session for more details.
Logged

BigBen

  • Anope User
  • Offline Offline
  • Posts: 79
(No subject)
« Reply #2 on: January 04, 2007, 10:50:53 PM »

to use the auto kill on clones look in the config file: ( this is in the OperServ Configeration.

# ...Expiry <time>  [REQUIRED]
#     Sets the default expiry time for, respectively, AKILLs, SGLINEs,
#     SQLINEs and SZLINEs.

AutoKillExpiry  30d
ChanKillExpiry  30d
SGLineExpiry    30d
SQLineExpiry    30d
SZLineExpiry    30d


# LimitSessions  [OPTIONAL]
#     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, which are based
#     on host names, 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.
#
#     NOTE:  This option is not available when STREAMLINED is defined in
#     the Makefile.

LimitSessions

# DefSessionLimit <limit>  [REQUIRED]
#     Default session limit per host. Once a host reaches it's session limit,
#     all clients attempting to connect from that host will be killed. A value
#     of zero means an unlimited session limit.

DefSessionLimit 5

# MaxSessionLimit <limit>  [REQUIRED]
#     The maximum session limit that may be set for a host in an exception.

MaxSessionLimit 100

# ExceptionExpiry <time>  [REQUIRED]
#     Sets the default expiry time for exceptions.

ExceptionExpiry 1d

# SessionLimitExceeded <message>  [OPTIONAL]
#     The message that will be NOTICE'd to a user just before they are removed
#     from the network because their's host session-limit has been exceeded.
#     It may be used to give a slightly more descriptive reason for the
#     impending kill as apposed to simply "Session limit exceeded". If this is
#     commented out, nothing will be sent.

SessionLimitExceeded "The session limit for your host %s has been exceeded."

[Edited on 4-1-2007 by BigBen]
Logged

KilleRNeT

  • Guest
(No subject)
« Reply #3 on: February 09, 2007, 12:15:01 AM »

but there is a module isnt? the command are /os killclones clonnick        where can i download it? it still work for 1.7.18?
Logged

BigBen

  • Anope User
  • Offline Offline
  • Posts: 79
(No subject)
« Reply #4 on: February 09, 2007, 02:27:55 AM »

i dont think there is a module, it's just added in to OperServ Services. that's what i know, unless someone made one, that i dont know about.
Logged

katsklaw

  • Guest
(No subject)
« Reply #5 on: February 09, 2007, 05:32:12 AM »

os killclones was removed from Anope because it is old, archaic and very inaccurate because it created alot of "false positives". It has been replaced by session limiting. Session limits does the same and far more than killclones ever could. This is also a moot point to a degree since most ircds only allow a certain number of users from the same IP to start with, making /os killclones even more useless.

os killclones was not a module, it was a core feature .... may it rest in peace.

If you do not have an ircd that can limit connections per IP or have disabled it for some reason, then learn to use session limits and exceptions, it's not hard.

/os help session
/os help exception

You will find these 2 commands rather easy to use and understand. You will also find them better than killclones.

[Edited on 9-2-2007 by katsklaw]
Logged
Pages: [1]   Go Up