Author: Perry Lorier <Isomer@coders.net>
authorPerry Lorier <isomer@undernet.org>
Thu, 27 Apr 2000 23:05:42 +0000 (23:05 +0000)
committerPerry Lorier <isomer@undernet.org>
Thu, 27 Apr 2000 23:05:42 +0000 (23:05 +0000)
Log message:

Lotsa minor changes, documented some 'undocumented' features, add more stuff
to RPL_ISUPPORT, add -DNOOPER, Change some of the defaults in make config.
Make some of the error messages a bit more understandable.

Testing Required:
* Check that RELEASE.NOTES is correct.
* Run through make config with no config file and see if everything looks
ok.
* Make sure it compiles :)
* Make sure RPL_ISUPPORT is ok.
* Make sure that servers that aren't defined with HUB or L:'d or don't have
a H: give the right error messages.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@209 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
RELEASE.NOTES
config/config-sh.in
include/supported.h
ircd/m_server.c
ircd/parse.c

index a9d4f9c2b23f982ef4cd26fec3a1b8499b03cb46..916813c5a7b9f6402a5853659b49f476cb63279e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-04-28  Perry Lorier <isomer@coders.net>
+       * RELEASE.NOTES: Describe a few more undocumented features.
+       * config/config-sh.in: change the default paths for logging
+       and the recommended number of channels.
+       * include/supported.h: Rearrange slightly, added CHANTYPE's
+
 2000-04-27  Kevin L. Mitchell  <klmitch@mit.edu>
 
        * ircd/s_misc.c: *sigh* 2.10.10 doesn't support squitting by
@@ -31,6 +37,7 @@
        conversions; use ircd_snprintf in a couple of cases to negate the
        possibility of buffer overflow
 
+>>>>>>> 1.106
 2000-04-26  Kevin L. Mitchell  <klmitch@mit.edu>
 
        * ircd/channel.c: convert as much as possible to new send
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.106 2000-04-27 20:24:11 kev Exp $
+# $Id: ChangeLog,v 1.107 2000-04-27 23:05:41 isomer Exp $
 #
 # Insert new changes at beginning of the change list.
 #
index 9453be3e0283b42cf42eda3cca54d6783f082ffd..47c4f2b3e35e7e0d3c5e892828f693f8bad9690d 100644 (file)
@@ -68,13 +68,27 @@ run make config.
 -DEXTENDED_NUMERICS This option configures the server to send
 extended numerics as well as parse them. This option should only
 be used on networks that run ircu2.10.07 and above only.
--DFERGUSON_FLUSHER If you have a server with a lot of resources
-available this option will cause the server to attempt to flush
+-DFERGUSON_FLUSHER This causes your server to attempt to flush
 it's internal buffers before dropping clients during a netbreak.
-Don't define this if you don't know, if you're not careful this
-can end up rebooting FreeBSD boxes.
+This option *may* panic your server - especially if your running
+on a unconfigured FreeBSD box.  If you can define this we recommend
+you do - but beware of spontanious reboots on netbreak.
 -DWALLOPS_OPER_ONLY Setting this option removes the ability for
 clients that are not opered to see wallops messages.
+-DNOOPER Disallow the /oper command.
+
+There are a few to be used for debugging or other networks.  These
+should *NOT* be defined on the undernet production network.
+
+-DNICKLEN=15 This allows you do override the default nick length
+to 15 characters.  If this has different values on different servers
+your network *WILL* fall apart.  Only use this option if you know
+what your doing. If you don't, ask in #coder-com on undernet.
+-DNO_THROTTLE This disables the throttling code.  This is used for
+debugging *only*.  It lets you connect up to 255 clients from one
+host with no time conciderations.  If this is enabled on a 
+production server I will personally drive your server into the 
+ground.  You have been warned.
 
 Operating System and Kernel Requirements:
 If you plan allowing more than 1000 clients on your server, you
index 7314d2aa8610057c942850e8b73a80d67771cbe5..6cd8cf1125ed4edeef070d122d5b0d0e7a3a710a 100644 (file)
@@ -241,11 +241,11 @@ comment 'Bad Channel G-Lines allow operators to add channel masks to a list whic
     fi
   bool 'Do you want to log connecting users to a separate file' CONFIG_LOG_USERS
     if [ "$CONFIG_LOG_USERS" = "y" ]; then
