1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-02-14 16:20:02 +00:00

1775 Commits

Author SHA1 Message Date
Florian Westphal
3b69da0c52 io.c: fix select FD_SETSIZE check when using epoll as io backend 2008-04-07 13:37:49 +02:00
Alexander Barton
04933f5b8b Fixed indentation ... too late for 0.11.1 :-/ 2008-04-07 13:37:46 +02:00
Alexander Barton
45df522bcb ngIRCd 0.11.1. rel-0-11-1 2008-02-26 19:37:34 +00:00
Alexander Barton
51260c2e9f Updated NEWS and ChangeLog for 0.11.1. 2008-02-26 19:22:06 +00:00
Florian Westphal
55865d7fc6 From: Rolf Eike Beer <eike@sf-mail.de>
Fix sending of JOINs between servers

I found a bug in "sending join between servers".
This does hit only operators that join a channel with at least 2 servers active in the net
the server the oper connects to sends "channel^Go" to the other servers
the other server first searches for the channel and then strips the modes from the channel name
he has to do the other way round: first strip and then check the channel name.
2008-02-26 12:07:41 +00:00
Florian Westphal
082a92beef send "G" flag in WHOIS replies instead of "H" if client is marked as being away.
(reported by Dana Dahlstrom)
2008-02-26 12:06:57 +00:00
Florian Westphal
e92c889580 From: Dana Dahlstrom <dana+70@cs.ucsd.edu>
Under some circumstances ngIRCd currently issues a channel MODE message
with a trailing space after the last parameter, which isn't permitted by
the grammar in RFC 2812 section 2.3.1:

http://tools.ietf.org/html/rfc2812#section-2.3.1

