DukePyrolator
4b5ce8a972
irc2sql: removed the currentusers field from the chan table, keeping it updated on each join/part eats too many ressources
2014-03-09 04:55:35 +01:00
Adam
220e278213
Open database files using std::ios_base::binary in db_flatfile, which Windows can require
2014-03-05 20:23:44 -05:00
Adam
09bec79b47
Fix 2 crashes from removing the permanent channel mode from channels which do not exist
2014-03-04 04:15:32 -05:00
Adam
55a5affcb8
Do not allow guest nicks to exceed nicklen, and use a default enforcer ident/host if none is provided
2014-03-04 04:15:32 -05:00
Adam
5969362425
When unserializing channels with persist, set their ts=now. If we are supposed to lower it later we will then.
2014-03-01 22:41:45 -05:00
Adam
3ceae33b16
Convert limit and key mlocks in db_old
2014-03-01 21:56:26 -05:00
Adam
5de4c1fc97
Set +x on plexus when vhosts are activated, fix desync from /hs off
2014-03-01 21:40:47 -05:00
Adam
fd109048dd
Make db_old load entrymsg
2014-03-01 21:20:32 -05:00
Adam
a0747516ce
Export interface for cs_entrymsg
2014-03-01 21:20:18 -05:00
Adam
605e1f2a03
Make chanserv/invite show who invited you
2014-03-01 21:12:27 -05:00
Adam
dc23c58869
Fix botserv help to show the correct fantasy characters
2014-03-01 21:11:58 -05:00
Adam
b7e646ec83
Allow opers with chanserv/administration to use fantasy, even if they don't have the access for it
2014-03-01 20:02:17 -05:00
Adam
4d54358745
When unserializating channels and persist is set, only assign chanserv if the perm channel mode doesnt exist
2014-03-01 19:59:40 -05:00
Adam
ed0882ec04
Do not enforce mlock when enforcing mlock
2014-03-01 18:39:10 -05:00
Adam
526c4e4659
Check modes after applying mlocks in db_old
2014-03-01 18:38:14 -05:00
Adam
b70f72bf2b
Do not allow changing the email of unconfirmed accounts
2014-03-01 04:31:52 -05:00
Adam
049760cc7e
Allow svsjoin/svspart on yourself
2014-02-28 00:30:35 -05:00
Adam
e2ecec31b5
Hybrid does not let us add resvs as a server, but the core expects to be able to qline bot nicks before introducing the bots as a way to prevent collisions, so try harder to find a valid bot to send resvs on startup
2014-02-27 23:21:50 -05:00
Adam
fee016bb84
Handle nick collisions somewhat instead of blindly overwriting the nicks
...
in memory, which does weird things.
For fun different ircds implement this differently (Unreal compares
timestamps, TS6 compares timestamps and user username/host), and whether
or not we get a kill for our user also varies, so just kill everyone.
This can't really happen anyway with properly set qlines, only if
services haven't yet set the qlines, or possibly in a bot add/nick
user introduce race, or with enforcers, which not many ircds require.
2014-02-27 22:42:54 -05:00
Adam
d24fb03917
Allow registration=mail forceemail=false to work, and simply give fully registered accounts to people who do not provide an email to nickserv/register
2014-02-27 04:49:28 -05:00
Adam
5adc8bfefc
Do not take modes from users in channels with secureops off if we are always lowering channels timestamps to their creations
2014-02-27 04:48:48 -05:00
Adam
96202ae545
Log successful SASL auths
2014-02-24 22:23:12 -05:00
Adam
1dfdf36fc3
Fix m_ssl_gnutls to send its cert. Most of this is from Attila.
2014-02-24 00:06:38 -05:00
Robby-
212abeb986
webcpanel: Update copyright year.
...
ns_cert: Bold code 2 -> 002.
2014-02-23 23:42:43 +01:00
Adam
e836be489e
Store a cert->account map and use it for SASL EXTERNAL and certfp auth
2014-02-22 17:46:00 -05:00
Attila Molnar
bb1b015103
Make m_ssl_gnutls work with at least GnuTLS v2.8
2014-02-22 16:59:10 +01:00
Adam
e2bd08fbff
Add some missing serial updates in os_dns
2014-02-21 20:50:23 -05:00
Daniel Vassdal
b6935e706c
enc_bcrypt.cpp: Get rid of the libxcrypt dependency by including code from libxcrypt, and move enc_bcrypt out of extras
2014-02-20 11:42:20 -08:00
Adam
109d8f431f
Do not import forbids with wildcards in their names, how 1.8 treats wildcaded forbids depends on the IRCd
2014-02-18 13:04:16 -05:00
Adam
1edb7e776b
Merge pull request #54 from attilamolnar/2.0+webcpanelfix
...
Don't create zero length DataBlocks in BinarySocket::Write()
2014-02-18 12:59:37 -05:00
Adam
928e2e1b7c
Fix loading noexpire channels in db_old
2014-02-18 12:57:31 -05:00
Adam
0db81ca46a
Merge pull request #52 from attilamolnar/2.0+gnutls
...
Add support for SSL connections powered by GnuTLS
2014-02-17 22:21:08 -05:00
Attila Molnar
5beea4eb7e
Fix TemplateFileServer writing empty messages resulting in zero length DataBlocks being created and later passed to SocketIO::Send()
...
Found while testing m_ssl_gnutls, fix suggested by @Adam-
2014-02-18 03:27:12 +01:00
Adam
80588fba81
Fix os_ignore to work correctly with SQL
2014-02-17 19:43:19 -05:00
Adam
ef7dc94f88
Move most of the implementation details out of os_forbid.h, fixes crashing if a module adding a forbid is unloaded without removing the forbid
2014-02-17 19:39:25 -05:00
Adam
baff417652
Move encryption.h to include/modules
2014-02-17 13:53:04 -05:00
Adam
7074944810
Fix not applying ipv[46]_cidr to connecting clients in os_session, #1573
2014-02-17 13:39:49 -05:00
Attila Molnar
1c39d25cca
Add m_ssl_gnutls
2014-02-17 01:12:01 +01:00
Attila Molnar
9c0134ee2c
Rename m_ssl to m_ssl_openssl and update docs
2014-02-17 00:41:36 +01:00
Adam
959fee5937
Fix Windows build
2014-02-16 18:28:39 -05:00
Daniel Vassdal
ab1e0ebfb3
db_old.cpp: Correctly import forbidden nicks and chans
2014-02-16 12:56:27 -08:00
Daniel Vassdal
a71d0f6757
enc_bcrypt: Add module
2014-02-16 11:07:36 -08:00
Daniel Vassdal
c0ce71e55a
m_sasl_dh-blowfish: Add module
2014-02-14 15:12:25 -08:00
Daniel Vassdal
0eeb0caf08
m_sasl_dh-aes: Add module
2014-02-14 15:12:25 -08:00
Daniel Vassdal
b13bded620
sasl.h, m_sasl.cpp: Move IdentifyRequest to the header
2014-02-14 15:03:42 -08:00
Daniel Vassdal
3c8009b495
sasl.h, m_sasl.cpp: Add RemoveSession(), DeleteSessions(), and have active sessions closed when a Mechanism is unloaded
2014-02-14 13:05:01 -08:00
Adam
ca85df2d74
Don't convert XOP access entries to levels in db_old
2014-02-14 11:10:20 -05:00
Adam
f428d61045
Use better command access checking in webpanel for operserv/akill
2014-02-13 19:42:02 -05:00
Adam
269c2786e9
Add SASL EXTERNAL support. Thanks to ShutterQuick for fixing and testing.
2014-02-12 14:39:41 -05:00
Adam
8c8e6d464a
Make initial registration notices with mail less repetitive
2014-02-11 18:08:09 -05:00