-      string '   Give the path and(or) filename of this log file' FNAME_USERLOG $DPATH/users
+      string '   Give the path and(or) filename of this log file' FNAME_USERLOG users.log
     fi
   bool 'Do you want to log Opers to a separate file' CONFIG_LOG_OPERS
     if [ "$CONFIG_LOG_OPERS" = "y" ]; then
-      string '   Give the path and(or) filename of this log file' FNAME_OPERLOG $DPATH/opers
+      string '   Give the path and(or) filename of this log file' FNAME_OPERLOG opers.log
     fi
   if [ "$ac_cv_header_syslog_h" = "yes" ]; then
     bool 'Do you want to use syslog' USE_SYSLOG
@@ -374,7 +374,7 @@ comment 'Mandatory defines (you should leave these untouched)'
     define_bool LOCAL_KILL_ONLY $LOCAL_KILL_ONLY
   fi
   int 'KILL nick chase time limit (30)' KILLCHASETIMELIMIT 30
-  int 'Max number of channels per user (recommended: 5)' MAXCHANNELSPERUSER 10
+  int 'Max number of channels per user (recommended: 10)' MAXCHANNELSPERUSER 10
   int 'Max number of silence masks (15!)' MAXSILES 15
   int 'Expected average banmask length (40!)' AVBANLEN 40
   eval define_macro MAXSILELENGTH \'\($AVBANLEN * MAXSILES\)\'
index 64b5069ef2cd536d9c9adb6aa27c2348867db80c..77b369c302ee7af12ab04db24b1a7d7fff250ab8 100644 (file)
 /* 
  * 'Features' supported by this ircd
  */
-#define FEATURES "SILENCE=15"\
+#define FEATURES \
                 " WHOX"\
                 " WALLCHOPS"\
                 " USERIP"\
                 " CPRIVMSG"\
                 " CNOTICE"\
+                " MAP" \
+                " SILENCE=%i " \
                 " MODES=%i" \
                 " MAXCHANNELS=%i" \
                 " MAXBANS=%i" \
                 " NICKLEN=%i" \
                 " TOPICLEN=%i" \
                 " KICKLEN=%i" \
-                " MAP"
+                " CHANTYPES=%s"
                  
-#define FEATURESVALUES MAXMODEPARAMS,MAXCHANNELSPERUSER,MAXBANS, \
-        NICKLEN,TOPICLEN,TOPICLEN
+#define FEATURESVALUES 15,MAXMODEPARAMS,MAXCHANNELSPERUSER,MAXBANS, \
+        NICKLEN,TOPICLEN,TOPICLEN,"+#&"
 
 #endif /* INCLUDED_supported_h */
 
index 5578d0f5d350ce6beb55839cd217080e158b6dff..3759a8e0a477a2f09d3c39c933b0eb84a861e6ce 100644 (file)
@@ -400,7 +400,7 @@ int mr_server(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
      *  If my ircd.conf sucks, I can try to connect to myself:
      */
     if (acptr == &me)
-      return exit_client_msg(cptr, cptr, &me, "nick collision with me (%s), check server number?", host);
+      return exit_client_msg(cptr, cptr, &me, "nick collision with me (%s), check server number in M:?", host);
     /*
      * Detect wrong numeric.
      */
@@ -1066,7 +1066,7 @@ int ms_server(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
      */
     if (acptr == &me)
       return exit_client_msg(cptr, cptr, &me,
-          "nick collision with me (%s)", host);
+          "nick collision with me, check server number in M:? (%s)", host);
     /*
      * Detect wrong numeric.
      */
@@ -1731,7 +1731,7 @@ int m_server(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
      */
     if (acptr == &me)
       return exit_client_msg(cptr, cptr, &me,
-          "nick collision with me (%s)", host);
+          "nick collision with me, check server number in M:? (%s)", host);
     /*
      * Detect wrong numeric.
      */
index 45c11ed3e07f01fe284a822653cea3a1da92ed01..7d78eca91443e4633eed714ad58b560100a4fdd2 100644 (file)
@@ -354,7 +354,11 @@ struct Message msgtab[] = {
     TOK_OPER,
     0, MAXPARA, MFLG_SLOW, 0,
     /* UNREG, CLIENT, SERVER, OPER, SERVICE */
+#ifndef NOOPER    
     { m_unregistered, m_oper, ms_oper, mo_oper, m_ignore }
+#else
+    { m_unregistered, m_oper, m_ignore, m_ignore, m_ignore }
+#endif
   },
   {
     MSG_CONNECT,