The following patch modifies mode-test.e to expose this, and modifies
irc-mode.c to correct it. [from HEAD]
2008-02-16 11:26:11 +00:00
Florian Westphal
de4676f066 [Parser]: Don't use Client_Type after command has been processed.
This caused a read from already free'd memory, if the processed
command (IRC_QUIT) calls Client_Destroy. (from HEAD)
2008-02-05 13:11:20 +00:00
Florian Westphal
64a98338d5 [LOGIN] irc_login, w CVSDATE defined, used strncpy with overlapping src/dest.
use memmove instead (from HEAD).
2008-02-05 11:48:37 +00:00
Alexander Barton
f4709082fe ngIRCd 0.11.0 rel-0-11-0 2008-01-15 20:45:52 +00:00
Alexander Barton
997abc6889 Documented NoDNS configuration option. [from HEAD] 2008-01-07 23:10:28 +00:00
Alexander Barton
b7047f2e3b Updated ChangeLog to reflect changes from 0.10.x branch. 2008-01-07 23:09:25 +00:00
Alexander Barton
e990d96c61 ngIRCd 0.11.0-pre2 rel-0-11-0-pre2 2008-01-07 21:25:35 +00:00
Florian Westphal
d986cd372f IRC_PART could reference invalid memory. 2008-01-07 11:42:13 +00:00
Florian Westphal
762aec0e08 Remove entry about ngircd failing on Linux 2.4: ngircd can now fall back to select. 2008-01-02 22:36:48 +00:00
Alexander Barton
f8cb8e3f20 Fixed year of release (2009 vs. 2008) ... ooops ;-) 2008-01-02 21:39:59 +00:00
Alexander Barton
478a8c01f9 Updated NEWS and ChangeLog files. 2008-01-02 11:31:48 +00:00
Florian Westphal
61e6b5c0aa [Resolver]: Use dotted-decimal IP address if hostname is >= 64 2008-01-02 11:03:29 +00:00
Florian Westphal
91a6fffaa0 io_event_disable: return if event-to-disable is already off 2008-01-02 10:29:51 +00:00
Florian Westphal
2ce5b734bd kqueue: check for EV_ERROR in .flags
if kevent() returns events, check for EV_ERROR in event flags, too.
2007-12-27 18:25:26 +00:00
Florian Westphal
f99f9a8f02 Fix format arg: ListenAddress was printed instead of Bind address. 2007-12-13 01:30:16 +00:00
Florian Westphal
4715ccf9ca Fix format string in error path: didn't print strerror(errno) 2007-12-13 01:05:01 +00:00
Florian Westphal
8974e90552 implement '/STAT u' (uptime) 2007-12-11 11:29:43 +00:00
Florian Westphal
2fe13f0a45 Fix fmt string: int, not long 2007-12-07 21:19:01 +00:00
Florian Westphal
20ce56cc5b include <arpa/inet.h> inside tool.h
In file included from hash.c:24:
../tool/tool.h:27: warning: `struct in_addr' declared inside parameter list
2007-11-25 18:42:37 +00:00
Florian Westphal
47a0379e2b remove ip-string from Conf_Server struct
struct Conf_Server stored the ip address to connect to
in dotted-decimal notation; but we only need this for connect()
so long-time storage isn't necessary.
2007-11-23 16:28:37 +00:00
Florian Westphal
37563537a9 document new "Bind" server config option in changelog. 2007-11-23 16:28:05 +00:00
Florian Westphal
82d32ffb28 bind ListenAddress for outgoing connections
ngircd would always use INADDR_ANY for outgoing connections;
which might not be desirable. Added new [Server] option
"Bind" to set source ip.
2007-11-23 16:26:03 +00:00
Alexander Barton
024588dbe7 Funktions to handle numerics sent to the server. 2007-11-21 12:20:32 +00: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
12db0bdc4f Re-added doc/SSL.txt to distribution -- got lost somewhere!? 2007-11-20 21:39:35 +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
c7d4d85666 Remove some bogus files from project ... 2007-11-19 23:38:59 +00:00
Alexander Barton
4659dae6eb Update Mac OS X Xcode project file for Xcode 3.
Allow building of ngIRCd using Xcode 3 without running ./configure.
2007-11-19 22:11:36 +00:00
Alexander Barton
68f896eee0 Adjust test suite to be usable on HP/UX 11.11 :-) 2007-11-18 15:07:16 +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
2f305331a1 add tiny note about ngircd using syslog(3) by default. 2007-11-15 01:03:29 +00:00
Florian Westphal
ad7361dfe0 if ngircd doesn't run chrooted, it tries to chdir
to the users working directory (as returned by getpwuid()).
Failing to chdir to that directory isn't an error; so
log with LOG_INFO and prefix the message with "Notice".
2007-11-15 01:03:01 +00:00
Florian Westphal
e47c9d750f Document NoDNS Option in changelog 2007-10-25 11:03:02 +00:00
Florian Westphal
001c00b273 New config option NoDNS: disables all DNS queries. 2007-10-25 11:01:19 +00:00
Florian Westphal
b861f536b2 configtest would still print "-1" for MaxConnections, MaxConnectionsIP and MaxJoins
if any of those values was set to 0.
2007-10-24 00:48:41 +00:00
Alexander Barton
877bcc55f2 Updates NEWS to reflect changes in CVS HEAD 2007-10-14 14:17:32 +00:00
Alexander Barton
8f162f4e17 Fixed propagation of channel mode 'P' on server links. 2007-10-14 12:08:57 +00:00
Alexander Barton
089ca21b3d Xcode project: include manual page template files, not generated pages. 2007-10-14 11:25:45 +00:00
Alexander Barton
137a139112 Updated Mac OS X project file for Xcode. 2007-10-14 10:37:20 +00:00
Florian Westphal
b160f574de fix doc and manpage wrt. MaxConnections, MaxConnectionsIP and MaxJoins values 2007-10-13 20:45:11 +00:00
Florian Westphal
d223b587e4 accoring to comments in the code, MaxConnections, MaxConnectionsIP and MaxJoins
options allow setting values < 0 -- this isn't the case. Comments adjusted.
2007-10-13 19:11:06 +00:00
Alexander Barton
77939c382d Updated preferred automake version to 1.9. Only set preferences if not
already defined by some environment variables.
2007-10-07 13:02:15 +00:00
Alexander Barton
f586052f2b Made pointer to the mailing list more prominent. 2007-10-04 15:18:48 +00:00
Alexander Barton
d4ed056147 Numeric 317: implemented "signon time" (displayed in WHOIS result). 2007-10-04 15:03:55 +00:00