10664 Commits

Author SHA1 Message Date
attilamolnar
d689813626 Fix 2 clang warnings reported by @SaberUK 2012-06-12 22:49:29 -07:00
Robby-
acb0d25d2b Snomask qQ: Swap quit message and IP for easier parsing by bots or scripts 2012-06-12 22:49:28 -07:00
Peter Powell
2967198299 README changes. 2012-06-12 22:49:28 -07:00
attilamolnar
79fd90ebe0 Fix build on Debian GNU/Hurd platforms, thanks to Jonathan Wiltshire <jmw@debian.org> for the patch
Fixes issue #98 reported by @guikcd
2012-06-12 22:49:28 -07:00
Robby-
675581cfc7 m_check: Include IP and gecos in host/IP-mask lookup results 2012-06-12 22:49:28 -07:00
attilamolnar
70ad57e2fd m_spanningtree Only add a resolved server IP as valid if it still exists when the lookup completes 2012-06-11 15:08:10 +02:00
attilamolnar
bd2236348a m_spanningtree Move SecurityIPResolver code to resolvers.cpp from resolvers.h 2012-06-11 15:05:07 +02:00
attilamolnar
00b67a612e m_spanningtree Disallow server passwords which contain a space char and those which begin with a colon
Update links.conf.example
2012-06-11 15:04:29 +02:00
attilamolnar
31ec715931 m_spanningtree Notify opers upon ecountering a configuration error when rehashing 2012-06-11 15:02:10 +02:00
Robin Burchell
3af9c3f895 Merge pull request #179 from attilamolnar/insp20+desyncfix
[2.0] Fix desyncs caused by m_autoop and broken spanningtree routing logic
2012-06-01 01:07:36 -07:00
Robin Burchell
eb591031a2 Merge pull request #182 from attilamolnar/insp20+gnutlsfix
[2.0] Fix crash in m_ssl_gnutls destructor when dh_params wasn't inited
2012-06-01 01:06:44 -07:00
attilamolnar
9289021a51 m_ssl_gnutls Only generate DH params when dh_params is inited 2012-06-01 04:35:52 +02:00
attilamolnar
926c3f82b9 m_ssl_gnutls Fix crash caused by calling gnutls_dh_params_deinit() when dh_params wasn't inited
Fixes #181 reported by @BlacklightShining
2012-06-01 04:03:46 +02:00
attilamolnar
0428951093 m_spanningtree Fix desync issue #37 reported by @Joah - part 2 2012-05-31 20:09:24 +02:00
Robin Burchell
90875afded Merge pull request #175 from attilamolnar/insp20+chopfix
[2.0] Fix last character being chopped off in included (exec)files
2012-05-30 02:55:45 -07:00
Robin Burchell
a66b5a7b8f Merge pull request #173 from Robby-/insp20-moddesc
[2.0] Module description updates
2012-05-30 02:54:45 -07:00
Robin Burchell
cb9740f151 Merge pull request #166 from Robby-/insp20-cfgcorrections
[2.0] Add more documentation about logging, aswell as make text, tab and space corrections to the configs.
2012-05-30 02:46:30 -07:00
Robin Burchell
3699b0fb21 Merge pull request #159 from gholms/md5-memset-20
[2.0] md5: zero the whole MD5Context, not only part of it
2012-05-30 02:44:18 -07:00
Robin Burchell
c5beed4a5f Merge pull request #163 from attilamolnar/insp20+silentjoinfix
[2.0] Don't send a MODE on join when the join was silenced by a module
2012-05-30 02:43:15 -07:00
Robby-
804c02174f Module description updates 2012-05-30 03:46:41 +02:00
attilamolnar
1debdd986a m_autoop Fix desync issue #37 reported by @Joah - part 1 2012-05-30 03:07:22 +02:00
attilamolnar
9854c93462 Fix last character being chopped off in included (exec)files (e.g. motd and rules) 2012-05-30 00:43:45 +02:00
Robby-
8c7aeaf595 Add more documentation about logging, aswell as make text, tab and space corrections to the configs 2012-05-30 00:29:06 +02:00
attilamolnar
7d41ace956 Fix printf-style WriteAllExcept not obeying serversource parameter 2012-05-29 15:13:55 +02:00
attilamolnar
0409230be0 Silence the MODE too if a join was silenced by a module not just the JOIN
This leaked information when a module gave privs to the joining user in OnUserPreJoin
Fix CycleHostsFromUser having the opposite effect
2012-05-29 15:13:42 +02:00
Robin Burchell
7ca4e7f045 Merge pull request #156 from attilamolnar/insp20+statszfix
[2.0] Improve bandwidth usage statistics (/STATS z)
2012-05-29 01:21:00 -07:00
Garrett Holmstrom
6d7e706194 [2.0] md5: zero the whole MD5Context, not only part 2012-05-28 13:22:32 -07:00
attilamolnar
ee947c5aa6 Use socketengine functions for sending and receiving data instead of plain send() and recv() so /STATS z displays correct bandwidth usage 2012-05-28 22:10:28 +02:00
Robin Burchell
52458f91f1 Merge pull request #152 from attilamolnar/insp20+showwhoisfix
[2.0] m_showwhois Fix potential crash in WHOISNOTICE handler
2012-05-28 04:23:57 -07:00
Robin Burchell
20a91b6bc4 Merge pull request #150 from attilamolnar/insp20+incrementuidfix
[2.0] Fix generating invalid UIDs after current_uid is 000Z99999
2012-05-28 04:23:29 -07:00
attilamolnar
cf4b99e9c6 m_showwhois Fix potential crash in WHOISNOTICE handler 2012-05-28 01:28:36 +02:00
attilamolnar
e3e7cb89e1 Add testsuite tests for UID generation 2012-05-27 23:30:02 +02:00
attilamolnar
ae6e056a01 While at it, use a constant parameter for calling IncrementUID in GetUID
Get rid of curindex, use a bool to determine if we need to initialize
2012-05-27 23:08:14 +02:00
attilamolnar
1a339033f3 Fix generating invalid UIDs after current_uid is 000Z99999 (next UID became 000[AAAAA) 2012-05-27 23:05:12 +02:00
Robin Burchell
a441c1b1be Merge pull request #142 from attilamolnar/insp20+sestatsfix
[2.0] Count the actual number of sent/received bytes in SocketEngine statistics
2012-05-27 06:09:36 -07:00
Robin Burchell
5d172e0dfc Merge pull request #145 from SaberUK/insp20-typo-fixes
[2.0] Typo fixes.
2012-05-27 06:07:55 -07:00
Peter Powell
a0d37b0551 A few more typo fixes. 2012-05-25 20:13:53 +01:00
Peter Powell
7050100443 Debian typo fixes. 2012-05-25 19:40:38 +01:00
Adam
7d05c78517 Fixed m_mlock 2012-05-23 18:56:55 -04:00
attilamolnar
43c9637aec Count the actual number of sent/received bytes in SocketEngine instead of the buffer size passed to the send/receive functions 2012-05-23 18:48:43 +02:00
Robin Burchell
13f0d6735f Merge pull request #139 from SaberUK/insp20-unistd-windows
[2.0] Fix compile error caused by unistd.h not existing on Windows.
2012-05-23 07:56:37 -07:00
Peter Powell
cfbb5630c5 Fix compile error caused by unistd.h not existing on Windows. 2012-05-23 13:15:22 +01:00
Robin Burchell
196b9a9fb6 Merge pull request #131 from attilamolnar/insp20+hideroperwhofix
[2.0] Fix issue #95 reported by @Joah
2012-05-23 03:18:35 -07:00
Robin Burchell
d2804129b7 Merge pull request #136 from nenolod/bugfix/epoll-nitpicks-2.0
[2.0] epoll: make sure EPOLLET flag does not get clobbered
2012-05-23 03:17:37 -07:00
William Pitcock
5245a9d7c4 epoll: make sure EPOLLET flag does not get clobbered
EPOLLET is the highest bit, so storing EPOLLET in a signed value leads to
undefined behaviour.
2012-05-20 07:41:08 -05:00
attilamolnar
983668abc9 Fix issue #95 reported by @Joah 2012-05-19 18:46:58 +02:00
Robin Burchell
2916ae7c92 Merge pull request #113 from nenolod/feature/mlock
modules/m_mlock: new module implementing server-side MLOCK.
2012-05-16 13:13:09 -07:00
William Pitcock
1b909065b0 mlock: fix style nitpicks 2012-05-16 12:34:23 -05:00
Chin Lee
c745072bec Check whether it is empty parameter before checking its value 2012-05-16 14:25:22 +02:00
Chin Lee
3ae7efa14f Fix issue #120 reported by @swilde 2012-05-16 14:25:21 +02:00