]> jfr.im git - irc/evilnet/x3.git/blobdiff - x3.conf.example
possible fix to the spamserv bug, ill get buttaknife to test this now. If theres...
[irc/evilnet/x3.git] / x3.conf.example
index 77a3c9de3a11c2d0ae4835811a40a6c80e9883cd..61fd7f4204e5cfe63eccd6a73208f2bd5168eb49 100644 (file)
 
             // What to do when someone uses the NickServ "reclaim" command?
             // This can be one of "none", "warn", "svsnick", or "kill", but
 
             // What to do when someone uses the NickServ "reclaim" command?
             // This can be one of "none", "warn", "svsnick", or "kill", but
-            // stock ircu does not support svsnick -- you need Bahamut or 
-            // nefarious.
+            // stock ircu does not support svsnick -- you need nefarious.
             "reclaim_action" "none";
 
             // What (else) to do when someone uses a registered nick?
             "reclaim_action" "none";
 
             // What (else) to do when someone uses a registered nick?
         // Services will silently ignore everyone but opers 128 
         // GLINE all new clients trying to connect          256 
         // No new memos sent to block MemoServ attacks      512
         // Services will silently ignore everyone but opers 128 
         // GLINE all new clients trying to connect          256 
         // No new memos sent to block MemoServ attacks      512
+        // SHUN all new clients trying to connect          1024
         // 
         // These are the values are added together to determine each defcon setting: 
         "DefCon1" "415"; 
         // 
         // These are the values are added together to determine each defcon setting: 
         "DefCon1" "415"; 
         // If defcon is limiting sessions then how many sessions should O3 allow?
         "DefConSessionLimit" "2";
 
         // If defcon is limiting sessions then how many sessions should O3 allow?
         "DefConSessionLimit" "2";
 
-        // Length of the gline set on newly connecting clients, if defcon is glining
-        // newly connecting clients
+        // Length of glines and shuns set on newly connecting clients, if defcon is glining 
+        // or shunning newly connecting clients
         "DefConGlineExpire" "5m";
 
         // Mode to set on all channels if defcon is forcing channel modes on all channels
         "DefConGlineExpire" "5m";
 
         // Mode to set on all channels if defcon is forcing channel modes on all channels
         // If not set to 0, defcon will set back to level 5 after this time
         "DefConTimeOut" "15m";
 
         // If not set to 0, defcon will set back to level 5 after this time
         "DefConTimeOut" "15m";
 
-        // Where will the user global notices go to?
-        // 1 - Users Only
-        // 2 - Channels Only
-        // 3 - Both Users and Channels
-        "DefConGlobalTarget" "3";
-
         // Set to 1 to send a notice to all users when defcon levels are changed
         "GlobalOnDefcon" "0";
 
         // Set to 1 to send a notice to all users when defcon levels are changed
         "GlobalOnDefcon" "0";
 
         // This notice will be used if GlobalOnDefcon and GlobalOnDefconMore are off
         "DefConOffMessage" "Services are now back to normal, sorry for any inconvenience";
 
         // This notice will be used if GlobalOnDefcon and GlobalOnDefconMore are off
         "DefConOffMessage" "Services are now back to normal, sorry for any inconvenience";
 
-        // Reason placed in defcon Glines.
+        // Reason placed in defcon Glines and Shuns.
         "DefConGlineReason" "This network is currently not accepting connections, please try again later";
 
         // ------------------------------------------------------------------
 
         "DefConGlineReason" "This network is currently not accepting connections, please try again later";
 
         // ------------------------------------------------------------------
 
+        // To use geoip support in Opserv WHOIS then you will need to install
+        // the c GeoIP api. Its available on http://www.maxmind.com, also on
+        // apt on debian and ubuntu. The dat files can also be obtained
+        // from the earlier URL. Place them in your X3 dir and away you go.
+        // X3 will need a recompile once you install the c api. If there is a
+        // GeoIP City Data file then the GeoIP data file will be ignored. However
+        // bear in mind that the city data file is a lot larger than the plain
+        // country data file so it does eat more cpu. The city dat file is ~25mb
+        // compared to the country file being ~900KB. Choose carefully.
+        "geoip_data_file" "./GeoIP.dat";
+        "geoip_city_data_file" "";
+
         // The join-flood policer code goes off all the time when a server
         // goes down (and everyone reconnects) so i don't reccomend using it.
         // Automatically moderate join flooded channels?
         // The join-flood policer code goes off all the time when a server
         // goes down (and everyone reconnects) so i don't reccomend using it.
         // Automatically moderate join flooded channels?