| Age | Commit message (Collapse) | Author |
|
Use "Listen = list,of,addresses" instead.
|
|
this also obsoletes ListenIPv4 and ListenIPv6 options.
If Listen is unset, it is treated as Listen="::,0.0.0.0".
Note: ListenIPv4 and ListenIPv6 options are still recognized,
but ngircd will print a warning if they are used in the config file.
Also, some plattforms require that ai_socktype
is set in the getaddrinfo() hints structure.
|
|
This patch adds -h and -V short options (to complement the usage).
It is based on a patch attached to Debian bug #466063, see
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466063>.
Idea by Jari Aalto <jari.aalto@cante.net>,
patch adapted by Alexander Barton <alex@barton.de>.
|
|
The misc-test.e file is also somewhat reorganized and commented here.
Patch from Brandon Beresini, Bryan Caldwell and Dana Dahlstrom.
|
|
|
|
It is hard to test this in the test suite because we 1) shouldn't rely on
previous tests populating WHOWAS and 2) don't connect a user for more than 30
seconds.
Also makes WHOWAS return ERR_NONICKNAMEGIVEN_MSG as implied by RFC.
|
|
|
|
Added symbolic links to new tests (invite-test, join-test, and kick-test)
to .gitignore file.
|
|
Some operating systems, for example OpenBSD, use "localhost.<domain>"
instead of "localhost", so the "who-test" expecting "localhost" failed
on such systems.
|
|
compile on FreeBSD 5.4 failed with:
./../ipaddr/ng_ipaddr.h:34: error: field `sin4' has incomplete type
Reported and tested by Jefferson S Almeida.
|
|
|
|
/who on a secret channel that the user is not a member of
now returns proper RPL_ENDOFWHO_MSG instead of nothing.
|
|
|
|
[Dana Dahlstrom: repair tab/space conversion in patch]
|
|
SERVICE, SERVLIST, and SQUERY are required by RFC 2812 (it states in
section 3 that "all commands described in this section MUST be implemented
by any server for this protocol." -- So we implement them without (much)
actual functionality ...
|
|
|
|
|
|
|
|
Brandon Beresini sent me a patch yesterday adding tests for JOIN under
various circumstances, which I believe he worked on with Bryan Caldwell
and Ali Shemiran. I made a few modifications; the result is below.
|
|
includes test cases.
[fw@strlen.de:
- move code around to avoid duplication
- use const where possible
- integrate test case]
|
|
|
|
This prevents who-test.e from failing when ngircd
is performing ident lookups and an ident server is running.
|
|
|
|
|
|
|
|
Allow IRC ops to ignore any channel limit (bans, invite only etc.) when they
want to join a channel.
|
|
Code cleanup and fix for Bug #83, "ngIRCd chokes on 1-character messages" in
function Handle_Buffer(): the buffer is now correctly cleared when ngIRCd
receives 1-character messages terminated with either CR or LF (in violation
to RFC 2812, section 2.3 "Messages", 5th paragraph).
|
|
On AIX and probably other systems socklen_t is defined in sys/socket.h,
so we have to include it here explicitly (tested by Florian).
|
|
Modeless channels (+channels) are described in RFC 2811;
so my modifications to
530112b114ffa7d5352c0733790ddf90253f41f9
('Add support for modeless channels')
to disable +channels for --strict-rfc configurations
were wrong. This reverts those changes.
|
|
|
|
Add support for modeless channels (+channels).
[fw@strlen.de:
- integrate test cases
- don't support +channels when compiled with --strict-rfc
- do not set +o mode for channel creator
- force +nt mode when channel is created ]
|
|
|
|
|
|
The config file for ngircds test suite contained obsolete
ConfUID/ConfGID settings, causing ngircd to needlesly complain when
started as non-root (which is hopefully the _normal_ case...)
|
|
(cherry picked from commit b187fac244f4e14705f882ba7c43eef0238e2830)
|
|
When trying to part a channel ("PART #channel") the client is not member of
the daemon now correctly reports the numeric ERR_NOTONCHANNEL (442) insted
of ERR_NOSUCHCHANNEL (403).
|
|
|
|
|
|
This also enables ipv6-only setups.
|
|
|
|
Incidentially, this doesn't even change the
generated code...
|
|
|
|
No functional changes were made.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since we are using GIT starting from now, I converted all the
.cvsignore files to .gitignore files.
|