Commit graph

449 commits

Author SHA1 Message Date
Jilles Tjoelker
2a073ca2ed Put back conditionally netwide ssld error snote. 2008-12-03 00:55:58 +01:00
Valeriy Yatsko
d0f4d745c6 Branch merge. 2008-12-03 02:50:01 +03:00
Valeriy Yatsko
3202e24921 Copied libratbox and related stuff from shadowircd upstream. 2008-12-03 02:49:39 +03:00
Jilles Tjoelker
d4db3063c7 Specify RTLD_LOCAL explicitly.
As in atheme-services, I guess some versions of
MacOS X need this.
2008-12-03 00:39:07 +01:00
Jilles Tjoelker
e33e589cbf Split cidr_bitlen into cidr_ipv4_bitlen and cidr_ipv6_bitlen.
Taken from ircd-ratbox 3 via shadowircd.
2008-11-30 13:31:59 +01:00
Jilles Tjoelker
54e3b7658f Remove unnecessary initialization that violates const. 2008-11-27 22:50:01 +01:00
Jilles Tjoelker
5c16ab05a0 Put back accidentally removed word. 2008-11-26 21:38:49 +01:00
Jilles Tjoelker
e07de82c26 Make the notices reporting auth{} privs a bit more serious-looking,
as in ratbox3.
2008-11-19 22:45:13 +01:00
Aaron Sethman
679ccbe5ef make is_cti/is_sti collect times connected in unsigned long long instead of time_t as well..on 32bit boxes that is going to wrap pretty quickly
committer: Valeriy Yatsko <dwr@it-penza.org>
2008-11-16 10:04:09 +03:00
Jilles Tjoelker
b0c41d32b1 Only require DNSBL replies to be in 127.0.0.0/8 instead of /24. 2008-11-15 16:17:16 +01:00
Jilles Tjoelker
db3efb7ac2 Allow the resolver to process longer hostnames,
for the benefit of some DNSBLs like the "TorDNSEL service".
2008-11-15 16:13:39 +01:00
Jilles Tjoelker
ffe4e4ae65 Add WHOX to 005 so we can see if much breaks. 2008-11-09 00:27:15 +01:00
Jilles Tjoelker
48957a4951 Add ircu-like /who format options.
Use  /quote help who  for details.
The format code "o" (oplevel) is not documented,
but implemented showing dummy information (999 for
chanop, n/a otherwise).
2008-11-09 00:12:56 +01:00
Jilles Tjoelker
e0c1f4ecab Show spambot notices for joins, not for parts.
Parts still decrement the counter for showing notices.
This shows more channels in the notices.
2008-11-08 17:22:41 +01:00
Jilles Tjoelker
9641f15652 Add the IP address to userlog, as in ratbox3. 2008-10-31 10:57:51 +01:00
Jilles Tjoelker
d61a1c7e13 Allow clearing general::kline_reason via a rehash. 2008-09-17 00:21:00 +02:00
Jilles Tjoelker
10847f65d3 Remove old oper privilege flags. 2008-09-09 21:51:26 +02:00
Jilles Tjoelker
b159441429 Add need_ssl to auth{} and operator{}.
Specifying need_ssl on auth{} denies the connection if
it is not SSL/TLS, much like need_ident or need_sasl.
Specifying need_ssl on operator{} refuses opering with
ERR_NOOPERHOST if the connection is not SSL/TLS.
from ircd-ratbox
2008-09-07 01:18:58 +02:00
Jilles Tjoelker
c2f73e5dbc Use rb_snprintf() in various places. 2008-09-06 01:00:20 +02:00
Valeriy Yatsko
41d8802e84 We don't want to leave the isupport name in the extension memory space on changing it - fixed a bug (tnx Artem@IrcNet(RU)) 2008-08-31 03:57:27 +04:00
William Pitcock
5d47bdca0f Make change_isupport() return the old value!!! 2008-08-29 15:36:41 -05:00
William Pitcock
474b0d3515 Add change_isupport() to change the value of an ISUPPORT token. 2008-08-29 15:27:34 -05:00
William Pitcock
86b6be08eb Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-08-29 14:48:06 -05:00
Stephen Bennett
12f4addbed If auth_user and server password were given and not used, use auth_user as an account name in the nickserv identify command 2008-08-29 14:45:30 -05:00
Jilles Tjoelker
d7dc7ae6c1 Remove some dead code.
found using llvm static analyzer
2008-08-29 02:53:52 +02:00
Jilles Tjoelker
ab2b9e23cc Fix a memory leak.
found using llvm static analyzer
2008-08-29 01:58:10 +02:00
Jilles Tjoelker
d60a42a27f Fix comment, getsockname() can fail legitimately.
from ircd-ratbox r25967 (jilles)
2008-08-28 01:06:19 +02:00
Jilles Tjoelker
9692f954c6 Don't try to add a closed connection.
ircd-ratbox r25965 (jilles)
2008-08-28 01:05:41 +02:00
Jilles Tjoelker
3540120ad5 Fix ident for ssl connections. 2008-08-28 00:49:04 +02:00
Jilles Tjoelker
83dfad0e75 Clear privset on deoper. 2008-08-25 18:24:24 +02:00
Jilles Tjoelker
7d5acab766 Fix crash if there is no privset= in an operator{}. 2008-08-18 00:55:12 +02:00
Jilles Tjoelker
bdd296d5b9 Use C locale for the compilation date. 2008-08-17 22:55:57 +02:00
William Pitcock
ef24271618 Make a reference to privset in Client.localClient. 2008-08-17 08:23:40 -05:00
William Pitcock
598b4cf10c privilegeset_ref(): return the privilegeset 2008-08-17 08:22:56 -05:00
William Pitcock
49b0375d62 Make use of the new default privset!! 2008-08-17 08:08:23 -05:00
William Pitcock
39a68b5376 ircd initialization: add a "default" privset with no privs. 2008-08-17 08:06:28 -05:00
William Pitcock
5c68d54336 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-08-17 07:53:32 -05:00
William Pitcock
e62b8b4a53 update oper line 2008-08-17 07:53:29 -05:00
Jilles Tjoelker
8c59a8403b Add 328 numeric (ChanServ channel URL) to the header files. 2008-08-17 14:49:01 +02:00
William Pitcock
76de88805d same bug 2008-08-17 07:47:06 -05:00
William Pitcock
065f67db89 fix another stupid bug, gah 2008-08-17 07:46:18 -05:00
William Pitcock
f80958276f Make sure extended privilege sets are added to the registry. 2008-08-17 07:44:46 -05:00
William Pitcock
3d8f7aa7b4 Allow : to be in 'string' values. 2008-08-17 07:41:52 -05:00
William Pitcock
22c3b270ca Initial work on getting privsets working. 2008-08-17 07:40:27 -05:00
William Pitcock
f860687514 Add config magic for privset{} parsing. 2008-08-17 07:10:23 -05:00
William Pitcock
353f862553 Add privilegeset_extend(). 2008-08-17 06:35:49 -05:00
William Pitcock
9c3f080b99 Add basic PrivilegeSet API. 2008-08-17 06:27:59 -05:00
Valery V Yatsko
b1daa815bd fixed warnings on src/ircd.c compilation 2008-08-17 09:33:05 +04:00
Valery V Yatsko
ec86417cee ircd-ratbox -> charybdis 2008-08-16 22:38:13 +04:00
Valery V Yatsko
e1db84d87d seed random not even every 300 seconds, but on startup also 2008-08-16 22:30:28 +04:00