Bram Matthys
ff5e6a1a0c
- Windows: Fix strange linking bug. Outgoing connects from a Windows
...
IRCd caused a garbled SERVER protocol message, causing 'cannot find
server' errors and killing of users. Reported by Sunkat (#4183 ).
2013-04-04 23:07:04 +02:00
William Pitcock
f0167d1284
- Pull in poll(2) stuff before any other ircd include files. ( #4155 )
...
This allows us to successfully build on systems where pulling in poll.h
pollutes the code with a broken form of ctypes.h due to a few reasons, not
limited to, but including, usage of non-namespaced macros which clash with
our own.
2013-01-14 02:12:43 -06:00
Bram Matthys
7530ce6b29
- Don't remove oper-modes such as +S from non-local clients. Reported by
...
Magiobiwan (#4166 ). This caused an issue with bots from anope BotServ
where user modes +Sq were stripped by the IRCd.
2013-02-19 19:31:30 +01:00
Bram Matthys
c5866e2a80
allow channel: Permit multiple channel items in one block again, was broken by patch from #4125 .
2013-01-11 19:05:36 +01:00
Bram Matthys
d262f6f5e3
'/rehash -global' did often not rehash all servers. Reported by Cronus ( #4143 ).
2013-01-09 19:41:18 +01:00
Bram Matthys
04820fda45
Fix duplicate user@host in away-notify and account-notify, reported by grawity ( #4153 ).
2012-12-28 17:01:05 +01:00
Bram Matthys
614d980596
If you are running the IRCd as root and use IRC_USER/IRC_GROUP then we now
...
change ownership of the log file to that user/group so it can still write
after the setuid(). Reported by asmadeus (#4152 ).
2012-12-26 15:51:26 +01:00
Bram Matthys
0178632529
Update contributors in /INFO
2012-12-25 11:31:11 +01:00
Bram Matthys
8589555273
Bump version in all source/include/text files
2012-12-25 10:53:12 +01:00
William Pitcock
2cc9482e18
- Use a more robust method of learning the server origin for a SASL agent.
2012-10-27 22:42:32 +00:00
Bram Matthys
734c3c8cdc
Added last donator before rc1
2012-10-16 18:49:21 +02:00
Bram Matthys
f70a201715
- Update version to 3.2.10-rc1
2012-10-16 15:25:04 +02:00
Bram Matthys
4c30008313
- Windows: fix MOTD file always showing a date of 1/1/1970, reported
...
by maxarturo (#4102 ).
2012-10-16 11:33:27 +02:00
Bram Matthys
b600dffdc8
- Added auth method 'sslclientcertfp' which provides an alternative
...
method to authenticate users with SSL client certificates based
on SHA256 fingerprints. This can be used instead of the already
existing 'sslclientcert' so you don't have to use an external file.
One way to get the SHA256 fingerprint would be:
openssl x509 -in name-of-pem-file.pem -sha256 -noout -fingerprint
Suggested and patch supplied by Jobe (#4019 ).
- Added documentation on the new sslclientcertfp
- Moved documentation on authentication types to one place and refer
to it from each section (oper::password, vhost::password,
link::password-receive, etc).
2012-10-15 21:25:38 +02:00
Bram Matthys
eb12f79ba3
- Added set::options::disable-cap, which can be used to disable the
...
new CAP support (#4104 ).
2012-10-15 15:29:52 +02:00
Bram Matthys
96eb692cc6
various win32 fixes:
...
- Disable USE_POLL on Windows, since it doesn't work with XP and has
no advantage anyway. Reported by nenolod (#4129 ).
- Various updates to makefile.win32 and .iss file, found during
building new versions of zlib, openssl, and curl.
2012-10-15 15:01:35 +02:00
Bram Matthys
e81cf14707
- Fix bug where recursive includes would hang the IRCd, patch from
...
binki with some minor modifications, reported by warg (#3919 ).
2012-10-14 11:47:26 +02:00
Bram Matthys
906814a31d
- Use poll() in the remote includes functions when USE_POLL is
...
defined (#4091 ).
2012-10-14 11:23:14 +02:00
Bram Matthys
3e9d300086
- Add 'class' option to allow/deny channel so you can allow/deny
...
users based on their class. Patch from fspijkerman (#4125 ).
2012-10-06 12:48:21 +02:00
Bram Matthys
7fb0fa1620
- Disable sending of UHNAMES when HTM (High Traffic Mode) is ON,
...
suggested by driew (#3900 ).
2012-10-06 11:57:55 +02:00
Bram Matthys
a292196590
- Remove old reference to networks/ directory from Windows installer
2012-08-17 13:10:15 +02:00
Bram Matthys
2429ad557b
- Added missing Mod_Header to m_sasl.c
2012-08-17 13:09:19 +02:00
Bram Matthys
74d519323f
a bigger scratch buffer makes me sleep at night ;)
2012-08-17 10:55:40 +02:00
Bram Matthys
b8a13305d3
- Show "Ping timeout: XYZ seconds" instead of just "Ping timeout".
...
Patch from darkex (#3960 ).
2012-08-17 10:52:40 +02:00
Bram Matthys
d57f3c63cc
Changes for #4008 patch.
2012-08-17 10:32:31 +02:00
Nathan Phillip Brink
14315463d1
Add optional oper::require-modes setting to the oper block. ( #4008 by katsklaw)
...
Any attempt to /OPER by someone who doesn't have one of the listed
usermodes is rejected. This can be used to restrict oper blocks to
registered nicks (+r) or secure clients (SSL, +z).
2011-07-13 22:36:04 -04:00
Bram Matthys
15667266ab
- Module coders: added HOOKTYPE_AWAY (sptr, away-reason).
2012-07-10 16:15:14 +02:00
Bram Matthys
8b8490feb7
- Win32 installer: Latest InnoSetup no longer supports Windows 95/98,
...
so update Minversion to make the .iss compile.
2012-06-24 16:07:14 +02:00
Bram Matthys
1f8ba91b69
- Win32 installer (SSL): Uncheck 'create certificate' checkbox when
...
server.cert.pem exists, and check it if the file doesn't exist.
You can still change the setting, just the default is correct now.
The code for this was already there but was not working correctly
causing users to go through the generation process upon each install.
2012-06-24 16:05:07 +02:00
Bram Matthys
3d8fd3f4be
- Changed numeric 307 (RPL_WHOISREGNICK) to 'is identified for this nick',
...
reported by fbi (#3399 ).
2012-05-07 17:14:03 +02:00
Bram Matthys
982803a6b8
- SASL now needs to be enabled explicitly by setting a set::sasl-server.
...
If this is not set, then SASL is off and not advertised.
If the specified server is not connected, then SASL is off as well.
This prevents unnecessary delay (and the inability for some clients to
get online) when SASL is not in use or when the SASL server is down.
2012-05-07 16:51:03 +02:00
Bram Matthys
4207b5e60f
- Fixed another SASL crash bug. Always use HookAddEx, not HookAdd!
...
Crash occured after the first quit of a user after a REHASH.
Reported by Dave (#4108 ).
2012-05-07 12:07:43 +02:00
Bram Matthys
d439c8906b
complete the previous patch (MLOCK).. mostly just bringing it up to date & code-style
2012-05-04 13:05:08 +02:00
William Pitcock
5360e2ffa5
- Add support for server-enforced mode locks (MLOCK).
...
This allows the IRCd to enforce MLOCKs that are set by services, which
eliminates clashes between users setting modes and services enforcing
it's mlock on channels. (#3055 )
2012-05-04 12:47:59 +02:00
Bram Matthys
9d6e386f97
- Fix bug caused by new I/O engine (both with and without USE_POLL):
...
queued data on the receive queue (eg: due to fake lag) was not processed
unless we got new data from the client.
Now, better document this. Also, avoid calling dbuf_put with 0 length.
2012-05-02 19:20:52 +02:00
Bram Matthys
3f3b8975e0
- Moved sendto_connectnotice, and thus the call to HOOKTYPE_LOCAL_CONNECT,
...
so it gets called after the broadcast of NICK to other servers.
2012-05-01 12:10:14 +02:00
Bram Matthys
aa206f667f
Update donators
2012-04-28 16:00:25 +02:00
William Pitcock
adcb462788
- If set::options::dont-resolve is enabled, then use only the IP information
...
from a WEBIRC message, reported by Ismat (#4103 ).
2012-04-09 10:54:17 +02:00
William Pitcock
3563c26a93
- Add support for account-notify client capability ( #4098 ). This capability
...
can be used to request passive notifications for accountname changes.
2012-04-09 10:48:51 +02:00
Bram Matthys
309dac4f2b
- Added 'away-notify' client capability, which informs the client of any AWAY state changes of users on the same channel. Patch from nenolod ( #4097 ).
2012-04-09 10:35:17 +02:00
Bram Matthys
3d728f5f2e
- Print out a warning when we can't write to a log file. When booting this
...
goes to the boot screen. When we are already booted it's sent to all
IRCOps with a limit of max. 1 message per 5 minutes.
- Refuse to boot when we can't write to any log file.
2012-04-05 21:47:15 +02:00
Bram Matthys
edcadc6c58
- Fix win32 installer: apparently it sometimes complained about not having
...
- the Visual C++ 2008 redistributable package installed when this was not true.
2012-03-30 20:02:32 +02:00
Bram Matthys
3ada59bc60
- Poll I/O engine: get_client_by_pollfd() may return -1 when there's a race
...
condition. Don't abort, instead just skip those clients.
This fixes a crash I had on /SQUIT.
2012-03-26 11:16:10 +02:00
Bram Matthys
46372dc475
- Split up PROTOCTL line, since with the addition of ESVID we exceeded
...
MAXPARA when using ZIP links.
This caused an odd charset warning upon link.
2012-03-26 11:08:19 +02:00
Bram Matthys
a8000c2efb
- Some more SASL fixes, and more...
2012-03-26 10:37:40 +02:00
Bram Matthys
04b68513f8
- Some more SASL fixes
2012-03-25 19:54:56 +02:00
Bram Matthys
40004ef1b3
- Tweak SASL code to conform to current coding style.
2012-03-25 12:32:41 +02:00
Bram Matthys
66b3a7fe6b
- Fix crash in AUTHENTICATE (SASL commit from an hour or so ago).
2012-03-25 12:30:51 +02:00
Bram Matthys
e88b6477bd
Some really minor SASL tweaks
2012-03-25 10:24:40 +02:00
Bram Matthys
61610fe763
- Added support for SASL, patch from nenolod ( #4079 ).
2012-03-25 10:15:28 +02:00