X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/7827220c933cf2fd53437d1285b639a49b213508..fa86a9e7614735d9ac02c02f35d142a3e4329792:/x3.conf.example?ds=sidebyside diff --git a/x3.conf.example b/x3.conf.example index 83ae1b7..5a9c614 100644 --- a/x3.conf.example +++ b/x3.conf.example @@ -47,12 +47,19 @@ /* hidden_host should match the F:HIDDEN_HOST: line in your ircu's ircd.conf; * x3 does not set the host suffix for users, but must know it when making * things like bans, where it should not show the user's real hostname. */ + "hidden_host_type" "1"; // change this to 2 if you use Nefarious's style 2 host hiding. + "key1" "45432"; // Set these key values to the network KEY values you use + "key2" "76934"; // for host hiding style 2. + "key3" "98336"; + "prefix" "AfterNET"; // If you use style 2 then this is the name that is prefixed to hosts. "numeric" "51"; // hint: If you get collisions on link, CHANGE THIS. /* Type handles some changes in nefarious 1.0 (was 0.5.0) * 4 - nefarious 0.4.x and other ircds - * 5 - nefarious 1.0.x and higher + * 5 - nefarious 1.0.x and higher (Obselete) + * 6 - nefarious 1.1.0 and higher (Branch Revision) + * 7 - nefarious 1.2.0 and higher (Trunk Revsions) */ - "type" "5"; + "type" "6"; "host_in_topic" "1"; //Set to 1 if your Nefarious server have the HOST_IN_TOPIC F:line set to TRUE. "max_users" "256"; // You can save a little memory by setting this to a lower value. "force_n2k" "1"; // Use extended (5-digit) numnick for self, even if 3 are possible. @@ -131,6 +138,10 @@ // Whats a valid hostname look like for fakehosts? "valid_fakehost_regex" "^[-_a-zA-Z0-9.]+$"; + // Force account names to lowercase? 1=yes 0=no + // WARNING: this will convert when reading them from the db, too. + "force_handles_lowercase" "0"; + // "Nickserv" networks, set this to 0. "Authserv" networks, // set it to 1. "disable_nicks" "1"; @@ -161,7 +172,7 @@ "lc_h" "800"; // support helper (lower case h) "uc_H" "800"; // net helper (upper case H) "S" "999"; // O3 access suspended - "b" "1"; // Bot (not sure what it does tho) + "b" "1"; // Bot (Hidden from !staff etc) }; // and for who can change epithets for staff @@ -214,6 +225,34 @@ // Nickserv 'style' setting affects .userlist and other outputs. "default_style" "n"; // can be: n = normal, c = clean, or a = advanced. + + + // LDAP configuration(s) + // THIS IS EXPERIMENTAL! DO NOT USE IT IF YOU ARNT'T A DEVELOPER!! + // LDAP stands for light directory access protocol. its what many larger orgs use for central user/password management. Its also the core technology behind windows active directory. + // If you have an ldap server, you can configure X3 to use it instead of saving passwords locally. + + //"ldap_enable" "0"; + //"ldap_uri" "ldaps://ldap.yournetwork.server:636"; + //"ldap_base" "ou=Users,dc=afternet,dc=org"; + //"ldap_dn_fmt" "uid=%s,ou=Users,dc=afternet,dc=org"; + //"ldap_autocreate" "1"; // automatically create accounts if they exist in ldap but not x3 + //// If you will be allowing users to register on IRC you need these: + //"ldap_admin_dn" "cn=Admin,dc=afternet,dc=org"; + //"ldap_admin_pass" "xxxxxxxxxxx"; + //"ldap_object_classes" ( "top", "inetOrgAnonAccount" ); + //// NOTE: inetOrgAnon is something I made up. its schema + //// can be found in the tools/ directory. ldap servers wont + //// know what that is by default. + //// These configure what I store, and where. + //"ldap_field_account" "uid"; + //"ldap_field_password" "userPassword"; + //"ldap_field_email" "mail"; + //// This bit is needed if you want to put ircops into a group: + //"ldap_oper_group_dn" "cn=Opers,ou=Groups,dc=afternet,dc=org"; + //"ldap_field_group_member" "memberUid"; // what field group members are in + //"ldap_timeout" "10"; // seconds + }; /* @@ -324,6 +363,18 @@ // ------------------------------------------------------------------ + // 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 does take a bit longer to query. If you are + // expieriencing ping timeouts you may need to tweak X3's I:line. + "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? @@ -377,7 +428,7 @@ // maximum bans on a channel banlist "max_chan_bans" "512"; // maximum length of a user's infoline - "max_userinfo_length" "400"; // for god sake lower this. 80 seems good. + "max_userinfo_length" "400"; // hard limit for infolines. This is also the default value. // If SET DynLimit is on and there are N users in the channel, ChanServ will // try to keep the limit at N+. This makes the channel @@ -396,7 +447,7 @@ "chan_expire_delay" "30d"; // what !set options should we show when user calls "!set" with no arguments? - "set_shows" ("DefaultTopic", "TopicMask", "Greeting", "UserGreeting", "Modes", "PubCmd", "InviteMe", "UserInfo", "EnfOps", "EnfModes", "EnfTopic", "TopicSnarf", "Setters", "CtcpReaction", "Voice", "Protect", "Toys", "DynLimit", "NoDelete"); + "set_shows" ("DefaultTopic", "TopicMask", "Greeting", "UserGreeting", "Modes", "PubCmd", "InviteMe", "UserInfo", "EnfOps", "EnfModes", "EnfTopic", "TopicSnarf", "Setters", "CtcpReaction", "BanTimeout", "Protect", "Toys", "DynLimit", "NoDelete"); // A list of !8ball responses "8ball" ( @@ -531,6 +582,10 @@ // How long should a helpserv be inactive (no requests assigned) // before it can be unregistered by the expire command? "expiration" "60d"; + + // If a user prefix's this before their helpserv commands then instead + // of a request being opened, they will be able to use helpserv commands. + "user_escape" "@"; }; /* SockCheck reads sockcheck.conf and can do configurable scans * to probe for open relays in an attempt to stop drones from using @@ -560,6 +615,8 @@ }; /* Track works just like Snoop except it only sends events for users * who have been specified + * DANGER: track is currently very broken, and will crash x3 and possibly corrupt your db file. + * Unless your a developer, dont even compile it in! */ "track" { // What to track by default? @@ -575,10 +632,22 @@ */ "memoserv" { "bot" "MemoServ"; + "modes" "+k"; "message_expiry" "30d"; // age when messages are deleted; set // to 0 to disable message expiration "limit" "30"; // Max amount of messages a person can get. }; + /* WebTV allows webtv clients to use common IRC commands. + */ + "webtv" { + "bot" "IRC"; + "modes" "+k"; + + // Should clients need to be marked to use this service? + "required_mark" "1"; + // which marks are valid webtv marks? + "valid_marks" ("webtv", "msntv", "msntv2"); + }; }; "policers" {