Log message:
More doco changes, IPcheck 'fixes'.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@268
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
#
# BUGS file for ircu2.10
#
#
# BUGS file for ircu2.10
#
-# $Id: BUGS,v 1.6 2000-04-15 04:20:14 bleep Exp $
+# $Id: BUGS,v 1.7 2000-07-15 01:31:23 isomer Exp $
#
* crule parser coredumps on invalid input
#
* crule parser coredumps on invalid input
-* /mode #foo +o Thisnickdoesntexist -> Core dump. Kev?
- - FIXED
+* throttle
+ * gets corrupted data when adding a new server.
+ * looses count and assert()'s frequently?
+2000-07-09 Perry Lorier <Isomer@coders.net>
+ * doc/ircd.8: Applied grammitical changes by Liandrin, applied
+ changes suggested by various other people.
+ * ircd/IPcheck.c: More bug fixes. Current problem appears to be
+ that it gets a corrupt entry somehow.
2000-07-09 Greg Sikorski <gte@atomicrevs.demon.co.uk>
* ircd/m_oper.c: Clean up compiler warning.
2000-07-08 Perry Lorier <Isomer@coders.net>
* doc/ircd.8: Updated the documentation, it was slightly out of date
2000-07-09 Greg Sikorski <gte@atomicrevs.demon.co.uk>
* ircd/m_oper.c: Clean up compiler warning.
2000-07-08 Perry Lorier <Isomer@coders.net>
* doc/ircd.8: Updated the documentation, it was slightly out of date
- being updated around the 05 March 1988.
+ being updated around 1989.
* ircd/m_whois.c: Rewrote for clarity, and probably a bit more speed.
fixed a few minor glitches.
* doc/rfc1459.unet: Updated.
* ircd/m_whois.c: Rewrote for clarity, and probably a bit more speed.
fixed a few minor glitches.
* doc/rfc1459.unet: Updated.
#
# ChangeLog for ircu2.10.11
#
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.155 2000-07-09 14:19:43 gte Exp $
+# $Id: ChangeLog,v 1.156 2000-07-15 01:31:23 isomer Exp $
#
# Insert new changes at beginning of the change list.
#
#
# Insert new changes at beginning of the change list.
#
.\" @(#)ircd.8 2.0 (beta version) 29 Mar 1989
.\" @(#)ircd.8 2.0 (beta version) 29 Mar 1989
-.TH IRCD 8 "8 July 2000"
+.TH IRCD 8 "10 July 2000"
.SH NAME
ircd \- The Undernet Internet Relay Chat Daemon
.SH SYNOPSIS
.SH NAME
ircd \- The Undernet Internet Relay Chat Daemon
.SH SYNOPSIS
[-t] [-d directory] [-f configfile] [-x debuglevel] [-h hostname]
.SH DESCRIPTION
.LP
[-t] [-d directory] [-f configfile] [-x debuglevel] [-h hostname]
.SH DESCRIPTION
.LP
-\fIircd\fP is the server (daemon) program for the Internet Relay Chat
-Program. The \fIircd\fP is a server in that its function is to "serve"
+\fIircd\fP is the Undernet Internet Relay Chat daemon.
+\fIircd\fP is a server in that its function is to "serve"
the client program \fIirc(1)\fP with messages and commands. All commands
the client program \fIirc(1)\fP with messages and commands. All commands
-and user messages are passed directly to the \fIircd\fP for processing
-and relaying to other ircd sites. The \fIirc(1)\fP program depends upon
-there being an \fIircd\fP server running somewhere (either on your local
-UNIX site or a remote ircd site) so that it will have somewhere to connect
-to and thus allow the user to begin talking to other users.
+and user messages are passed directly to \fIircd\fP for processing
+and relaying to other servers. \fIirc(1)\fP depends upon
+there being an \fIircd\fP server running somewhere for it to connect to
+and thus allow the user to begin talking to other users.
-There are many common clients including ircii, epic, BitchX and other ones
-for Non unix platforms as well, such as mIRC, Pirch, Ircle etc.
+There are many common clients including ircII, EPIC, and BitchX for UNIX,
+mIRC and pIRCh for Windows, and IRCle and Homer for the Macintosh.
.SH OPTIONS
.TP
.B \-d directory
.SH OPTIONS
.TP
.B \-d directory
that as a reference point when opening \fIircd.conf\fP and other startup
files.
.TP
that as a reference point when opening \fIircd.conf\fP and other startup
files.
.TP
-.B \-o
-This option is obsolete.
-.TP
-.B \-a
-This option is obsolete.
-.TP
.B \-t
Instructs the server run in the foreground and to direct debugging output to
standard output.
.TP
.B \-x#
.B \-t
Instructs the server run in the foreground and to direct debugging output to
standard output.
.TP
.B \-x#
-Defines the debuglevel for ircd. The higher the debuglevel, the more stuff
-gets directed to debugging file (or standard output if -t option was used
-as well).
-.TP
-.B \-i
-This option is obsolete.
+Defines the debug level for \fIircd\fP. The higher the debug level, the more
+messages get directed to debugging file (or standard output if the -t option is
+used).
-This command is depreciated. Outgoing connections are bound to the
-interface specified in the M:, and Incoming connections are accepted only on
-interfaces specified in the P:'s.
+This option is deprecated. Outgoing connections are bound to the
+interface specified in the M: line, and incoming connections are accepted only on
+interfaces specified in the P: lines.
-Specifies the ircd.conf file to be used for this ircdaemon. The option
-is used to override the default ircd.conf given at compile time.
+Specifies the \fIircd.conf\fP file to be used for this server. The option
+is used to override the default \fIircd.conf\fP given at compile time.
-This flag must be given if you are running ircd from \fI/dev/console\fP or
-any other situation where fd 0 isnt a tty and you want the server to fork
+This flag must be given if you are running \fIircd\fP from \fI/dev/console\fP or
+any other situation where fd 0 isn't a TTY and you want the server to fork
off and run in the background. This needs to be given if you are starting
\fIircd\fP from an \fIrc\fP (such as \fI/etc/rc.local\fP) file.
.TP
off and run in the background. This needs to be given if you are starting
\fIircd\fP from an \fIrc\fP (such as \fI/etc/rc.local\fP) file.
.TP
-.B \-q
-This option is obsolete.
-.TP
.B \-h hostname
Allows the user to manually set the server name at startup. The default
name is hostname.domainname.
.B \-h hostname
Allows the user to manually set the server name at startup. The default
name is hostname.domainname.
-This is depreciated in favour of specifying server ports in P:'s
+This is deprecated in favor of specifying server ports in P: lines.
-If you plan to connect your \fIircd\fP server to an existing Irc-Network,
-you will need to alter your local IRC CONFIGURATION FILE (typically named
-"ircd.conf") so that it will accept and make connections to other \fIircd\fP
-servers. This file contains the hostnames, Network Addresses, and sometimes
-passwords for connections to other ircds around the world. Because
-description of the actual file format of the "ircd.conf" file is beyond the
-scope of this document, please refer to the file INSTALL in the IRC source
-files documentation directory.
+If you plan to connect your \fIircd\fP server to an existing IRC network,
+you will need to alter your local \fIircd\fP configuration file (typically named
+\fIircd.conf\fP) so that it will accept and make connections to other IRC
+servers. This file contains the hostnames, network addresses, and
+passwords for connections to other IRC servers around the world. Because
+the description of the \fIircd.conf\fP file is beyond the scope of this
+document, please refer to the INSTALL file in the \fIircd\fP
+documentation directory.
.LP
BOOTING THE SERVER: The \fIircd\fP server can be started as part of the
UNIX boot procedure or just by placing the server into Unix Background.
.LP
BOOTING THE SERVER: The \fIircd\fP server can be started as part of the
UNIX boot procedure or just by placing the server into Unix Background.
.SH "SEE ALSO"
irc(1)
.SH BUGS
See the file 'BUGS' included in the distribution.
.SH AUTHOR
The current authors of the undernet IRC daemon are coder-com@undernet.org,
.SH "SEE ALSO"
irc(1)
.SH BUGS
See the file 'BUGS' included in the distribution.
.SH AUTHOR
The current authors of the undernet IRC daemon are coder-com@undernet.org,
-the original author was Jarkko Oikarinen, currently jto@tolsun.oulu.fi,
-manual page written by Jeff Trim, jtrim@orion.cair.du.edu, later modified by
-jto@tolsun.oulu.fi and then isomer@coders.net.
+the original author was Jarkko Oikarinen.
\ No newline at end of file
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
#warning Nick collisions are horribly broken in
#warning this version, and its known to core on
#warning a whim. If your even concidering
#warning Nick collisions are horribly broken in
#warning this version, and its known to core on
#warning a whim. If your even concidering
++listener->ref_count;
Count_newunknown(UserStats);
++listener->ref_count;
Count_newunknown(UserStats);
+ ip_registry_connect_succeeded(new_client);
/* if we've made it this far we can put the client on the auth query pile */
start_auth(new_client);
}
/* if we've made it this far we can put the client on the auth query pile */
start_auth(new_client);
}
Count_newunknown(UserStats);
ip_registry_add_local(aconf->ipnum.s_addr);
Count_newunknown(UserStats);
ip_registry_add_local(aconf->ipnum.s_addr);
+ /* Actually we lie, the connect hasn't succeeded yet, but we have a valid
+ * cptr, so we register it now.
+ * Maybe these two calls should be merged.
+ */
+ ip_registry_connect_succeeded(cptr);
add_client_to_list(cptr);
hAddClient(cptr);
nextping = CurrentTime;
add_client_to_list(cptr);
hAddClient(cptr);
nextping = CurrentTime;
nextping = CurrentTime;
if (sptr->snomask & SNO_NOISY)
set_snomask(sptr, sptr->snomask & SNO_NOISY, SNO_ADD);
nextping = CurrentTime;
if (sptr->snomask & SNO_NOISY)
set_snomask(sptr, sptr->snomask & SNO_NOISY, SNO_ADD);
- ip_registry_connect_succeeded(sptr);
}
else
/* if (IsServer(cptr)) */
}
else
/* if (IsServer(cptr)) */