Alexander Barton
881b9af251
Generate WALLOPS message on operator-generated SQUIT
2009-09-30 16:00:06 +02:00
Alexander Barton
294320ed62
Enable SQUIT command for IRC Operators
...
This patch enables IRC Operators to use the SQUIT command as specified in
RFC 2812, section 3.1.8 "Squit".
When forwarding SQUIT commands, the server connected to the target will
drop the connection (not the target server itself!).
Please note:
- the configuration option "AllowRemoteOper" mus be enabled on the
server disconnecting the target to allow forwarding of SQUIT commands.
- if the remote server is configured to establish the connection, it
will just do this; so the disconnect is not permanent in this case!
2009-09-30 16:00:06 +02:00
Alexander Barton
bce16c2864
Code cleanup of IRC_SQUIT() in preparation to deal with bug #73 .
2009-09-30 16:00:05 +02:00
Alexander Barton
3b37ad334b
IRC_SERVER(): code cleanup, remove unneeded variable
2009-09-11 00:41:12 +02:00
Florian Westphal
b545d38ae4
irc-server: do not remove hostnames from info text
...
that code does not really make sense -- the info
text is freely cofngiureable and des not follow a specific
format.
Also, that "+2" might have caused invalid memory accesses.
2009-04-22 23:15:17 +02:00
Florian Westphal
544b9884f4
remove or translate old comments
2009-04-21 20:58:30 +02:00
Alexander Barton
a60465be3e
Server links: detect RFC 1459 mode direct after SERVER command
...
This patch allows ngIRCd to detect right after receiving the SERVER command
from the peer whether the RFC 1459 compatibility mode must be used or not.
And it fixes the announcement of users during establishing new server links
with such peers.
2008-09-23 11:47:17 +02:00
Alexander Barton
47ca178a21
Introduce option to configure the maximum nick name lenth in ngircd.conf
...
- New configuration option "MaxNickLength" to specify the allowed maximum
length of user nick names. Note: must be unique in an IRC network!
- Enhanced the IRC+ protocol to support an enhanced "server handshake" and
enable server to recognice numeric 005 (ISUPPORT) and 376 (ENDOFMOTD).
See doc/Protocol.txt for details.
2007-11-21 12:16:33 +00:00
Alexander Barton
53b98fd7e9
Fixes the wrong logging output when nested servers are introduced
...
to the network as well as the wrong output of the LINKS command.
2007-11-20 20:02:40 +00:00
Alexander Barton
06bfb3adfb
Fix code to compile using K&R C compiler and ansi2kr again.
2007-11-18 15:05:35 +00:00
Florian Westphal
fa7bb2790a
moved invite/ban lists to channel structure
2006-12-07 17:57:20 +00:00
Florian Westphal
37602d1523
Log(LOG_DEBUG, .. -> LogDebug()
2006-12-02 14:10:48 +00:00
Florian Westphal
6e105bf87e
channel maxusers now unsigned long
2006-10-06 21:32:58 +00:00
Alexander Barton
27d947fb7d
Allow PASS syntax defined in RFC 1459 for server links, too.
...
Removed client status CLIENT_GOTPASSSERVER.
2006-10-01 19:05:00 +00:00
Alexander Barton
6d3686e73d
Send invite and ban lists only once and not repeatedly for every channel.
2006-04-30 21:31:43 +00:00
Florian Westphal
8adff59223
Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.
...
use stdbool.h / inttypes.h if available.
2005-03-19 18:43:48 +00:00
Alexander Barton
3012c232eb
Fixed resolver when using IDENT lookups, cleaned up code.
2004-05-11 00:01:11 +00:00
Alexander Barton
dd59820051
Synchronize INVITE- and BAN-lists if the peer requests it:
...
server flag "L". And better debug logging.
2004-04-25 15:43:18 +00:00
Alexander Barton
57c7e23622
Added #include for strings.h to fix compiler warnings.
2004-01-17 03:17:49 +00:00
Alexander Barton
c40592d2ce
Removed "USE_" prefixes of configuration #defines.
2003-12-26 15:55:07 +00:00
Alexander Barton
6647da58fc
NJOIN: Fixed propagation of user channel modes.
2003-07-09 18:45:56 +00:00
Alexander Barton
feafb6cb2e
Don't forward NJOIN's for unknown nick names.
2003-04-20 23:09:26 +00:00
Alexander Barton
fa80012e71
- Enhanced CHANINFO command for channel keys and user limits.
2003-01-08 22:04:43 +00:00
Alexander Barton
437f2c335f
- Renamed functions now found in "conn-zip.c".
2002-12-30 16:07:50 +00:00
Alexander Barton
a2544e496c
- Cleaned up handling of server configuration structures.
2002-12-30 00:01:42 +00:00
Alexander Barton
b316c380ad
- replaced some calls to sprintf() with snprintf() -- more secure :-)
2002-12-26 17:14:48 +00:00
Alexander Barton
695631b298
- replaced a lot of strcpy() calls with strlcpy() which is more secure.
2002-12-26 17:04:54 +00:00
Alexander Barton
6626395c88
- replaced a lot of strcat() calls with strlcat() which is more secure.
2002-12-26 16:48:14 +00:00
Alexander Barton
0ced4181b0
- replaced all strncpy()'s and strncat()'s with strlcpy() and strlcat().
2002-12-26 16:25:43 +00:00
Alexander Barton
490f28ffd1
- new file header format (in english);
...
- new file ident semantics.
2002-12-12 12:24:18 +00:00
Alexander Barton
1e59617d2c
- Parser auf Befehlstabelle umgestellt.
2002-11-30 15:04:57 +00:00
Alexander Barton
ee2c0f7701
- SQUIT wird nicht mehr zweimal fuer einen Server verschickt.
2002-11-28 14:31:43 +00:00
Alexander Barton
65f3adca21
- Unterstuetzung fuer komprimierte Server-Server-Links implementiert.
2002-11-26 23:07:24 +00:00
Alexander Barton
b2615bcc76
- Server identifizieren sich nun mit asyncronen Passwoertern.
2002-11-19 12:50:20 +00:00
Alexander Barton
9523e28179
- IRC_Server() ruft nun Conn_SetServer() zur Server-Registrierung auf.
2002-11-05 14:18:59 +00:00
Alexander Barton
ec474a4bd2
- "format-string-bugs", die zum Abbruch des Servers fuehrten, behoben.
2002-10-04 11:21:46 +00:00
Alexander Barton
3dc1621200
- IRC+-Protokoll ist nun abschaltbar.
2002-09-07 17:57:31 +00:00
Alexander Barton
938abb0236
- CHANINFO wird auf Server-Links gesendet, wenn unterstuetzt.
2002-09-03 23:55:44 +00:00
Alexander Barton
d58431a097
- PASS-Befehl auf NGIRCd_ProtoID umgestellt.
2002-09-02 19:03:09 +00:00
Alexander Barton
7d30c8cebc
- Hmpf. "Verfruehtes" CVS-Update einiger Source-Files zurueckgenommen ...
2002-08-26 23:47:58 +00:00
Alexander Barton
d645ce86e9
- Bei einem JOIN in einen persistenten Channel werden nun evtl. zu setzende
...
User-Modes korrekt in den Channel gemeldet.
2002-08-26 23:39:22 +00:00
Alexander Barton
e07fab17b1
- NJOIN wurde "zerhackt" an andere Server weitergegeben.
2002-07-25 12:33:19 +00:00
Alexander Barton
f7327524fc
- Weitere Anpassungen an pre-ANSI-Compiler.
2002-05-30 16:52:20 +00:00
Alexander Barton
c2f60abe55
- Anpassungen an pre-ANSI-Compiler,
...
- Includes aufgeraumt: Header includieren keine anderen mehr.
2002-05-27 13:09:26 +00:00
Alexander Barton
2310ac2c39
- Es wird nicht mehr anhand der Parameter-Anzahl, sondern des Token erkannt,
...
ob es sich beim SERVER-Befehl um ein- oder ausgehende Verbindungen handelt
und somit die eigenen PASS- und SERVER-Befehle gesendet werden muessen.
2002-04-08 01:20:14 +00:00
Alexander Barton
6b58ab8427
- einige Log-Meldungen werden nun auch als Server Notice verschickt.
2002-03-27 20:52:58 +00:00
Alexander Barton
bc4ed22635
- alle Client_GetFromID() durch Client_Search() ersetzt.
2002-03-25 17:08:54 +00:00
Alexander Barton
ca33cbda05
- externe portab-Header werden nicht mehr benoetigt/benutzt, dadurch
...
einige Aenderungen an diversen Source-Dateien und Headern.
- Dateien enthalten keine CVS-History mehr.
2002-03-12 14:37:51 +00:00
Alexander Barton
f7a0ff1f65
- SQUIT, QUIT: Loglevel bei unbekannten Clients wieder auf WARNING erhoeht.
2002-03-11 22:06:32 +00:00
Alexander Barton
50ec7a56a4
- Client_Destroy() hat neuen Paramter: QUITs fuer Clients verschicken?
2002-03-11 22:04:10 +00:00