Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: defcon levels  (Read 7230 times)

0 Members and 1 Guest are viewing this topic.

netstat

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 37
defcon levels
« on: January 02, 2007, 10:39:51 PM »

Code: [Select]

DefCon4 13

i read the conf, but somehow i  dont understand that..
what does this mean? 4 (of 5)is the defcon level (i think)
but what does 13 mean?
i removed the # in front, reload services an played with the services.
i could nick register, chan register..

would somebody can explain me this please? :)

greets and a happy new year guys ;)

[Edited on 2-1-2007 by netstat]
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: January 02, 2007, 11:25:42 PM »

If you read the very next line it tells you what it means.

#DefCon4 23
#     No channel reg + No Nick Reg + No MLOCK changes + Use Reduced Session Limit
#           1        +      2      +         4        +            16

simple math. 1+2+4+16=23 See the chart at the top of the DefCon section, it can't be any more "layman".
Logged

netstat

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 37
(No subject)
« Reply #2 on: January 03, 2007, 09:21:43 AM »

and the 23 means..
- No new channel registrations
- No New Nick Registrations
- No MLOCK changes
- Use Reduced Session Limit

when i want do disable the nick and channel reg, it must be 3 ?

to enable it, simply move the # in front of this line?


greets
Logged

katsklaw

  • Guest
(No subject)
« Reply #3 on: January 03, 2007, 01:36:01 PM »

Those are the events you want to occur in DefCon 4 .. meaning if all you want to do is stop new registrations, you would have DefCon4 3 because 1 + 2 = 3. Yes to enable that definition of defcon4 you uncomment it.
Logged

netstat

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 37
(No subject)
« Reply #4 on: January 03, 2007, 02:45:08 PM »

needs anope to be restart, or is reloading enough to take effect?
Logged

katsklaw

  • Guest
(No subject)
« Reply #5 on: January 03, 2007, 04:51:23 PM »

/os reload will reload the services.conf file

Please note that all the defcon levels are to be defined and you can toggle between them using /os defcon <level>
Logged

netstat

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 37
(No subject)
« Reply #6 on: January 03, 2007, 06:46:56 PM »

i enabled all defcons in the config file, than /os reload, and tried /os defcon 4

i got this msg.
Code: [Select]
-OperServ- The Defcon system must be enabled in the services.conf file

maybe services must be restartet?

problem solved.
thanks a lot

[Edited on 3-1-2007 by netstat]
Logged
Pages: [1]   Go Up