anope- supernets anope source code & configuration |
git clone git://git.acid.vegas/anope.git |
Log | Files | Refs | Archive | README |
DEFCON (2666B)
1 Anope DefCon 2 ------------ 3 4 1) Introduction 5 2) Installation 6 3) Configuration 7 4) Usage 8 5) Usage Example 9 6) Support 10 11 1) Introduction 12 13 Anope 1.6 onwards supports a unique protection mechanism based on the 14 military "Defense Readiness Condition" (DefCon) system. It is based on 15 5 levels of defense readiness defined as: 16 17 DEFCON5 Normal peacetime readiness 18 DEFCON4 Increased intelligence and security readiness 19 DEFCON3 Increase in force readiness 20 DEFCON2 Further increase in force readiness 21 DEFCON1 Maximum force readiness. 22 23 These are configurable levels that mandates what actions Anope should 24 take in case of emergency and change in readiness status. 25 26 It is used to prevent abuse to both Services, and the ircd on which they 27 are running. Also to protect the users, primarily in the event of Clones 28 and/or FloodBOT attacks. 29 30 2) Installation 31 32 The DefCon system is part of Anope's core, 33 34 The DefCon system has to be configured on your operserv.conf file to 35 be enabled. Defcon will be disabled if "defaultlevel" in the defcon 36 block is left commented, or set to 0. Look for the defcon block 37 on your operserv.conf file for more information on enabling and 38 configuring it. 39 40 Make sure you restart Anope after changing the DefCon configuration 41 directives. 42 43 3) Configuration 44 45 Pre-defined DefCon actions: 46 47 No new channel registrations 48 No New Nick Registrations 49 No Mode Lock changes 50 Force Chan Mode 51 Use Reduced Session Limit 52 KILL any new clients trying to connect 53 Services will ignore everyone but opers 54 Services will silently ignore everyone but opers 55 AKILL all new clients trying to connect 56 No new memos sent to block MemoServ attacks 57 58 Information regarding how to enable this for specific defcon levels can 59 be found in operserv.conf 60 61 4) Usage 62 63 Anope starts up in DEFCON5 (normal readiness). To change the Defcon level 64 in action use: 65 66 /msg OperServ DEFCON 1|2|3|4|5 67 68 5) Usage Example 69 70 Place the network on DEFCON4: 71 72 /msg OperServ DEFCON 4 73 74 -OperServ- Services are now at DEFCON 4 75 -OperServ- * No new channel registrations 76 -OperServ- * No new nick registrations 77 -OperServ- * No mode lock changes 78 -OperServ- * Use the reduced session limit of 5 79 80 -Global- The Defcon Level is now at: 4 81 82 Restore normal readiness: 83 84 /msg OperServ DEFCON 5 85 86 -OperServ- Services are now at DEFCON 5 87 88 -Global- Services are now back to normal, sorry for any inconvenience 89 90 6) Support 91 92 You might get DefCon support by posting on our online forum, or maybe on 93 our #anope channel at /server irc.anope.org.